尝试在我的RHEL7笔记本电脑上安装chef-server并获取以下内容:
Recipe: private-chef::postgresql
* execute[/opt/opscode/bin/private-chef-ctl start postgresql] action run
- execute /opt/opscode/bin/private-chef-ctl start postgresql
* ruby_block[wait for postgresql to start] action runpsql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
[2017-04-02T13:07:02+02:00] FATAL: Could not connect to database, retrying in 10 seconds.
psql: could not connect to server: Connection refused
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
[2017-04-02T13:07:32+02:00] FATAL: Could not connect to database, retrying in 10 seconds.
[2017-04-02T13:08:02+02:00] FATAL:
Could not connect to the postgresql database.
Please check /var/log/opscode/posgresql/current for more information.
/ tmp状态:
File: ‘/tmp’
Size: 620 Blocks: 0 IO Block: 4096 directory
Device: 25h/37d Inode: 11926 Links: 18
Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
Context: system_u:object_r:tmp_t:s0
Access: 2017-04-02 13:05:31.820289046 +0200
Modify: 2017-04-02 13:12:19.714572010 +0200
Change: 2017-04-02 13:12:19.714572010 +0200
Birth: -
日志文件为空,即使它具有完全权限..