Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update HowTo-Install.md #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions HowTo-Install.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Ping一下github试试:
### 5.1 如果安装成功
看到下面这样的输出就说明master和client都安装成功了(在终端下是绿色字):

[root@vnc1 qinjx]# puppetd -t
[root@vnc1 qinjx]# puppet agent -t
info: Retrieving plugin
info: Caching catalog for vnc1.sys.example.com
info: Applying configuration version '1375365926'
Expand All @@ -86,10 +86,18 @@ Ping一下github试试:
### 5.2 如果安装失败
看到下面这样的输出,就说明安装失败了(在终端下是红色字):

[root@vnc1 qinjx]# puppetd -t
[root@vnc1 qinjx]# puppet agent -t
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Connection refused - connect(2)
err: /File[/var/lib/puppet/lib]: Could not evaluate: Connection refused - connect(2) Could not retrieve file metadata for puppet://puppet-server.vip.example.com/plugins: Connection refused - connect(2)
err: Could not retrieve catalog from remote server: Connection refused - connect(2)
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run

### 5.3 常见错误
下面错误是因为在Puppet Server 中没有解析 puppet-server.vip.example.com , 在/etc/hosts 中加入 127.0.0.1 puppet-server.vip.lanmv.com 对应解析后,执行 /etc/init.d/puppetmaster restart 重启 puppetmaster 即可。

Error: Could not request certificate: Connection refused - connect(2)
Exiting; failed to retrieve certificate and waitforcert is disabled