Search code examples
ubuntunginxfastcgihhvmpuphpet

Port 9000 not listed


I am using puphpet with ubuntu/nginx/hhvm.

Everything works well until I restart the virtual machine. After vagrant reload or halt/up I get a 502 error. I notice that after one of mentioned actions the port 9000 is not listed. I have to restart the hhvm service to get the port started.

How can i make this port (9000) to be listed at virtual machine start?


Solution

  • The HHVM getting started wiki page indicates the likely solution to this. (I think it's also printed on the console when you apt-get install hhvm):

    sudo update-rc.d hhvm defaults