Re: [ADMIN] weird fatal error starting postmaster - Mailing list pgsql-admin

From Lamar Owen
Subject Re: [ADMIN] weird fatal error starting postmaster
Date
Msg-id 38739252.5BB472D8@wgcr.org
Whole thread Raw
In response to weird fatal error starting postmaster  ("Dana Hudes" <dhudes@hudes.org>)
List pgsql-admin
Dana Hudes wrote:
> I'm of course on RedHat Linux. Specifically v6.0 .Dual processor PII, running SMP kernel 2.2.5-22smp
> I do (in inittab)
> /bin/su - postgres -c "/usr/bin/postmaster -D/var/db" >>/var/log/postgres.log 2>&1 </dev/null

Does postmaster start successfully if simply started -- not from
inittab? Also, on RedHat, the standard location of the database is
/var/lib/pgsql, not /var/db -- this could get you into trouble later if
you run into other problems.  This location should only be changed if
there is really GOOD reason to do so.

Run, as root, '/etc/rc.d/init.d/postgresql start' -- it'll initdb in
/var/lib/pgsql if there's no database there.  Then, attempt to connect,
and see what happens. Feel free to modify the
/etc/rc.d/init.d/postgresql script for logging purposes.

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

pgsql-admin by date:

Previous
From: Karl DeBisschop
Date:
Subject: Re: [ADMIN] weird fatal error starting postmaster
Next
From: "Dana Hudes"
Date:
Subject: Re: [ADMIN] weird fatal error starting postmaster