Ubuntu 12.04中的Puppet Enterprise安装错误

时间:2016-09-04 13:06:51

标签: postgresql puppet puppet-enterprise

操作系统版本:Ubuntu 12.04

在尝试在Ubuntu 12.04中安装puppet企业时,我收到以下错误

[Error]: Could not start Service[postgresqld]: Execution of '/etc/init.d/pe-postgresql start' returned 7: Starting pe-postgresql service:  * Sta$
^[[1;31m2016-09-04 15:01:33,752 - [Error]: /Stage[main]/Pe_postgresql::Server::Service/Service[postgresqld]/ensure: change from stopped to running failed: Could not start Service$
^[[m2016-09-04 15:01:33,754 - 

更多日志:

  

2016-09-04 15:44:35,185 - [通知]:   /舞台[主] / Puppet_enterprise ::主/文件[/选择/ puppetlabs /服务器/ pe_build] /店主:   所有者改变了根源'到了'pe-puppet' 2016-09-04 15:44:35,185 -   [注意]:   /舞台[主] / Puppet_enterprise ::主/文件[/选择/ puppetlabs /服务器/ pe_build] /组:   小组改变了' root'到了'pe-puppet' 2016-09-04 15:45:11,740 - [错误]:   无法启动服务[postgresqld]:执行   ' /etc/init.d/pe-postgresql start'返回7:启动pe-postgresql   服务:*启动pe-postgresql服务:2016-09-04 15:45:11,741 -   [错误]:   /舞台[主] / Pe_postgresql ::服务器::服务/服务[postgresqld] /保证:   从停止更改为运行失败:无法启动   服务[postgresqld]:执行' /etc/init.d/pe-postgresql start'   返回7:启动pe-postgresql服务:*启动pe-postgresql   服务:2016-09-04 15:45:11,743 - [通知]:   /阶段[主要] / Pe_postgresql ::服务器::服务/ Pe_postgresql :: Validate_db_connection [validate_service_is_running] /执行[验证   / pe-postgres的postgres连接]:依赖服务[postgresqld]   失败:真是2016-09-04 15:45:11,744 - [警告]:   /阶段[主要] / Pe_postgresql ::服务器::服务/ Pe_postgresql :: Validate_db_connection [validate_service_is_running] /执行[验证   / pe-postgres的postgres连接]:由于失败而跳过   依赖2016-09-04 15:45:11,745 - [通知]:   /舞台[主] / Pe_postgresql ::服务器::服务/ Pe_anchor [pe_postgresql ::服务器::服务::结束]:   依赖服务[postgresqld]失败:真实2016-09-04   15:45:11,745 - [警告]:   /舞台[主] / Pe_postgresql ::服务器::服务/ Pe_anchor [pe_postgresql ::服务器::服务::结束]:   因依赖失败而跳过2016-09-04 15:45:11,747 -   [注意]:   /阶段[主要] / Pe_postgresql ::服务器::的Contrib / Pe_anchor [pe_postgresql ::服务器::的contrib ::端]:   依赖服务[postgresqld]失败:真实2016-09-04   15:45:11,747 - [警告]:   /阶段[主要] / Pe_postgresql ::服务器::的Contrib / Pe_anchor [pe_postgresql ::服务器::的contrib ::端]:   因依赖失败而跳过2016-09-04 15:45:11,748 -   [注意]:   /舞台[主] / Pe_postgresql ::服务器::重载/执行[postgresql_reload]:   依赖服务[postgresqld]失败:真实2016-09-04   15:45:11,748 - [警告]:   /舞台[主] / Pe_postgresql ::服务器::重载/执行[postgresql_reload]:   因依赖失败而跳过2016-09-04 15:45:11,749 -   [注意]:   /阶段[主要] / Pe_postgresql ::服务器/ Pe_anchor [pe_postgresql ::服务器::端]:   依赖服务[postgresqld]失败:真实2016-09-04   15:45:11,750 - [警告]:   /阶段[主要] / Pe_postgresql ::服务器/ Pe_anchor [pe_postgresql ::服务器::端]:   因依赖失败而跳过2016-09-04 15:45:11,752 -   [注意]:   /舞台[主] / Puppet_enterprise ::档案::数据库/ Puppet_enterprise :: App_database [puppetdb] / Pe_postgresql ::服务器::表空间[PE-puppetdb] /文件[/选择/ puppetlabs /服务器/数据/ PostgreSQL的/ puppetdb] :   依赖服务[postgresqld]失败:真实2016-09-04   15:45:11,752 - [警告]:   /舞台[主] / Puppet_enterprise ::档案::数据库/ Puppet_enterprise :: App_database [puppetdb] / Pe_postgresql ::服务器::表空间[PE-puppetdb] /文件[/选择/ puppetlabs /服务器/数据/ PostgreSQL的/ puppetdb] :   因依赖失败而跳过2016-09-04 15:45:11,753 -   [注意]:   / stage [main] / Puppet_enterprise :: Profile :: Database / Puppet_enterprise :: App_database [puppetdb] / Pe_postgresql :: Server :: Tablespace [pe-puppetdb] / Pe_postgresql_psql [创建表空间' pe-puppetdb'] :依赖服务[postgresqld]有   失败:真实2016-09-04 15:45:11,753 - [警告]:   / stage [main] / Puppet_enterprise :: Profile :: Database / Puppet_enterprise :: App_database [puppetdb] / Pe_postgresql :: Server :: Tablespace [pe-puppetdb] / Pe_postgresql_psql [创建表空间' pe-puppetdb'] :由于失败的依赖项而跳过   2016-09-04 15:45:11,754 - [通知]:   /阶段[主要] / Puppet_enterprise ::资料::数据库/ Puppet_enterprise :: App_database [puppetdb] / Pe_postgresql ::服务器::角色[PE-puppetdb] / Pe_postgresql_psql [CREATE   角色" pe-puppetdb"登录NOCREATEROLE NOCREATEDB NOSUPERUSER   CONNECTION LIMIT -1]:依赖服务[postgresqld]失败:   true 2016-09-04 15:45:11,755 - [警告]:   /阶段[主要] / Puppet_enterprise ::资料::数据库/ Puppet_enterprise :: App_database [puppetdb] / Pe_postgresql ::服务器::角色[PE-puppetdb] / Pe_postgresql_psql [CREATE   角色" pe-puppetdb"登录NOCREATEROLE NOCREATEDB NOSUPERUSER   CONNECTION LIMIT -1]:由于依赖性失败而跳过   2016-09-04 15:45:11,756 - [通知]:   /阶段[主要] / Puppet_enterprise ::资料::数据库/ Puppet_enterprise :: App_database [puppetdb] / Pe_postgresql ::服务器::角色[PE-puppetdb] / Pe_postgresql_psql [ALTER   角色" pe-puppetdb" NOSUPERUSER]:依赖服务[postgresqld]有   失败:真实2016-09-04 15:45:11,756 - [警告]:   /阶段[主要] / Puppet_enterprise ::资料::数据库/ Puppet_enterprise :: App_database [puppetdb] / Pe_postgresql ::服务器::角色[PE-puppetdb] / Pe_postgresql_psql [ALTER   角色" pe-puppetdb" NOSUPERUSER]:因失败而跳绳   依赖2016-09-04 15:45:11,757 - [通知]:   /阶段[主要] / Puppet_enterprise ::资料::数据库/ Puppet_enterprise :: App_database [puppetdb] / Pe_postgresql ::服务器::角色[PE-puppetdb] / Pe_postgresql_psql [ALTER   角色" pe-puppetdb" NOCREATEDB]:依赖服务[postgresqld]有   失败:真的

包括这一个:

 [Error]: Failed to apply catalog: Connection refused - connect(2) for "domain.com" port 4433

更新1: 现在postgresql问题已解决,但仍有4433错误

2016-09-04 16:55:32,314 - [Debug]: /File[/etc/puppetlabs/puppet/ssl/crl.pem]/owner: owner changed 'pe-puppet' to 'puppet'
2016-09-04 16:55:32,315 - [Debug]: /File[/etc/puppetlabs/puppet/ssl/crl.pem]/group: group changed 'pe-puppet' to 'puppet'
2016-09-04 16:55:32,316 - [Debug]: Finishing transaction 72625460
2016-09-04 16:55:32,318 - [Debug]: Creating new connection for https://domain.com:4433
2016-09-04 16:55:32,319 - [Debug]: Starting connection for https://domain.com:4433
2016-09-04 16:55:32,319 - [Debug]: Storing state
2016-09-04 16:55:32,320 - [Info]: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml
2016-09-04 16:55:32,437 - [Debug]: Stored state in 0.12 seconds
2016-09-04 16:55:32,477 - [Error]: Failed to apply catalog: Connection refused - connect(2) for "domain.com" port 4433
2016-09-04 16:55:32,495 - [Debug]: Applying settings catalog for sections reporting, metrics
2016-09-04 16:55:32,498 - [Debug]: Finishing transaction 71218160
2016-09-04 16:55:32,498 - [Debug]: Received report to process from domain.com
2016-09-04 16:55:32,531 - [Debug]: Processing report from domain.com with processor Puppet::Reports::Store
* /opt/puppetlabs/puppet/bin/puppet enterprise configure --debug --detailed-exitcodes --modulepath /opt/puppetlabs/server/data/enterprise/modules
* returned: 1
2016-09-04 16:55:38,204 Running command: /opt/puppetlabs/puppet/bin/puppet agent --enable

0 个答案:

没有答案