rootから su postgres -c "/usr/local/pgsql/bin/postmaster -S -i" を実行すると起動できましたが、例えばtestユーザーから上記のコマンドを 実行すると、パスワードを要求してきます。
シーラカンス本の載っている自動起動スクリプトを書いているんですけど、psql -lのようなコマンドを実行すると Connection to database 'template1' failed. connectDB() -- connect() failed: No such file or directory Is the postmaster running at 'localhost' and accepting connections on Unix socket '5432'? というようなメッセージが表示されます。