Re: [GENERAL] FreeBSD/Postgres/Apache+PHP

2011-04-01 Thread Alexander Pyhalov
Hello. When you jail a process, all its attempt to bind to 127.0.0.1 address will be unsuccessful, and all its attempt to bind to * (all addresses) will be successful, but in fact it will bind only to jail's IP. So, when you try to connect to jail's pgsql from jail process will use jail's ip a

Re: [GENERAL] FreeBSD/Postgres/Apache+PHP

2011-03-31 Thread hubert depesz lubaczewski
On Thu, Mar 31, 2011 at 12:21:33PM -0700, babak badaei wrote: > Hello Postgres Community, > > Thank you guys very much for PostgreSQL. To me, its the best database > management system under the sun. I am setting up a new jail configuration > on FreeBSD with sockets and everything enabled. I can

[GENERAL] FreeBSD/Postgres/Apache+PHP

2011-03-31 Thread babak badaei
Hello Postgres Community, Thank you guys very much for PostgreSQL. To me, its the best database management system under the sun. I am setting up a new jail configuration on FreeBSD with sockets and everything enabled. I can ping localhost fine. The problem is that when I load a script that conn