X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 157F2D1B4BD for ; Wed, 31 Dec 2003 00:41:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 95140-05 for ; Tue, 30 Dec 2003 20:40:51 -0400 (AST) Received: from weblacarte.com (mail.weblacarte.com [69.55.225.80]) by svr1.postgresql.org (Postfix) with ESMTP id A1709D1B4A6 for ; Tue, 30 Dec 2003 20:40:47 -0400 (AST) Received: from philsown.com ([66.62.43.230]) (authenticated) by weblacarte.com (8.11.6/8.11.6) with ESMTP id hBV0cJ126914 for ; Tue, 30 Dec 2003 16:38:19 -0800 Message-ID: <3FF21B68.7020405@philsown.com> Date: Tue, 30 Dec 2003 17:42:16 -0700 From: Phillip Harrington User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: service postgresql start Fails, Can't su Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests=USER_AGENT_MOZILLA_UA X-Spam-Level: X-Archive-Number: 200312/344 X-Sequence-Number: 11850 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