From: Thomas F. O'Connell <tfo@sitening.com>
To: pgsql-admin@postgresql.org
Subject: postmaster blues after system restart
Date: Thu, 13 Oct 2005 19:55:19 -0500
Message-ID: <52873FF7-8AEE-4257-9CDC-BB6D402E87F0@sitening.com> (raw)
I'm experiencing an unusual situation on a recently reprovisioned
server.
It's a Debian server (testing/unstable) running a 2.6.13.3 kernel.
postgres 8.0.4 was built from source. I'm using a slightly modified
version of the tarball sample init script that includes a function to
start pg_autovacuum automatically.
When I restart, everything seems to come up fine with the exception
that postmaster starts in a state such that it doesn't seem to be
accepting connections (either over UNIX or TCP/IP). As best I can
tell, it is using the init script to start postgres because
pg_autovacuum tries to start, too, and dies shortly after the box
comes up because it, too, cannot connect to postgres.
The very odd thing is that if I use this same init script manually
once the box is up to stop/start postgres, everything comes up roses.
So: is there anything unusual that could happen in terms of order of
operations or pathing during the boot process that I am overlooking?
Also, is there any way to get more status out of a postmaster if one
cannot connect to it? I am able to run pg_ctl status and
pg_controldata, both of which return normally.
--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
Open Source Solutions. Optimized Web Development.
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-469-5150
615-469-5151 (fax)
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: tfo@sitening.com
Subject: Re: postmaster blues after system restart
In-Reply-To: <52873FF7-8AEE-4257-9CDC-BB6D402E87F0@sitening.com>
References: <52873FF7-8AEE-4257-9CDC-BB6D402E87F0@sitening.com>
* 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