Hi All

Thanks for everyones input so far. I'm still having some issues:
Thanks for your reply & sorry to hassle you. A little progress perhaps...

I threw tcp_socket = true option into postgresql.conf, and this did the same
thing as -i according to RedHat website. The port is listening now, but
there's more issues, perl errors:
Running 
perl -w -c admin.cgi yields no syntax errors.
However, upon execution from command line:
perl admin.cgi
....(html)...
Use of uninitialized value in read at admin.cgi line 44.
Use of uninitialized value in pattern match (m//) at admin.cgi line 55.
Use of uninitialized value in pattern match (m//) at admin.cgi line 72.
....(html)...

Which is:
line 44: read(STDIN,$buffer,$ENV{'CONTENT_LENGTH'});

Apache error:
        mod_mime: analyze_ct: cannot get media type from 'cgi-script'  ( but
this maybe unrelated)
        [Fri May 17 14:37:57 2002] [error] (2)No such file or directory:
exec of /var/ipdb/admin.cgi     failed  
        [Fri May 17 14:37:57 2002] [error] [client 10.253.122.11] Premature
end of script headers:  /var/ipdb/admin.cgi

I think the errors above correspond to the equivalent from the command line.
Any ideas?

Thanks
Adam

-----Original Message-----
From: Andrew Fort [mailto:[EMAIL PROTECTED]]
Sent: 17 May 2002 01:56
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [freeipdb-users] Startup issues


Adam Moody writes,

> The only similar issue with the same error was 
> on this list where someone didn't put the "-i" option into 
> the startup of the postgtreSQL daemon. The server is 
> connecting locally and does not need the -i option for 
> postgresql, unless I'm mistaken?

RedHat ships postgreSQL to listen on local unix sockets, not bsd
networking (TCP) sockets (at least, this is how I found my rh7.2
installation configured out of the box).

The server is connecting locally, but via TCP, not "local" sockets; on
RH, add -i so the line including 'postmaster start' in
/etc/rc.d/init.d/postgresql and restart the daemon with /sbin/service

-amf


************************************************************************
The contents of this message and any attachments are confidential and
are intended solely for the attention and use of the addressee only.
Information contained in this message may be subject to legal, 
professional or other privilege or may otherwise be protected by other
legal rules. This message should not be copied or forwarded to any other
person without the express permission of the sender. If you are not the
intended recipient you are not authorised to disclose, copy, distribute
or retain this message or any part of it.

If you have received this message in error, please notify the sender by
telephone (+44-20-7002-4000) and destroy the original message.

We reserve the right to monitor all e-mail messages passing through our
network.
************************************************************************

Reply via email to