IIRC, connecting 'locally' only opens  unix sockets, not 
tcp sockets.

Browse through the postgress configuration file
(mine's in /usr/local/pgsql/postgres.conf I think- don't have it
up to check it).

In this file you will see options for tcp vs unix connections.
Select the appropriate tcp options and restart postgres.

Postgress should start up a listening service on port 5432 (default)
Use netstat -an to check.

Regards,
jpb
===





> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Brooks, Brian
> Sent: Thursday, May 16, 2002 4:58 PM
> To: '[EMAIL PROTECTED]'
> Subject: [freeipdb-users] Re: Startup issues
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm receiving the same error message.. Can some please help??
> 
>  
> 
> - -----Original Message-----
> From: Moody Adam [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, May 16, 2002 8:43 AM
> To: '[EMAIL PROTECTED]'
> Subject: [freeipdb-users] Startup issues
> 
> 
> Hi
> 
> I'm trying to setup FreeIPdb on a red hat box. I've followed the
> Install directions to a tea I believe (numerous times). All
> requirements are met but I believe there is some issue getting
> FreeIPDB to connect to the postgreSQL daemon. I've been hunting
> through any snippets found on google and nothing has turned up. 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?
> 
> When browsing to any of the .cgi scripts, a premature end of script
> is reported by Apache. The config.pm file I believe is setup
> correctly, however I can't find documentation talking about the
> password to use. I've tried several different settings in config.pm:
> * "freeipdb" as username with "freeipdb" as password
> * "freeipdb" as username with "" as password
> * "freeipdb" as username with "freeipdb" as password, and assigning a
> password to this user in postgresql admin through webmin.
> 
> All .cgi files report back with the same error :"unexpected end of
> script headers". I can browse to the text files as expected with no
> issue.
> 
> I've read through the documentation I can find to no avail, and
> wonder if anyone has any other ideas?
> 
> Cheers
> Adam Moody
> 
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
> 
> iQA/AwUBPOPJDejGA5xNXPZvEQIvtgCgservNB5zyE5hpU23hRlkCnZjHRQAoOAQ
> KjVac3ky8hRAZBKIc6wXpFjo
> =wMIK
> -----END PGP SIGNATURE-----

Reply via email to