[pgsql-jp: 32237] Re: PostgreSQLが起動しなくなった
Masashi Ohba
ohba @ m8.dion.ne.jp
2004年 2月 9日 (月) 23:46:30 JST
大場です。
In message "[pgsql-jp: 32236] Re: PostgreSQLが起動しなくなった",
m.sato wrote...
>pg_ctl: Another postmaster may be running. Trying to start postmaster
>anyway.
>Found a pre-existing shared memory block (ID 98307) still in use.
>If you're sure there are no old backends still running,
>remove the shared memory block with ipcrm(1), or just
>delete "/var/lib/pgsql/data/postmaster.pid".
>pg_ctl: cannot start postmaster
>Examine the log output.
>
>こんな感じでした。
>
>よく分かりませんが、とりあえず
書いてる通り、「Another postmaster may be running.」なのです。
「わかりませんがやってみました」的な場当たり的な対応じゃなく
エラーの意味も考えてみてください。
>postmaster.pidを削除してみましたら、無事起動できました。
動いて無くても残骸が残ったのでしょう。
前回、おかしな止め方しませんでしたか?
あるいは、何かの弾みでPostgreSQLが勝手に止まったとか。
>起動すれば、PHPが動くと思ってましたが、うまくいきませんでしたが、
>今から調査します。
PHPからPostgreSQLが操作できるようにコンパイルなり
モジュールの設定なりができてないからエラーが出たのでは?
PHPのMLでMySQLとの」組み合わせで言ってた話と同じような
内用そうな感じがしますが…
#「PHPが動く」ってのは表現として変な気が…
--------------------------------------------------
Name : 大場正志(Masashi Ohba)
E-mail: ohba @ m8.dion.ne.jp
Add : Sendai, Japan
pgsql-jp メーリングリストの案内