Quote:
Originally Posted by DoubleLetter
Hello,
I've installed PostgreSQL 7.0.? (it came with the standard REd Hat 7.1 distribution). Now the problem is when I type postmaster at the commandline, it says,
"the PostgreSQL cannot be run as 'root' user..."
Now, there Is a user called postgreSQl. Now, my question is:
How do I start up postgreSQL ? It is not started when the machine starts up....
Thanks,
Best REgards,
Ahsan A.
|
I'd
strongly recommend updating both the OS and Postgres to
a sensible version. PostgreSQL 7.3 is about to go out of
support sometime soon, and chances are that you're running
a version that had tons of patches after RH bundled it....
or at least try to get all the patches/fixes applied that
you possibly can.
As for the actual question: check the content of your postgres
rpms ... that should give you pointers as to which files are
a) involved in starting postgres (e.g. /etc/init.d/postgres)
and b) where postgres logs to. Both pieces of information
should aid you in finding out why it doesn't start.
something like:
Code:
rpm -ql $( rpm -qa | grep -i postgres )
Cheers,
Tink