Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Postgresql error

I'm very new to this so sorry if I seem a noob.

I'm having troubles with my logging / reporting.  My WebAdmin tells me that logging and reporting are enabled, but my log partition status screen says that the log partition size is 0 MB.  So I routed my syslog to a remote server and noticed a ton of postgresql errors.  It is basically timing out and trying to restart over and over.  So I hunted around here for a solution and came up with the thread about reinitializing the postgres database, which I tried, but when I got to the line: /var/storage/pgsql/init/reporting_db_init.sh I got these errors back...
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
createdb: could not connect to database postgres: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
psql: could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?



Any help would be truly appreciated.

Thank you.


This thread was automatically locked due to age.