Getting a postgres driver error. Can't connect. Appears not able to find
server and db. Tail of aolserver log below.




I know db "test" exists. I can open it with "psql test". The table I want to
access in the test db is fgm_users. It also exists.




Tom


-----------------------------------------------




[-main-] Notice: nssock: listening on 216.138.156.34:80


[-nssock-] Notice: nssock: starting


[-nssock-] Notice: nssock: accepting connections


[-conn0-] Notice: dbdrv: opening database 'postgres_driver:localhost:80:
test'


[-conn0-] Notice: Opening test on localhost


[-conn0-] Error: Ns_PgOpenDb(postgres_driver):  Could not connect to
localhost:80:test:  could not connect to server: No such file or directory


        Is the server running locally and accepting


        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.80"?




[-conn0-] Error: dbdrv: failed to open database 'postgres_driver:localhost:
80:test'


[-conn0-] Error: could not allocate 1 handle from pool "postgres_pool"


could not allocate 1 handle from pool "postgres_pool"


    while executing


"ns_db gethandle"


    invoked from within


"set db [ns_db gethandle]"


    invoked from within chunk: 1 of adp: /var/www/fgm/www/survey.adp


--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list: http://www.aolserver.com/listserv.html
List information and options: http://listserv.aol.com/

Reply via email to