Psql Installation Issues

Source: Internet
Author: User
Tags psql unix domain socket

Error during the OPENERP installation process:

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"?

Depending on the hint, there should be no socket created for the corresponding 5432 port

When I upgraded the POSTGREQL to version 9.3, I was prompted:

* No PostgreSQL clusters exist; See "Mans Pg_createcluster"

This shows that there is no DB cluster on the server and needs to be created manually.

* No PostgreSQL clusters exist; See "Mans Pg_createcluster"

Output:

9.3 / main ...   /etc/PostgreSQL/9.3/main  data   / var /lib/PostgreSQL/9.3/main  locale C  Port    5432

There should be no more than 5432 of the mistake.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.