Hi:
I am installing postgres on a Debian Linux box. After following all the
necessray steps (make, make install, making the data directory, chown,
etc), I ran initdb as pecified in the INSTALL file. It terminates
giving the following error:
initializing pg_depend ... cannot connect : Connection refused
child process exited with exit code 1
Does anyone know what the problem is? (I have attached the complete output of initdb below).
Thank,
HSA
pguser@scspc123:~$ /usr/local/Robust/pgsql/bin/initdb -D /usr/local/Robust/pgsql/data
The files belonging to this database system will be owned by user "pguser".
This user must also own the server process.
The database cluster will be initialized with locale C.
fixing permissions on existing directory /usr/local/Robust/pgsql/data ... ok
creating directory /usr/local/Robust/pgsql/data/global ... ok
creating directory /usr/local/Robust/pgsql/data/pg_xlog ... ok
creating directory /usr/local/Robust/pgsql/data/pg_xlog/archive_status ... ok
creating directory /usr/local/Robust/pgsql/data/pg_clog ... ok
creating directory /usr/local/Robust/pgsql/data/pg_subtrans ... ok
creating directory /usr/local/Robust/pgsql/data/base ... ok
creating directory /usr/local/Robust/pgsql/data/base/1 ... ok
creating directory /usr/local/Robust/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 1000
creating configuration files ... ok
creating template1 database in /usr/local/Robust/pgsql/data/base/1 ... ok
initializing pg_shadow ... ok
enabling unlimited row size for system tables ... ok
initializing pg_depend ... cannot connect : Connection refused
child process exited with exit code 1
initdb: removing contents of data directory "/usr/local/Robust/pgsql/data"