我在Ubuntu Server 14.04上使用官方Foreman-Installer安装了puppet-master 3.4 foreman1.6和phusion乘客。
但是如果一个木偶客户端尝试连接到我正在运行的主服务器,那么会出现异常。由于乘客不能开始,有以下信息:
Web application could not be started
exit (SystemExit)
/usr/lib/ruby/vendor_ruby/puppet/util.rb:492:in `exit'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:492:in `rescue in exit_on_fail'
/usr/lib/ruby/vendor_ruby/puppet/util.rb:478:in `exit_on_fail'
/usr/lib/ruby/vendor_ruby/puppet/application.rb:362:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
/usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
config.ru:37:in `block in <main>'
/usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `instance_eval'
/usr/lib/ruby/vendor_ruby/rack/builder.rb:55:in `initialize'
config.ru:1:in `new'
config.ru:1:in `<main>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `eval'
/usr/share/passenger/helper-scripts/rack-preloader.rb:112:in `preload_app'
/usr/share/passenger/helper-scripts/rack-preloader.rb:158:in `<module:App>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
/usr/share/passenger/helper-scripts/rack-preloader.rb:28:in `<main>'
安装的是:红宝石1.9.1,红宝石架,红宝石耙,红宝石乘客
我无法弄清楚问题。通常它应该在Foreman-installer安装后立即工作。
有人有想法吗?我是一个非常傀儡的Greenhorn,所以要温柔。;)
作为对sumid的回答:
不,不是真的,因为木偶是8140号港口。这里是我的netstat -a table:
Proto Recv-Q Send-Q本地地址外地地址
状态tcp 0 0 localhost:ipp :
LISTEN tcp 0 0 localhost:postgresql :
LISTEN tcp 0 0 localhost:59581 :
听取tcp 0 0 *:3389 :
LISTEN tcp 0 0 localhost:3350 :
LISTEN tcp 0 0 *:ssh :
LISTEN tcp 0 64 ubuntutest.infraser:ssh 172.17.75.185:62878 ESTABLISHED tcp6 0 0 localhost:ipp [::]:*
LISTEN tcp6 0 0 localhost:postgresql [::]:*
听取tcp6 0 0 [::]:https [::]:*
听取tcp6 0 0 [::]:8140 [::]:*
听取tcp6 0 0 [::]:http [::]:*
听取tcp6 0 0 [::]:ssh [::]:*
听取tcp6 1 0 localhost:44927 localhost:ipp
CLOSE_WAIT udp 0 0 *:ipp : udp
0 0 *:38570 : udp 0 0 ubuntutest.infraser:ntp : udp 0 0 localhost:ntp
: udp 0 0 *:ntp : udp 0 0 *:mdns : udp6 0 0 localhost:47575
localhost:47575 ESTABLISHED udp6 0 0 [::]:51315
[::]:* udp6 0 0 fe80 :: 250:56ff:fe9a:ntp [::]:* udp6 0 0 localhost:ntp [::]:* udp6 0 0 [::]:ntp
[::]:* udp6 0 0 [::]:mdns [::]:*