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 15:18:19 -0500
Message-ID: <3873A70B.6F908015@wgcr.org> (raw)
References: <004e01bf57aa$b2979a80$3d5cdcd1@hudes.org>
<38739252.5BB472D8@wgcr.org>
<016001bf57b6$a5409240$3d5cdcd1@hudes.org>
Dana Hudes wrote:
>
> Submitted for someone to tell me what the heck is going on....
>
> [root@harmony log]# /etc/rc.d/init.d/postgresql stop
> Stopping postgresql service: [ OK ]
> [root@harmony log]# /etc/rc.d/init.d/postgresql start
> Checking postgresql installation: looks good!
> Postmaster already running.
The error message 'Postmaster already running.' comes after a check for
a running postmaster using the RedHat initscript function 'pidof' --
which determines the pid of any running postmaster. What processes does
a plain 'ps ax' show?
From your previous messages, it is plain that there is some other system
issue occuring that you need to troubleshoot before you'll be able to
get PostgreSQL running -- a ps ax|grep of known running processes should
work, otherwise you have something else going on.
By using 'ls -l /proc |grep postgres' -- you should be able to find any
running processes belonging to postgres. Also, you can find out what
the initscript thinks by spawning a subshell, cd to /etc/rc.d/init.d,
and executing:
. functions
pidof postmaster
which will give you the pid of postmaster. You can then kill it from
root.
You can get any process's status by using 'cat /proc/$pid/status', where
$pid is the pid you are wanting to query. This is just in case someone
has rootkitted your ps.
I'm also assuming that you've told init to reload inittab (telinit Q) --
otherwise init is respawning postmaster faster than it can be killed.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
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: <3873A70B.6F908015@wgcr.org>
References: <004e01bf57aa$b2979a80$3d5cdcd1@hudes.org> <38739252.5BB472D8@wgcr.org> <016001bf57b6$a5409240$3d5cdcd1@hudes.org> <3873A70B.6F908015@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