X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6D233568A9 for ; Thu, 17 Mar 2005 22:21:56 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00813-07 for ; Thu, 17 Mar 2005 22:21:48 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 24A5A568AB for ; Thu, 17 Mar 2005 22:21:47 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j2HMLmYq027862; Thu, 17 Mar 2005 17:21:48 -0500 (EST) To: "Mark Travis" Cc: pgsql-admin@postgresql.org Subject: Re: Cannot get postgres started on Fedora core 3 In-reply-to: <20050317221639.QOYR1995.imf16aec.mail.bellsouth.net@MarksLaptop> References: <20050317221639.QOYR1995.imf16aec.mail.bellsouth.net@MarksLaptop> Comments: In-reply-to "Mark Travis" message dated "Thu, 17 Mar 2005 17:16:34 -0500" Date: Thu, 17 Mar 2005 17:21:48 -0500 Message-ID: <27861.1111098108@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/271 X-Sequence-Number: 16769 "Mark Travis" writes: > If I manually enter the command on the command line > postgres -c /usr/bin/postmaster -p 5432 -D /var/lib/pgsql > I get nothing.... not even a warning that I shouldn't start postgres as > root. > If I just type "postgres" on the command line.... nothing. No warnings, no > nothing..... I'll bet you have SELinux enforcement on. One of the less fun properties of that thing (at least in Red Hat's current "targeted" policy) is that it forbids daemons from writing on /dev/tty. And the postgres executable is classified as a daemon even when you invoke it from the command line. Net result: no error messages. Does it work any better after "sudo /usr/sbin/setenforce 0" ? regards, tom lane