问题与乘客 - 阿帕奇 [英] Issue with Passenger - Apache

查看:192
本文介绍了问题与乘客 - 阿帕奇的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在运行与Ubuntu 10.04 LTS一个的Linode片。我得到一个500内部服务器错误。

Running in a Linode slice with Ubuntu 10.04 LTS. I am getting a 500 Internal Server Error.

在Apache日志有:

The Apache log has:

的Apache / 2.2.14(Ubuntu的)Phusion_Passenger / 2.2.7配置 - 恢复正常运作。

Apache/2.2.14 (Ubuntu) Phusion_Passenger/2.2.7 configured -- resuming normal operations

抓SIGTERM,关停

caught SIGTERM, shutting down

* 的乘客不能因为这个错误的初始化/ phusion_passenger /乘客产卵服务器,不存在。请检查PassengerRoot'选项是否正确指定。

* Passenger could not be initialized because of this error: The Passenger spawn server script, '/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.0/lib/phusion_passenger/passenger-spawn-server', does not exist. Please check whether the 'PassengerRoot' option is specified correctly.

但是,当我们运行:
sudo的乘客安装-Apache2的模块。乘客不抱怨。

But when we run: sudo passenger-install-apache2-module. Passenger does not complain.

在重新启动,我们得到:
须藤/etc/init.d/apache2重启
 *重新启动Web服务器的Apache2
[周六10月23日23:58:30 2010] [警告]模块passenger_module已经加载,跳绳
 ......等待[周六10月23日23时58分31秒2010] [警告]模块passenger_module已经加载,跳绳
   ...完成。

On restart we get: sudo /etc/init.d/apache2 restart * Restarting web server apache2 [Sat Oct 23 23:58:30 2010] [warn] module passenger_module is already loaded, skipping ... waiting [Sat Oct 23 23:58:31 2010] [warn] module passenger_module is already loaded, skipping ...done.

任何想法?

在此先感谢!

推荐答案

尝试(重新)安装本地Apache模块(在安装后,创业板)

Try (re)installing the native apache module (after installing the gem)

apt-get install libapache2-mod-passenger

我觉得我有同样的问题,它的工作之后。

I think I had the same problem and it worked after that.

祝你好运!

这篇关于问题与乘客 - 阿帕奇的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆