When i try to run postgres, I get this message :
Code:
chown: cannot access `/var/postgres/': No such file or directory
postmaster cannot access the server configuration file "/var/postgres/postgresql.conf": No such file or directory
And when I trie command createdb mydb :
Code:
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 "/tmp/.s.PGSQL.5432"?
I tried if port 5432 is open, and it isn't.
When i try locate postgresql.conf I get :
/home/postgres/unicornscan/postgresql.conf
/home/postgres/metasploit3/postgresql.conf
/usr/local/pgsql/share/postgresql.conf.sample
And when I try to find tcp_socket setting in postgresql.conf, there isn't any.
Can you pleas help me with this ?