From: Rich S. <rsh...@ap...> - 2007-01-24 23:58:10
|
On Wed, 24 Jan 2007, Rich Shepard wrote: > I now have the latest release (1.49) of DBD::Pg installed. Postgres is > idling away in the background. But, when I try to log into SL I get a > server error. > lrwxrwxrwx 1 root root 12 2006-07-06 17:19 /usr/lib/libpq.so -> > libpq.so.4.1* > lrwxrwxrwx 1 root root 12 2006-01-27 10:22 /usr/lib/libpq.so.3 -> > libpq.so.3.1* > -rwxr-xr-x 1 root root 110586 2006-01-26 09:49 /usr/lib/libpq.so.3.1* > lrwxrwxrwx 1 root root 12 2006-07-06 17:19 /usr/lib/libpq.so.4 -> > libpq.so.4.1* > -rwxr-xr-x 1 root root 111532 2006-05-24 15:06 /usr/lib/libpq.so.4.1* More information that I hope helps someone to point me toward a fix for this problem: > Method 1: Find the .so module that perl uses (try locate Pg.so and ldd > that). /lib/libsafe.so.2 (0xb7f76000) linux-gate.so.1 => (0xffffe000) libpq.so.3 => /usr/lib/libpq.so.3 (0xb7f5f000) libc.so.6 => /lib/tls/libc.so.6 (0xb7e1a000) libdl.so.2 => /lib/tls/libdl.so.2 (0xb7e16000) libcrypt.so.1 => /lib/tls/libcrypt.so.1 (0xb7de8000) libresolv.so.2 => /lib/tls/libresolv.so.2 (0xb7dd4000) libnsl.so.1 => /lib/tls/libnsl.so.1 (0xb7dbd000) /lib/ld-linux.so.2 (0x80000000) So it's finding all the libraries it wants, and it's using the older libpq.so. Interesting. I open a new firefox tab and open http://localhost/sql-ledger/login.pl. After entering my username and password and pressing [Enter] I get an internal server error: "The server encountered an internal error or misconfiguration and was unable to complete your request. "Please contact the server administrator, rsh...@ap... and inform them of the time the error occurred, and anything you might have done that may have caused the error. "More information about this error may be available in the server error log." The log file (/var/log/apache/error_log) shows: [Wed Jan 24 15:01:20 2007] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/sql-ledger/login.pl Also, I installed 2.6.23 over 2.6.22; VERSION reports 2.6.23. But, when I load login.pl it's the old version number that displays. I seem to be going in circles here. Rich -- Richard B. Shepard, Ph.D. | The Environmental Permitting Applied Ecosystem Services, Inc. | Accelerator(TM) <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863 |