pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lamar Owen <lamar.owen@wgcr.org>
To: Dana Hudes <dhudes@hudes.org>
Cc: pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] weird fatal error starting postmaster
Date: Wed, 05 Jan 2000 13:49:54 -0500
Message-ID: <38739252.5BB472D8@wgcr.org> (raw)
References: <004e01bf57aa$b2979a80$3d5cdcd1@hudes.org>

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



view thread (8+ messages)  latest in thread

Message-ID: <38739252.5BB472D8@wgcr.org>
Permalink:  ../38739252.5BB472D8@wgcr.org/
Also on:    postgresql.org/message-id/38739252.5BB472D8@wgcr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: lamar.owen@wgcr.org, dhudes@hudes.org
  Subject: Re: [ADMIN] weird fatal error starting postmaster
  In-Reply-To: <38739252.5BB472D8@wgcr.org>
  References: <004e01bf57aa$b2979a80$3d5cdcd1@hudes.org> <38739252.5BB472D8@wgcr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox