Phusion passenger-status: what value for passenger_instance_registry_dir?

后端 未结 4 1642
感动是毒
感动是毒 2020-12-31 05:54

I\'ve done a new install of nginx 1.6.3 and passenger 5.0.15 on Ubuntu 14.04 from source in order to add tracing components from AppNeta for my ROR 4.2 app on one of my serv

4条回答
  •  长情又很酷
    2020-12-31 06:24

    step one check phusion passenger is installed correctly

    sudo passenger-config validate-install
    

    "if you see an ouput saying, 'Everything is looks good :-)'" then you are fine, if not you need to reinstall phusion passenger, refer to https://www.phusionpassenger.com/library/walkthroughs/start/

    step two check the phusion passenger memory status

    sudo passenger-memory-stats
    

    "if you see processes running, then that's good, if not you either have to start some passenger app, or install nginx or apache with extra library for them. For nginx you need nginx and the nginx-extras".

    step three uncomment the passenger_root in the nginx.conf file (for ubuntu it's usually /etc/nginx/nginx.conf) or the apache.conf file

    restart nginx or apache

    sudo service nginx restart # (or systemctl restart nginx, for new version of linux such as ubuntu 15.04, CentOS7)
    

    now you can run

    passenger-status 
    

    the error should go away now. The mostly likely output you will get is saying "Phusion Passenger is currently not serving any applications."

提交回复
热议问题