I've finally gotten this far and have been able to create the new data_base I require. and postgresql seems to be up and running.
su postgres then it prompts me for a password. If root and admin are not the default passwds what the heck is it. -- Ted Ozolins(VE7TVO)
Westbank, B. C
[...]
There is no password :)
As root, execute "su - postgres". The configuration files will be in the data sub-directory etc.
Matt
crash root # pg_ctl status -D /var/lib/postgresql/data pg_ctl: postmaster is running (pid: 1955) Command line was: /usr/bin/postmaster '-N' '1024' '-B' '2048'
I'm trying to use eestock, a web based inventory program. Whenever I try to to start with (in mozilla) http://localhost/eestock, the eestock page comes up nicely but I get:
*Warning*: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: Connection refused Is the server running on host 127.0.0.1 and accepting TCP/IP connections on port 5432? . in */var/www/localhost/htdocs/eestock/admin/utils/DB_Sql.inc* on line *44*
PHP Error: pg_connect() failed.
I have tried using tcpip_socket=true and port=5432 to no avail. Any ideas what to try next are welcome. Anyone running eestock, what did you have to do to get it to connect to postgresql?
-- Ted Ozolins(VE7TVO) Westbank, B. C
-- [EMAIL PROTECTED] mailing list
