2014-10-02 211 views
2

我想配置我的服务器在Ubuntu 14.04上运行使用HHVM。我没有真正安装它的问题,但让它运行是另一回事。我试图通过萨拉Golemon推荐的命令并从以下命令收到以下错误:安装HHVM错误

hhvm --mode server -vServer.Type=fastcgi -vServer.Port=9000

错误:

mapping self... 
mapping self took 0'00" (850613 us) wall time 
loading static content... 
loading static content took 0'00" (0 us) wall time 
WARNING: Logging before InitGoogleLogging() is written to STDERR 
E1002 18:00:48.646344 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
shutting down old HPHP server by /stop command 
E1002 18:00:49.659973 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:50.673045 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:51.686043 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:52.699100 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:53.712280 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:54.725271 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:55.738396 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:56.751373 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:57.764286 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:58.777184 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:00:59.790115 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:00.803050 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:01.815943 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:02.829088 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:03.842411 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:04.855499 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:05.868418 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:06.881392 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:07.894340 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:08.907320 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:09.920305 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:10.933312 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:11.946321 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:12.959223 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:13.972154 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:14.985043 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:15.997900 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:17.010850 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:18.023761 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:19.036653 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:20.049598 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:21.062446 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:22.075346 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:23.088186 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:24.101089 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:25.114043 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:26.127012 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:27.139890 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:28.152781 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:29.165693 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:30.178823 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:31.191797 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:32.204766 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:33.217674 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:34.230551 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:35.243446 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:36.256441 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:37.269491 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:38.282589 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:39.295550 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:40.308421 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:41.321308 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:42.334256 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:43.347374 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:44.360455 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:45.373364 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:46.386343 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:47.399708 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:48.412644 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
E1002 18:01:49.425597 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
shutting down old HPHP server by pid file 
Unable to read pid file www.pid for any meaningful pid 
E1002 18:01:50.425833 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
Unable to read pid file www.pid for any meaningful pid 
E1002 18:01:51.426054 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
Unable to read pid file www.pid for any meaningful pid 
E1002 18:01:52.426269 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
Unable to read pid file www.pid for any meaningful pid 
E1002 18:01:53.426494 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
Unable to read pid file www.pid for any meaningful pid 
E1002 18:01:54.426728 12377 fastcgi-server.cpp:234] failed to bind to async server socket: [::]:9000: Address already in use 
killing anything listening on port 9000 
page server started 
all servers started 

谁能帮我把这个正常运行?

回答

2

这个错误是由于别的东西(也许php-fpm)已经绑定到端口9000.你可以停止这个过程(类似于lsof -i | grep 9000会告诉你它是什么),或者使用不同的端口(比如9001)为HHVM。

+0

非常感谢。如果我有任何问题,我会尝试这种方法并回复给您(否则我会接受此答案)。只是不确定'www.pid'在引用什么。 – 2014-10-03 00:22:49

+0

它似乎挂在终端,如果我把它映射到端口9001. – 2014-10-03 01:20:14

+0

它不挂,它运行良好。让你的网络服务器在9001端口上谈话,你是金牌。 – 2014-10-03 01:24:34