L123 was working fine until a couple of days ago when I discovered that I
could not log in. No system upgrades or changes in the past couple of weeks
(other than firefox) so I've no idea why it broke. But, break it did.

  Looking at /var/log/httpd/error_log I saw a problem accessing DBD::Pg:

[Mon Dec 20 19:26:24 2010] [error] [client 127.0.0.1] install_driver(Pg)
failed: Can't load
'/usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi/auto/DBD/Pg/Pg.so'
for module DBD::Pg: libpq.so.5: cannot open shared object file: Permission
denied at /usr/lib/perl5/5.10.1/i486-linux-thread-multi/DynaLoader.pm line
200., referer: http://localhost/sql-ledger/login.pl
[Mon Dec 20 19:26:24 2010] [error] [client 127.0.0.1]  at (eval 10) line 3,
referer: http://localhost/sql-ledger/login.pl
[Mon Dec 20 19:26:24 2010] [error] [client 127.0.0.1] Compilation failed in
require at (eval 10) line 3., referer: http://localhost/sql-ledger/login.pl
[Mon Dec 20 19:26:24 2010] [error] [client 127.0.0.1] Perhaps a required
shared library or dll isn't installed where expected, referer:
http://localhost/sql-ledger/login.pl
[Mon Dec 20 19:26:24 2010] [error] [client 127.0.0.1]  at SL/User.pm line
103, referer: http://localhost/sql-ledger/login.pl
[Mon Dec 20 19:26:24 2010] [error] [client 127.0.0.1] Compilation failed in
require at /usr/local/sql-ledger/login.pl line 92., referer:
http://localhost/sql-ledger/login.pl
[Mon Dec 20 19:26:24 2010] [error] [client 127.0.0.1] Premature end of
script headers: login.pl, referer: http://localhost/sql-ledger/login.pl

  Thinking I had to upgrade DBD::Pg, I tried to do this via cpan. This
failed, too, although I never before had problems upgrading the module after
a distribution/perl upgrade. Today, I removed Pg.pm and tried to reinstall
the module using cpan. But, it still fails:

Test Summary Report
-------------------
t/01connect.t     (Wstat: 65280 Tests: 13 Failed: 0)
   Non-zero exit status: 255
   Parse errors: Bad plan.  You planned 15 tests but ran 13.
Files=15, Tests=1716, 15 wallclock secs ( 0.26 usr  0.03 sys +  1.18 cusr
0.11 csys =  1.58 CPU)
Result: FAIL
Failed 1/15 test programs. 0/1716 subtests failed.
make: *** [test_dynamic] Error 255
   TURNSTEP/DBD-Pg-2.17.2.tar.gz
   /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
   reports TURNSTEP/DBD-Pg-2.17.2.tar.gz
Running make install
   make test had returned bad status, won't install without force
Failed during this command:
  TURNSTEP/DBD-Pg-2.17.2.tar.gz                : make_test NO

   What do I need to do to successfully install DBD::Pg here so I can once
again access L123?

Rich
_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger

Reply via email to