Error running phusion passenger in standalone mode

Posted by msidell on Pro Webmasters See other posts from Pro Webmasters or by msidell
Published on 2012-04-04T16:41:02Z Indexed on 2012/04/04 17:42 UTC
Read the original article Hit count: 265

Filed under:

I'm trying to run standalone phusion passenger so that I can run different ruby rvm configurations on the same host. I already have ruby and passenger running fine on this host.

I am following the instructions here.

When I run standalone passenger the first time, it appears to successfully install nginx. But then when it tries to run, I get this error:

[root@clark directra]# passenger start -a 127.0.0.1 -p 3001 -d --user dweb                                
*** ERROR ***
Could not start Passenger Nginx core:
nginx: [alert] could not open error log file: open()
"/tmp/passenger-standalone.16757/logs/error.log" failed (2: No such file or  directory)
nginx: [alert] Unable to start the Phusion Passenger watchdog
(/var/lib/passenger-standalone/3.0.11-x86-ruby1.9.3-linux-gcc4.1.2-1002/support/
agents/PassengerWatchdog): Permission denied (13) (13: Permission denied)
Stopping web server... done

FWIW, /tmp is writeable. Any idea what's wrong?

© Pro Webmasters or respective owner

Related posts about ruby-on-rails