Dec 6 21:47:21 jjh su(pam_unix)[3306]: session opened for user root by jjh(uid=500)
Dec 6 21:47:26 jjh su(pam_unix)[3327]: session opened for user postgres by jjh(uid=0)
Dec 6 21:47:45 jjh postgresql: Starting postgresql service: failed
这是以postgres身份启动的消息,,,
能看出什么问题吗
-bash-3.00$ pg_ctl restart
pg_ctl: could not find /var/lib/pgsql/data/postmaster.pid
Is postmaster running?
starting postmaster anyway
cat: /var/lib/pgsql/data/postmaster.opts: No such file or directory
/usr/bin/pg_ctl: line 359: : command not found
postmaster successfully started
而这个是这样的
-bash-3.00$ pg_ctl start
FATAL: XX000: failed to initialize lc_messages to ""
LOCATION: InitializeGUCOptions, guc.c:1867
postmaster successfully started
这里有什么问题马