在openerp安装过程中报错:
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"?
根据提示应该是没有没有创建对应5432端口的socket
当我在把postgreql升级到9.3版本的时候提示:
* No PostgreSQL clusters exist; see "man pg_createcluster"
由此可见服务器上没有数据库集群,需要手动创建.
* No PostgreSQL clusters exist; see "man pg_createcluster"
输出:
Creating new cluster 9.3/main ... config /etc/postgresql/9.3/main data /var/lib/postgresql/9.3/main locale C port 5432
到现在应该不会再报5432的错了.