Today I had a power outage which upon reboot seems to have done something to cause Postgresql to not restart properly. This has happened to me before:
http://archives.postgresql.org/pgsql-general/2006-09/msg00938.php

...and during this previous discussion, Tom Lane pointed out that I may have destroyed the evidence on what was causing this problem:
http://archives.postgresql.org/pgsql-general/2006-09/msg00944.php

So, today, I have taken care to *not* destroy any evidence (ie: I didn't delete the postmaster.pid file and restart).

What can I do to help diagnose what is happening?

Thanks!
-Jon

[EMAIL PROTECTED] ~]# rpm -q postgresql
postgresql-8.1.8-1.fc6.x86_64
[EMAIL PROTECTED] ~]# cat /etc/issue
Fedora Core release 6 (Zod)
Kernel \r on an \m
[EMAIL PROTECTED] ~]# cat /var/lib/pgsql/data/postmaster.pid
2809
/var/lib/pgsql/data
  5432001     32768
[EMAIL PROTECTED] ~]# ps -Al | grep 2809
[EMAIL PROTECTED] ~]# ps -Al | grep -i post
[EMAIL PROTECTED] ~]# chkconfig --list postgresql
postgresql      0:off   1:off   2:off   3:on    4:off   5:on    6:off
[EMAIL PROTECTED] ~]# service postgresql status
postmaster is stopped
[EMAIL PROTECTED] ~]# service postgresql start
Starting postgresql service:                               [FAILED]
[EMAIL PROTECTED] ~]# tail -2 /var/lib/pgsql/pgstartup.log
FATAL: pre-existing shared memory block (key 5432001, ID 32768) is still in use HINT: If you're sure there are no old server processes still running, remove the shared memory block with the command "ipcclean", "ipcrm", or just delete the file "postmaster.pid".

--
-**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*---
 Jon Lapham  <[EMAIL PROTECTED]>                Rio de Janeiro, Brasil
 Personal: http://www.jandr.org/
***-*--*----*-------*------------*--------------------*---------------


---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [EMAIL PROTECTED] so that your
      message can get through to the mailing list cleanly

Reply via email to