وقفت جميع الخدمات الأخرى على جهازي الخادم وقمت بتحديثه إلى أحدث إصدار من Ubuntu LTS وما زالت تظهر هذه الرسالة:
PG::ConnectionBad: فشل الاتصال بالخادم على المقبس "/var/run/postgresql/.s.PGSQL.5432": تم رفض الاتصال (PG::ConnectionBad)
هل الخادم يعمل محليًا ويقبل الاتصالات على ذلك المقبس؟
لم يؤدِ تبديل القوالب بـ 13 وحتى 15 إلى حل المشكلة، وهو ما تم عرضه في المنشور المشار إليه.
سببه:
PG::ConnectionBad: فشل الاتصال بالخادم على المقبس “/var/run/postgresql/.s.PGSQL.5432”: لا يوجد مثل هذا الملف أو الدليل (PG::ConnectionBad)
هل الخادم يعمل محليًا ويقبل الاتصالات على هذا المقبس؟
2025-03-22 00:30:44.110 UTC [4922] FATAL: lock file “postmaster.pid” is empty
2025-03-22 00:30:44.110 UTC [4922] HINT: Either another server is starting, or the lock file is the remnant of a previous server startup crash.
2025-03-22 00:30:45.127 UTC [4964] FATAL: lock file “postmaster.pid” is empty
2025-03-22 00:30:45.127 UTC [4964] HINT: Either another server is starting, or the lock file is the remnant of a previous server startup crash.
2025-03-22 00:30:46.151 UTC [4966] FATAL: lock file “postmaster.pid” is empty
2025-03-22 00:30:46.151 UTC [4966] HINT: Either another server is starting, or the lock file is the remnant of a previous server startup crash.
2025-03-22 00:30:47.168 UTC [4970] FATAL: lock file “postmaster.pid” is empty
2025-03-22 00:30:47.168 UTC [4970] HINT: Either another server is starting, or the lock file is the remnant of a previous server startup crash.
2025-03-22 00:30:48.192 UTC [4977] FATAL: lock file “postmaster.pid” is empty
2025-03-22 00:30:48.192 UTC [4977] HINT: Either another server is starting, or the lock file is the remnant of a previous server startup crash.