Re: [ADMIN] Cannot get postgres started on Fedora core 3

2005-03-17 Thread Tom Lane
"Mark Travis" <[EMAIL PROTECTED]> writes: > Tom, I owe you bigtime. That was exactly the problem. I would remove selinux > from my machine if I wasn't worried that it wasn't actually protecting me > from the outside world. I had problems installing OpenGroupware as well with > selinux, but I though

Re: [ADMIN] Cannot get postgres started on Fedora core 3

2005-03-17 Thread Mark Travis
Tom, I owe you bigtime. That was exactly the problem. I would remove selinux from my machine if I wasn't worried that it wasn't actually protecting me from the outside world. I had problems installing OpenGroupware as well with selinux, but I thought I had them resolved. I bet it got overwritten on

Re: [ADMIN] Cannot get postgres started on Fedora core 3

2005-03-17 Thread Alvaro Herrera
On Thu, Mar 17, 2005 at 05:16:34PM -0500, Mark Travis wrote: > I've placed several "echo" statements into /etc/rc.d/init.d/postgresql to > see what branches the scripts are executing and what the variables are. Just for the record: it's much easier to debug shell scripts by doing sh -x /etc/rc.d/

Re: [ADMIN] Cannot get postgres started on Fedora core 3

2005-03-17 Thread Tom Lane
"Mark Travis" <[EMAIL PROTECTED]> 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

Re: [ADMIN] Cannot get postgres started on Fedora core 3

2005-03-17 Thread Mark Travis
I've placed several "echo" statements into /etc/rc.d/init.d/postgresql to see what branches the scripts are executing and what the variables are. I've narrowed it down to the final call $SU -l postgres -c "$PGENGINE/postmaster -p (snipped the rest of the line from this post because it's the stand

Re: [ADMIN] Cannot get postgres started on Fedora core 3

2005-03-16 Thread Tom Lane
"Mark Travis" <[EMAIL PROTECTED]> writes: > I've been trying to get postgres to start on my machine for a few days (on > and off) and have not been successful in understanding why it will not > start. The pre-8.0 RPMs have a bad habit of sending the postmaster log to /dev/null :-(. You could edit

[ADMIN] Cannot get postgres started on Fedora core 3

2005-03-16 Thread Mark Travis
System: 1.5 GB memory; 160 GB hard drive with 140 GB free (plenty of space in the database directories); 1.5 Mhz AMD Athlon processor. - Fedora Core 3 with all fixes applied - Postgres 7.4 as supplied by up2date (RedHat network) I've been trying to get postgres to start on my mach