Restore from a dead machine.

From: User JOHN <john(at)akadine(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Restore from a dead machine.
Date: 2001-05-16 19:51:23
Message-ID: Pine.BSF.4.21.0105161535410.18217-100000@db.akadine.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc


Hello there,
I have a FreeBSD machine that died earlier this week and i have been
attempting to restore it (or rather it's contents). Postgres has caused
somewhat of a problem in this area.

I was running 7.0.1 and decided to upgrade to 7.0.3 since i have to
reinstall it anyways. The install has gone fine and i can restore the old
database back into the new postgres install without any problems.

But when i try to run any of the perl scripts designed for the database
I'm getting the following error:

Can't locate Pg.pm in @INC (@INC contains: /usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005 .) at ./top25.pl line 2.

Line 2 of the specific program reads: Use Pg;

Nothing seemed out of the ordinary during the config/make/install process,
and the only thing i did non standard was to run the config as:
./configure --with-perl --with-odbc.

So can anyone tell me why my perl modules don't like me? Or more
importantly how to get them to play friendly.

If it makes a difference i have a backup of the old (7.0.1) install and a
bunch of other directories under usr. I can locate the Pg.pm and DBI.pm
in what would have been /usr/local/lib/perl5/site_perl/5.005/i386-freebsd.

Thanks in advance.
And apologies for typos / sticky keys.

.jtp
John T Porvaznik
Person type person
Akadine Press Inc.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joel Burton 2001-05-16 20:03:50 Re: sql question
Previous Message John Aughey 2001-05-16 18:59:54 Unusual slowdown using subselects

Browse pgsql-jdbc by date

  From Date Subject
Next Message Alex Howansky 2001-05-16 20:43:32 Re: Restore from a dead machine.
Previous Message Bruce Momjian 2001-05-16 17:46:14 Re: DatabaseMetaData.getIndexInfo() added