When i try to run postgres, I get this message :
And when I trie command createdb mydb :
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
I tried if port 5432 is open, and it isn't.
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"?
When i try locate postgresql.conf I get :
And when I try to find tcp_socket setting in postgresql.conf, there isn't any.
Can you pleas help me with this ?