पर पोस्टग्रेस सेवा शुरू करने में विफल रहता है यहां पोस्ट करने के लिए नवागंतुक!'सेवा पोस्टग्रेस्क्ल स्टार्ट' फेडोरा
मैंने here का उल्लेख करते हुए pg_hba.conf संपादित किया, लेकिन जब मैं postgresql सेवा को पुनरारंभ करने का प्रयास करता हूं, तो प्रयास विफल हो जाता है। नीचे दी गई सारी जानकारी के साथ कमांड लाइन आउटपुट नीचे है।
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all postgres ident sameuser
local all all ident sameuser
# IPv4 local connections:
host all all 127.0.0.1 password
# IPv6 local connections:
host all all ::1 password
क्या त्रुटि यहाँ हो सकता है:
[[email protected] modules]# service postgresql restart
Redirecting to /bin/systemctl restart postgresql.service
Job failed. See system logs and 'systemctl status' for details.
[[email protected] modules]# systemctl status postgresql.service
postgresql.service - PostgreSQL database server
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled)
Active: failed since Sun, 08 Apr 2012 21:29:06 +0530; 14s ago
Process: 12228 ExecStop=/usr/bin/pg_ctl stop -D ${PGDATA} -s -m fast (code=exited, status=0/SUCCESS)
Process: 12677 ExecStart=/usr/bin/pg_ctl start -D ${PGDATA} -s -o -p ${PGPORT} -w -t 300 (code=exited, status=1/FAILURE)
Process: 12672 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGDATA} (code=exited, status=0/SUCCESS)
Main PID: 12184 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/postgresql.service
[[email protected] modules]# tail /var/log/messages
....
Apr 8 21:29:06 arunpc systemd[1]: postgresql.service: control process exited, code=exited status=1
Apr 8 21:29:06 arunpc systemd[1]: Unit postgresql.service entered failed state.
Apr 8 21:29:06 arunpc pg_ctl[12677]: pg_ctl: could not start server
Apr 8 21:29:06 arunpc pg_ctl[12677]: Examine the log output.
Fwiw, यहाँ विन्यास फाइल (pg_hba.conf) का इस्तेमाल किया है? संपादन करने से पहले यह ठीक काम करता था (और चूंकि यह एक विकास मशीन थी, मैंने शानदार ढंग से कोई बैकअप नहीं बनाया)।
मैं और अधिक विस्तृत लॉग आउटपुट प्राप्त करना चाहता हूं।/Var/log/messages फ़ाइल में लॉग संदेश मुझे "लॉग आउटपुट की जांच" करने के लिए कहता है - यह लॉग आउटपुट क्या होगा? मैं क्या अन्य समस्या निवारण कदम उठा सकता हूं?
अग्रिम में बहुत धन्यवाद!
लॉग फाइल/var/lib/pgsql/data/pg_log –