Re: Problem starting postmaster at startup

From: "Patrick Bye (WFF)" <PBYE(at)Westfair(dot)CA>
To: 'Oliver Elphick' <olly(at)lfix(dot)co(dot)uk>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem starting postmaster at startup
Date: 2003-01-30 15:07:50
Message-ID: 0D485272F9CB4E4AA9171FD13CBAC78203AF8FD9@ntexsrvr.westfair.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

When I run the exact same command as root, it starts up fine.

Patrick Bye
Programmer / Analyst
Westfair Foods Ltd.
pbye(at)westfair(dot)ca
(403) 291-6538

-----Original Message-----
From: Oliver Elphick [mailto:olly(at)lfix(dot)co(dot)uk]
Sent: Wednesday, January 29, 2003 4:56 PM
To: Patrick Bye (WFF)
Cc: 'pgsql-general(at)postgresql(dot)org'
Subject: Re: [GENERAL] Problem starting postmaster at startup

On Wed, 2003-01-29 at 23:23, Patrick Bye (WFF) wrote:
...
> su -c '/usr/local/pgsql/bin/pg_ctl start -l
> /usr/local/pgsql/data/logfile -D /usr/local/pgsql/data' postgres
...
> This has been working fine for 4 weeks. Now, all I get at startup is the
> message "postmaster successfully started" but I cannot find postmaster
> running anywhere in the system. I know pg_ctl is executing because of the
> message but postmaster is not logging anything at all.

Unfortunately, that message is meaningless. The pg_ctl script runs the
postmaster in the background, and will not notice if it fails, as it
obviously has.

Try starting the postmaster directly and see what happens.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"My son, if sinners entice thee, consent thou not."
Proverbs 1:10

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Bye (WFF) 2003-01-30 15:09:09 Re: Problem starting postmaster at startup
Previous Message Bruno Wolff III 2003-01-30 14:41:02 Re: Perl DBI and placeheld values