Mark Cannata wrote:
>I've been trying to use Postgresql on Redhat Linux for a while now with
>no success.
>I can't get the postmaster to start (I'm trying to start it as postgres)
>
>I can't get initdb or createdb to run
>the directory for pgsql is in /var/lib, is this the right directory?
>I've read the postmaster man page and the documentation at the Postgres
>site, but I can't seem to get anywhere.
Create a user `postgres' (or get your sysadmin to do it.)
Become user postgres and run initdb; nothing else will work until that is
done. initdb creates the basic database structure; read its man page to
check what options you may need.
If you can't make that work, post a copy of initdb's output so that we
can see what the problem is.
--
Oliver Elphick Oliver.Elphick@lfix.co.uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Let the wicked forsake his way, and the unrighteous
man his thoughts; and let him return unto the LORD,
and He will have mercy upon him; and to our God, for
he will abundantly pardon." Isaiah 55:7