sudo的厨师服务器-CTL重新配置失败 运行失败与folloing错误厨师服务器安装在RHEL
STDERR: createdb: could not connect to database template1: could not connect to server: No such file or directory
\t Is the server running locally and accepting
\t connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
---- End output of createdb --template template0 --encoding UTF-8 opscode-pgsql ----
Ran createdb --template template0 --encoding UTF-8 opscode-pgsql returned 1
I have tried multiple options suggested in other posts like:
1) chmod 777 /tmp
2) $ sudo mkdir /var/pgsql_socket/
3) Ensure localhost entry is present under /etc/hosts
However, I do not see any socket definition in /tmp
or
/usr/local/var/postgres/postgresql.conf
情侣问题的价值,你运行的是什么版本的厨师?你还在运行什么版本的Redhat。这是干净的安装还是升级? –
这实际上是Oracle Linux 6.6,它基于RHEL映像。厨师服务器的版本是12.1.0 ...我以前曾经安装过以前版本的Chef Server。我没有升级,但做了全新的干净安装 – sjn