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并重启服务器没有运气。
由于
答案 0 :(得分:0)
This thread以及您从passenger-status
获得的初始错误表明您的Passenger安装出现了问题 - 缺少需要编译的库。是否重新安装Passenger是一个现实的故障排除步骤?
(编辑实际建议有用的东西:)