जोड़ने मैं कम से दिए गए निर्देशों के अनुसार PostgreSQL स्थापित: http://xadmin.info/?p=284समय आने वाली समस्याएं psql
# pg_ctl -D /var/lib/pgsql/data -l pglog.log start
server starting
[email protected]:~> psql
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on
Unix domain socket "/tmp/.s.PGSQL.5432"?
मैं कारण है कि मैं इस त्रुटि हो रही है जब सर्वर शुरू कर दिया है के रूप में नहीं मिल रहा है ... कर सकते हैं किसी कृपया कृपया मदद।
मेरे pglog.log फ़ाइल निम्न उत्पादन पता चलता है:
2013-02-06 19:43:39 GMT FATAL: lock file "postmaster.pid" already exists
2013-02-06 19:43:39 GMT HINT: Is another postmaster (PID 23971) running in data directory "/var/lib/pgsql/data"?
2013-02-06 19:44:02 GMT FATAL: lock file "postmaster.pid" already exists
2013-02-06 19:44:02 GMT HINT: Is another postmaster (PID 23971) running in data directory "/var/lib/pgsql/data"?
2013-04-24 12:43:29 GMT FATAL: data directory "/var/lib/pgsql/data" has group or world access
2013-04-24 12:43:29 GMT DETAIL: Permissions should be u=rwx (0700).
2013-04-24 12:44:07 GMT FATAL: data directory "/var/lib/pgsql/data" has group or world access
2013-04-24 12:44:07 GMT DETAIL: Permissions should be u=rwx (0700).
2013-04-24 12:57:02 GMT FATAL: data directory "/var/lib/pgsql/data" has group or world access
2013-04-24 12:57:02 GMT DETAIL: Permissions should be u=rwx (0700).
2013-04-24 12:57:40 GMT FATAL: data directory "/var/lib/pgsql/data" has group or world access
2013-04-24 12:57:40 GMT DETAIL: Permissions should be u=rwx (0700).
ps -ef | ग्रेप postgres pglog.log
फ़ाइल में
root 21659 21591 0 19:14 pts/0 00:00:00 grep --color=auto postgres
मैं अपने pglog.log फ़ाइल की सामग्री को पोस्ट किया है। उम्मीद है कि आपको – user1778824
की मदद करने में आपकी मदद मिलेगी, यह अनुमतियों के संबंध में कई घातक त्रुटियों की सूची दे रहा है, इसलिए मैं इसे पहले जांचता हूं और साथ ही यह सुनिश्चित करता हूं कि एक अलग पोस्टग्रेस प्रक्रिया पहले से नहीं चल रही है, जो लॉग भी नोट करते हैं। –
मैं कैसे जांचूं कि अलग पोस्टग्रेस प्रक्रिया को रोकें – user1778824