Re: [ADMIN] weird fatal error starting postmaster

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Dana Hudes <dhudes(at)hudes(dot)org>
Cc: pgsql-admin(at)postgreSQL(dot)org
Subject: Re: [ADMIN] weird fatal error starting postmaster
Date: 2000-01-05 18:49:54
Message-ID: 38739252.5BB472D8@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Dana Hudes 2000-01-05 19:20:14 Re: [ADMIN] weird fatal error starting postmaster
Previous Message Karl DeBisschop 2000-01-05 18:46:48 Re: [ADMIN] weird fatal error starting postmaster