Problems in installing postgresql-9.1 in 12.04

view story

http://askubuntu.com – I have installed postgresql via apt-get install postgresql, but have an error, don't make the folder /etc/postgresql/9.1. The error on psql: 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"? (HowTos)