Welcome! Log In Create A New Profile

Advanced

passenger logging agent error in deployment with passenger+nginx

Qiang Li
March 28, 2015 04:24AM
I install passenger+nginx on centos 6.5 by:

gem install passenger
passenger-install-nginx-module

everything is ok during the installation, then I run:

sudo ~/nginx/sbin/nginx

and get the error messageļ¼š
nginx: [alert] Unable to start the Phusion Passenger watchdog because it
encountered the following error during startup: Unable to start the
Phusion Passenger logging agent: it seems to have crashed during startup
for an unknown reason, with exit code 1 (-1: Unknown error)

Also I run:

sudo ~/nginx/sbin/nginx -t

get the same message:

nginx: the configuration file /home/lq/nginx/conf/nginx.conf syntax is
ok
nginx: [alert] Unable to start the Phusion Passenger watchdog because it
encountered the following error during startup: Unable to start the
Phusion Passenger logging agent: it seems to have crashed during startup
for an unknown reason, with exit code 1 (-1: Unknown error)
nginx: configuration file /home/lq/nginx/conf/nginx.conf test is
successful

If I run nginx or passenger standalone, both of them is ok (no error
when I run passenger). But it seems they can't work together.
Can anyone tell me something about it? thanks!

My system is:

ruby 2.1.0
rails 4.2.1
gem 2.4.6
passenger 5.0.5
nginx 1.6.2

--
Posted via http://www.ruby-forum.com/.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

passenger logging agent error in deployment with passenger+nginx

Qiang Li March 28, 2015 04:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 287
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready