[GENERAL] Unable to connect to PostgreSQL server : Could not get socket error status

2011-12-22 Thread Shankar Palaniappan
Hi, Unable to connect to PostgreSQL server : Could not get socket error status: No such file or directory in index.php on line 5 Can any one help me on this ? I am getting the following error when I try to connect from PHP with PostgreSQL server. Operating System is HP-UX and I was able to

Re: [GENERAL] Unable to connect to PostgreSQL server : Could not get socket error status

2011-12-22 Thread John R Pierce
On 12/22/11 1:31 AM, Shankar Palaniappan wrote: I am getting the following error when I try to connect from PHP with PostgreSQL server. Operating System is HP-UX and I was able to connect through PostgreSQL server from psql, what postgres connection parameters are you passing to the php

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-15 Thread John Coulthard
(firewall/SELinux) is preventing the apache connection. Thanks for the help. From: John Coulthard [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: pgsql-general@postgresql.org Subject: Re: [GENERAL] Unable to connect to PostgreSQL server via PHP Date: Mon, 13 Aug 2007 15:34:19 + From: Tom Lane

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread John Coulthard
: Re: [GENERAL] Unable to connect to PostgreSQL server via PHP Date: Fri, 10 Aug 2007 22:50:47 -0500 El jue, 09-08-2007 a las 14:51 +, John Coulthard escribió: Hi I'm trying to set up a new webserver running php and pgsql. PHP was connecting to postgres but I needed to install the php-gd

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread Lim Berger
On 8/13/07, John Coulthard [EMAIL PROTECTED] wrote: The part of the php code for the connection is $dbconn=pg_connect( dbname=lumbribase host=localhost port=5432 user=postgres password=$PG_PASS ); if ( ! $dbconn ) { echo Error connecting to the database !br ; printf(%s,

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread John Coulthard
From: Lim Berger [EMAIL PROTECTED] To: John Coulthard [EMAIL PROTECTED] CC: pgsql-general@postgresql.org Subject: Re: [GENERAL] Unable to connect to PostgreSQL server via PHP Date: Mon, 13 Aug 2007 18:51:37 +0800 On 8/13/07, John Coulthard [EMAIL PROTECTED] wrote: The part of the php code

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread Tom Lane
John Coulthard [EMAIL PROTECTED] writes: That's not my problem though this is could not connect to server: Permission denied If it's denying permission I must have the permissions set wrong but where to I start looking for them? Permission denied is a pretty strange error for a TCP connect

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-13 Thread John Coulthard
From: Tom Lane [EMAIL PROTECTED] To: John Coulthard [EMAIL PROTECTED] CC: pgsql-general@postgresql.org Subject: Re: [GENERAL] Unable to connect to PostgreSQL server via PHP Date: Mon, 13 Aug 2007 10:09:15 -0400 John Coulthard [EMAIL PROTECTED] writes: That's not my problem though

Re: [GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-10 Thread Julio Cesar Sánchez González
El jue, 09-08-2007 a las 14:51 +, John Coulthard escribió: Hi I'm trying to set up a new webserver running php and pgsql. PHP was connecting to postgres but I needed to install the php-gd module and now I get the error... PHP Warning: pg_connect() [a

[GENERAL] Unable to connect to PostgreSQL server via PHP

2007-08-09 Thread John Coulthard
Hi I'm trying to set up a new webserver running php and pgsql. PHP was connecting to postgres but I needed to install the php-gd module and now I get the error... PHP Warning: pg_connect() [a href='function.pg-connect'function.pg-connect/a]: Unable to connect to PostgreSQL server: could

[GENERAL] Unable to connect to PostgreSQL server

2006-04-20 Thread Martin Kuria
hi, I have a problem with my postgresql database it always gives me an error: Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: sorry, too many clients already in ~/includes/DbConnector.php on line 27 Please advice how I can manage my database to

Re: [GENERAL] Unable to connect to PostgreSQL server

2006-04-20 Thread Harald Armin Massa
Martin,please check out the server configuration documentation athttp://www.postgresql.org/docs/8.1/interactive/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS your configuration file of choice is postgresql.conf within the data directory.(btw: because the default is rather big,

Re: [GENERAL] Unable to connect to PostgreSQL server

2006-04-20 Thread Shane Ambler
Look in data/postgres.conf You will find a line there such as max_connections = 50 you will also need to check that shared_buffers is at least twice the max_connections. You can also start Postmaster with -B nBuffers -N maxbackends On 20/4/2006 17:41, Martin Kuria [EMAIL PROTECTED] wrote:

Re: [GENERAL] Unable to connect to PostgreSQL server

2006-04-20 Thread Shane Ambler
You may also want to look into your php.ini settings. pgsql.max_persistent pgsql.max_links pgsql.auto_reset_persistent and PGSQL_CONNECT_FORCE_NEW are options you would want to check into. Look in data/postgres.conf You will find a line there such as max_connections = 50 you will also need