From: David R. <dr...@ri...> - 2001-01-29 14:25:39
|
I've got everything working up to this point, but when I go to my login.cgi and attempt to authenticate, here's what shows up in my error_log (from apache) 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 I've done a full make install for both DBI and DBD::Pg, and all the tests complete successfully. The paths for the postgres libs are in my global ldconfig. There is a valid user for the system and no errors are coming from the database end (in other words, I don't think it's getting that far). Any ideas? Thanks, David. |
From: Andre F. M. <and...@te...> - 2001-01-29 17:56:42
|
Hello, I am a newbie, but I struggled with similar problem. Well, your dbd:pg and dbi installations found "utils" at @inc include=20 path. Fine. But I guess that your problem is with directory and file=20 permissions to Apache. Try to set utils subdirectory, and its files, to user and group=20 nobody.nobody (or nobody.nogroup at some distributions) default Apache=20 user and group settings permissions. Also, check for executable and read write permission. Good luck. Andre Felipe Machado >>>>>>>>>>>>>>>>>> Mensagem anterior <<<<<<<<<<<<<<<<<< No dia 29/01/01, 12:21:14, David Rippel <dr...@ri...> escreveu o= =20 seguinte sobre o tema [SQL-Ledger-users] Problems with logging in to=20 sql-ledger: > I've got everything working up to this point, but when I go to my=20 login.cgi > and attempt to authenticate, here's what shows up in my error_log (fro= m > apache) > install_driver(Pg) failed: Can't locate loadable object for module=20 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 (ev= al=20 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 en= d=20 of > script headers: /usr/local/apache/htdocs/sql-ledger/login.cgi > I've done a full make install for both DBI and DBD::Pg, and all the te= sts > complete successfully. The paths for the postgres libs are in my globa= l > ldconfig. There is a valid user for the system and no errors are comin= g=20 from > the database end (in other words, I don't think it's getting that far)= .=20 Any > ideas? > Thanks, > David. |
From: Ian \(t. webguy\) <ia...@in...> - 2001-01-29 19:02:24
|
Hi. I've been having problems with a RedHat Install of the SQL-Ledger program. I've followed instructions that have been provided in the FAQ (There were some changes going from RH 7 back to 6--mainly which package to use), and I'm still coming up with HTTP 500 Errors. When I look in the apache log, it gives me an 'premature end of script headers' on line 63. I haven't touched any of the source code, so I'm going to take a random guess and say that it's in the install. I've looked in the users directory (line 63 looks for the /users/{username}.config file), and I have no files (which is probably the reason why it's spitting out 500's). What goes into the /users/ directory? Where is the code (which file) that writes to the /users/{username}.config file? What is suppossed to be in the file, and are there any quick and easy fixes around this? Thanks for your help in advance, Ian ---- Ian W., CNE, CNA, EMT-B. Webmaster, Internationalsportsagency.com A division of Remani International "Network Administration: It's a dirty job, but someone made me do it." |
From: Dieter S. <dsi...@sq...> - 2001-01-29 21:22:07
|
This is a permission problem. If your server runs as nobody.nogroup set it to drwx--x--x 2 nobody nogroup 1024 Jan 23 19:15 users/ Dieter Simader http://www.sql-ledger.org (780) 472-8161 DWS Systems Inc. Accounting Software Fax: 478-5281 =========== On a clear disk you can seek forever =========== On Mon, 29 Jan 2001, Ian (the webguy) wrote: > > Hi. > I've been having problems with a RedHat Install of the SQL-Ledger > program. I've followed instructions that have been provided in the FAQ > (There were some changes going from RH 7 back to 6--mainly which package to > use), and I'm still coming up with HTTP 500 Errors. When I look in the > apache log, it gives me an 'premature end of script headers' on line 63. > I haven't touched any of the source code, so I'm going to take a > random guess and say that it's in the install. I've looked in the users > directory (line 63 looks for the /users/{username}.config file), and I have > no files (which is probably the reason why it's spitting out 500's). What > goes into the /users/ directory? Where is the code (which file) that > writes to the /users/{username}.config file? What is suppossed to be in > the file, and are there any quick and easy fixes around this? > > > Thanks for your help in advance, > Ian > ---- > Ian W., CNE, CNA, EMT-B. > Webmaster, Internationalsportsagency.com > A division of Remani International > > "Network Administration: It's a dirty job, but someone made me do it." > > |
From: Ian <ia...@in...> - 2001-01-30 15:29:50
|
Ok, I've tried that... <snip a copy of ls -l> drwxr-xrwx 2 accounti accounti 1024 Jan 29 10:38 admin -rwxr-xr-x 1 1000 1000 34377 Nov 20 15:50 admin.cgi -rwxr-xr-x 1 1000 1000 28390 Oct 25 21:54 ap.cgi -rwxr-xr-x 1 1000 1000 26747 Oct 27 13:39 ar.cgi -rwxr-xr-x 1 1000 1000 9372 Oct 27 16:05 ca.cgi -rw-rw---- 1 1000 1000 993 Jan 22 18:09 copyright -rwxr-xr-x 1 1000 1000 15179 Jan 7 20:46 ct.cgi -rwxr-xr-x 1 1000 1000 14000 Oct 25 22:10 gl.cgi -rw-r--r-- 1 1000 1000 18240 Jan 9 1999 gnu.html -rwxr-xr-x 1 1000 1000 16761 Oct 25 22:35 ic.cgi -rwxr-xr-x 1 1000 1000 33392 Oct 25 23:27 ir.cgi -rwxr-xr-x 1 1000 1000 34021 Oct 25 23:57 is.cgi drwxrwxr-x 7 accounti accounti 1024 Jan 3 14:29 locale -rwxr-xr-x 1 1000 1000 8133 Jan 29 08:19 login.cgi -rwxr-xr-x 1 1000 1000 13809 Sep 10 17:27 rp.cgi -rw-r--r-- 1 1000 1000 809 Jun 21 2000 sql-ledger.gif drwxrwxr-x 3 accounti accounti 1024 Nov 20 22:14 templates drwx--x--x 2 nobody nobody 1024 Jan 29 16:46 users drwxr-xr-x 2 1000 1000 1024 Jul 24 2000 utils </snip> Ok, that's been done, now here's the relevant lines from the error_log file from apache. <snip> Can't locate users/ian.config in @INC (@INC contains: utils /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /home/httpd/html/sql-ledger/login.cgi line 63. </snip> Any Help? Ian -----Original Message----- From: sql...@li... [mailto:sql...@li...]On Behalf Of Dieter Simader Sent: Monday, January 29, 2001 4:23 PM To: sql...@li... Subject: Re: [SQL-Ledger-users] Problem in Line 63 of login.cgi This is a permission problem. If your server runs as nobody.nogroup set it to drwx--x--x 2 nobody nogroup 1024 Jan 23 19:15 users/ Dieter Simader http://www.sql-ledger.org (780) 472-8161 DWS Systems Inc. Accounting Software Fax: 478-5281 =========== On a clear disk you can seek forever =========== On Mon, 29 Jan 2001, Ian (the webguy) wrote: > > Hi. > I've been having problems with a RedHat Install of the SQL-Ledger > program. I've followed instructions that have been provided in the FAQ > (There were some changes going from RH 7 back to 6--mainly which package to > use), and I'm still coming up with HTTP 500 Errors. When I look in the > apache log, it gives me an 'premature end of script headers' on line 63. > I haven't touched any of the source code, so I'm going to take a > random guess and say that it's in the install. I've looked in the users > directory (line 63 looks for the /users/{username}.config file), and I have > no files (which is probably the reason why it's spitting out 500's). What > goes into the /users/ directory? Where is the code (which file) that > writes to the /users/{username}.config file? What is suppossed to be in > the file, and are there any quick and easy fixes around this? > > > Thanks for your help in advance, > Ian > ---- > Ian W., CNE, CNA, EMT-B. > Webmaster, Internationalsportsagency.com > A division of Remani International > > "Network Administration: It's a dirty job, but someone made me do it." > > |
From: <ufo...@ea...> - 2001-01-30 00:57:04
|
I had similar problem, and I believe it was because the perl modules were installed in the wrong dir. Good Luck, Wes >On Mon, 29 Jan 2001, David Rippel wrote: > I've got everything working up to this point, but when I go to my login.cgi > and attempt to authenticate, here's what shows up in my error_log (from > apache) > > > 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 > > > I've done a full make install for both DBI and DBD::Pg, and all the tests > complete successfully. The paths for the postgres libs are in my global > ldconfig. There is a valid user for the system and no errors are coming from > the database end (in other words, I don't think it's getting that far). Any > ideas? > > Thanks, > David. > > ________________________________________________________________________________ From a different solar system, many many galaxies away... |