Summary: | A server is already listening on:/var/run/postgresql/.s.PGSQL.5432 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Linda <douganla> |
Component: | [OLD] Server | Assignee: | PgSQL Bugs <pgsql-bugs> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Linda
2011-05-23 19:27:20 UTC
There really isn't any good reason for there a server to be listening on /var/run/postgresql/.s.PGSQL.5432 unless the server shutdown really uncleanly. So, the only thing that stands to reason is that you still have a server listening there. What's the output of: /etc/init.d/postgresql-8.4 status (In reply to comment #1) > There really isn't any good reason for there a server to be listening on > /var/run/postgresql/.s.PGSQL.5432 unless the server shutdown really uncleanly. > So, the only thing that stands to reason is that you still have a server > listening there. > What's the output of: > /etc/init.d/postgresql-8.4 status This is the output of /etc/init.d/postgresql-8.4 status # /etc/init.d/postgresql-8.4 status * status: stopped * Reloading PostgreSQL configuration ... pg_ctl: no server running I figured out the solution. Look for .s.PGSQL.5432 in /var/run/postgresql/ ls /var/run/postgresql/.s.PGSQL.5432 Then delete it rm /var/run/postgresql/.s.PGSQL.5432 and then start server Can't troubleshoot this any further then. |