|
From: David R. <dr...@ri...> - 2001-01-31 14:44:44
|
SOLVED IT! (yes, this is exciting, to me, anyway). The problem has to do with the auto/DBD/Pg permissions. I missed that directory. It's all working now. I knew I was overlooking something. I noticed this folder after doing another reinstall of DBD::Pg. The default permissions don't allow nobody.whatever to access the correct modules, yet the DBI was ok, hence, the weird error. -----Original Message----- From: David Rippel [mailto:dr...@ri...] Sent: Wednesday, January 31, 2001 9:27 AM To: 'sql...@li...' Subject: RE: [SQL-Ledger-users] Problems with logging in to sql-ledger I moved the modules from site-perl to just the i386-linux and set the permissions to a=r for all modules, a=rx for all directories related to the DBD/DBI modules, and still, to no avail, I get the same error. I even tried adding a -I line to specifically direct the login.cgi to the proper directories and it still fails. This is really driving me INSANE! I have no idea what the problem is at this point, I'm sure it's something really stupid that I am missing. I'm using Slackware 7.1, maybe there's some specific issues there? I'm almost tempted to reinstall Perl. I'd try this with ActiveState ActivePerl, but I cannot find any PPM support for DBD::Pg. I've been stuck on this for 3 days now! Is there any way to increase debugging output from what's shown below? To quote the original error message from Apache's error_log: > > install_driver(Pg) failed: Can't locate loadable object for module DBD::Pg > > in @INC (@INC contains: utils /usr/lib/perl5/i386-linux /usr/lib/perl5 > > /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at (eval > 1) > > line 3 > > Compilation failed in require at (eval 1) line 3. > > Perhaps a module that DBD::Pg requires hasn't been fully installed > > at /usr/local/apache/htdocs/sql-ledger/login.cgi line 66 > > [Mon Jan 29 09:19:20 2001] [error] [client 192.168.3.179] Premature end of > > script headers: /usr/local/apache/htdocs/sql-ledger/login.cgi -----Original Message----- From: ufo...@ea... [mailto:ufo...@ea...] Sent: Tuesday, January 30, 2001 8:32 PM To: 'sql...@li...' Subject: RE: [SQL-Ledger-users] Problems with logging in to sql-ledger If you poke around in your perl dir, you'll see a a "1386-linux" and a "site-perl/i386-linux". Be sure that you have the modules in the first one. What I did after I found the problem was jsut to copy the modules to that dir. I think this also is affecting Ian. So Ian, please check this also. Wes |