Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

[FAIL] hhvm is not running ... failed!

_lei_lei Member
edited October 2014 in Help

Hi,
I installed on debian7,x86_64 system ,and installed the hhvm as fastcgi with nginx.
But the hhvm alwasy failed.

`root@www:~# /etc/init.d/hhvm status

[FAIL] hhvm is not running ... failed!

root@www:~# /etc/init.d/hhvm start

root@www:~# /etc/init.d/hhvm status

[FAIL] hhvm is not running ... failed!

This is my configure files:

root@www :~# cat /etc/hhvm/server.ini

; php options

pid = /var/run/hhvm/pid

; hhvm specific

hhvm.server.file_socket=/var/run/hhvm/hhvm.sock

;hhvm.server.port = 9000

hhvm.server.type = fastcgi

hhvm.server.default_document = index.php

hhvm.log.use_log_file = true

hhvm.log.file = /var/log/hhvm/error.log

hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc

root@www :~# cat /var/log/hhvm/error.log
Core dumped: Aborted
Core dumped: Aborted

root@www :~# cat /etc/nginx/hhvm.conf

location ~ .(hh|php)$ {

fastcgi_keep_conn on;

fastcgi_pass unix:/var/run/hhvm/hhvm.sock;

fastcgi_pass 127.0.0.1:9000;

fastcgi_index index.php;

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

include fastcgi_params;

}

root@www :~# cat /etc/nginx/sites-enabled/www.vpsotss.com

server {

listen 80 default_server;

root /wwwroot/www.vpstoss.com;

index index.html index.htm index.php;

access_log /var/log/nginx/www.vpstoss.com.access.log ;

server_name www.vpstoss.com vpstoss.com;

include hhvm.conf;

location / {

try_files $uri $uri/ /index.php?$args;

}

}

root@www:~# php -v

HipHop VM 3.3.0 (rel)
Compiler: tags/HHVM-3.3.0-0-g0a3cfb87b8a353fc7e1d15374f4adc413e37aba9
Repo schema: 9a391d9a03e15fccba1cde6d35c05b7cdd380238
Extension API: 20140829`

Comments

Sign In or Register to comment.