$ postgres --version
postgres (PostgreSQL) 8.4.8
$ sudo cat /var/lib/pgsql/data/pg_hba.conf
host all all 127.0.0.1 255.255.255.255 md5
$ sudo service postgresql start
Starting postgresql service: [ OK ]
$ createdb test
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"?
$ cat /tmp/.s.PGSQL.5432
No such file or directory
$ sudo service postgresql status
postmaster dead but pid file exists
$ ps aux | grep post
sosiska 16189 0.0 0.0 4356 452 pts/1 S+ 11:09 0:00 grep --colour=auto post
Почему Postgres не запускается?