From: Phillip Harrington <phil@philsown.com>
To: pgsql-admin@postgresql.org
Subject: service postgresql start Fails, Can't su
Date: Tue, 30 Dec 2003 17:42:16 -0700
Message-ID: <3FF21B68.7020405@philsown.com> (raw)
Hello,
[root@server root]# service postgresql start
Starting postgresql service: Password:
su: incorrect password
[FAILED]
I've tried this as the postgres user as well and get:
[root@server root]# su postgres
Password:
bash-2.05a$ cd
bash-2.05a$ service postgresql start
postgresql: unrecognized service
I'm wondering if this would have worked if I had not as root done:
[root@server root]# passwd postgres
to set the password for that user. But then I couldn't become that user..?
I'm wondering if this is a permissions thing? Where is it trying to su
from (the /etc/init.d/postgres file obviously, but er - from what user?
from root to whom?)? Why doesn't it know the password? Can I set it in
the /etc/init.d/postgres or somewhere else?
More info: PostgreSQL RPM was installed on my machine (a user mode Linux
virtual machine) when I got it. It's a Red Hat 7.3 and I believe
Postgres is 7.2. Should I uninstall, delete everything and start fresh?
Sorry if this is a duplicate post. I've Googled and surfed this list for
about three hours now trying to find this so I'm giving up and posting :-/
TIA,
Phillip
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: phil@philsown.com
Subject: Re: service postgresql start Fails, Can't su
In-Reply-To: <3FF21B68.7020405@philsown.com>
References: <3FF21B68.7020405@philsown.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox