Re: [ADMIN] db connection fails

2002-07-03 Thread Mark Tessier
> > > Have you tried doing a network connection with your "apache" user? (su - > > > apache; psql -h localhost group3.) > > > > Yes, I've tried it and get the following: > > > > psql: could not connect to server: Connection refused > > Is the server running on host 192.168.1.2 and accepting >

[ADMIN] db connection problem

2002-07-01 Thread Mark Tessier
I have a cgi script written in C++ and compiled with libpq++. The script attempts to connect to a postgresql database but fails, although I can connect to the database on the command line. I'm wondering if there is an error log somewhere that I can access that would give me more information abo

[ADMIN] db connection fails

2002-06-29 Thread Mark Tessier
I get a script error when trying to connect to postgres. It fails in the following part of the script: PgDatabase conn ("host=localhost dbname=group3"); if (conn.ConnectionBad()) { ... } /var/log/messages shows authentication failure; logname=capmag uid=502 euid=0 tty= ruser = rhost=

[ADMIN] to recompile or not recompile postgres

2002-06-21 Thread Mark Tessier
I just realized, after trying to compile a C++ script, that I forgot to compile the C++ interface library during the installation of postgres. At least I'm assuming this to be the case as /usr/include/pgsql -lpq++ doesn't exist. My question is: do I need to recompile postgres to create the /usr

[ADMIN] to reinstall or not reinstall postgres

2002-06-21 Thread Mark Tessier
I just realized, after trying to compile a C++ script, that I forgot to compile the C++ interface library during the installation of postgres. At least I'm assuming this to be the case as /usr/include/pgsql -lpq++ doesn't exist. My question is: do I need to recompile postgres to create the /usr