2014-10-02 231 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