お客さんのサーバーが謎のロックを起こして、再起動を実行。
サーバー起動後、ナゼかPostgresSQLが起動していない…
webminから行うも起動できず…
仕方ないので、telnetでアクセスしてコマンドラインから…
# postmaster
エラー…rootじゃダメよと。
# su - postgres
$ postmaster
FATAL: pre-existing shared memory block (key 5432001, ID 1114114) 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".
あーなんか出た。不意のダウンでファイルが残ったよと。
一番単純そうな最後の方法 "postmaster.pid"を削除することにした。
$ rm -f data/postmaster.pid
コマンドラインからでも良いんですが、webminの方は、script付きらしいので、そちらから起動を
試みる…
無事成功。