phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] Connection postgres error


From: Guillaume Courtois
Subject: Re: [Phpgroupware-users] Connection postgres error
Date: Tue, 19 Nov 2002 10:53:44 +0000

Hum, seems tricky ...




Did you test your connection locally ? pgsql works ? Maybe a test page in php 
with
just a pgsql connection would help debugging ? If you want, I can provide you
something like that ...




tof (address@hidden) wrote*:


>


>Hi,


>


>I 've always my msg :


>Database error: Link-ID == false, pconnect failed


>PostgreSQL Error: 0 ()


>


>Session halted.


>


>My config :


>


>/etc/postgresql/pg_hba.conf


>local    all                                                               
>ident


>sameuser


>host     all                       127.0.0.1    255.0.0.0      ident sameuser


>host     phpgroupware    127.0.0.1    255.0.0.0      password


>host    all                        0.0.0.0        0.0.0.0          password


>


>/etc/postgresql/postgresql.conf


>debug_level = 0


>log_connections = 0


>log_pid = on


>log_timestamp = on


>syslog = 2


>silent_mode = off


>syslog_facility = off


>trace_notify = off


>max_connections = 64


>shared_buffers = 128


>tcpip_socket = 1


>


>/etc/postgresql/postmaster.conf


>POSTMASTER_OPTIONS="-i"


>


>I've been created a phpgroupware user with password and the phpgroupware


>database with webmin.


>So now pgsql start fine with the -i option.


>Can you see something


>


>Thank you, sorry because i'm not competent.


>


>daztof.


>


>----- Original Message -----


>From: "Guillaume Courtois" <address@hidden>


>To: <address@hidden>


>Sent: Tuesday, November 19, 2002 11:18 AM


>Subject: Re: [Phpgroupware-users] Connection postgres error


>


>


>> >actually the -i specifically for accepting connects over localhost.


>>


>>


>>


>>


>> To be sure, I checked the doc. The -i option is for accepting TCP/IP


>connections,


>> and not just Unix domain sockets ones. I believe this works for both 
>> localhost


>and


>> other interfaces connections, no ?


>>


>>


>>


>> _______________________________________________


>> Phpgroupware-users mailing list


>> address@hidden


>> http://mail.gnu.org/mailman/listinfo/phpgroupware-users


>>


>>


>


>


>


>


>_______________________________________________


>Phpgroupware-users mailing list


>address@hidden


>http://mail.gnu.org/mailman/listinfo/phpgroupware-users


>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]