如何重新启动 phusion 乘客?
rails@george:/srv/fsg_distro$ sudo passenger-status
*** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one...
# mkdir -p /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/ruby-1.8.7-x86_64-linux
# cd /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/ruby-1.8.7-x86_64-linux
# /usr/bin/ruby '/usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/extconf.rb'
checking for alloca.h... yes
checking for ruby/io.h... no
creating Makefile
# make
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby -DHAVE_ALLOCA_H -fPIC -g -O2 -g -c /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/passenger_native_support.c
gcc -shared -o passenger_native_support.so passenger_native_support.o -L. -L/usr/lib -Wl,-R/usr/lib -L. -rdynamic -Wl,-export-dynamic
ERROR: Phusion Passenger doesn't seem to be running.
我的设置工作得很好,但由于某种原因,我上次部署它杀死了 phusion 乘客,我不知道如何重新启动它。有什么想法吗?
我正在将乘客作为 apache 模块(mod Rails)运行。我尝试过重新启动 apache 并重新启动服务器,但没有成功。
谢谢
rails@george:/srv/fsg_distro$ sudo passenger-status
*** Phusion Passenger: no passenger_native_support.so found for the current Ruby interpreter. Compiling one...
# mkdir -p /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/ruby-1.8.7-x86_64-linux
# cd /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/ruby-1.8.7-x86_64-linux
# /usr/bin/ruby '/usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/extconf.rb'
checking for alloca.h... yes
checking for ruby/io.h... no
creating Makefile
# make
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby -DHAVE_ALLOCA_H -fPIC -g -O2 -g -c /usr/lib/ruby/gems/1.8/gems/passenger-3.0.0/ext/ruby/passenger_native_support.c
gcc -shared -o passenger_native_support.so passenger_native_support.o -L. -L/usr/lib -Wl,-R/usr/lib -L. -rdynamic -Wl,-export-dynamic
ERROR: Phusion Passenger doesn't seem to be running.
My set up was working just fine but for some reason the last time I deployed it killed phusion passenger and I'm not sure how to restart it. Any ideas?
I am running passenger as an apache module (mod rails). I have tried restarting apache and rebooting the server with no luck.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
此帖子和您从
passenger-status
收到的初始错误表明您的 Passenger 安装出现问题 - 缺少需要编译的库。重新安装 Passenger 是一个现实的故障排除步骤吗?(编辑实际上建议了一些有用的东西:)
This thread and the initial error you're getting from
passenger-status
suggest something's wrong with your Passenger installation - missing libraries which need to be compiled. Is reinstalling Passenger a realistic troubleshooting step here?(edited to actually suggest something useful :)