安装HHVM错误

时间:2014-10-02 22:08:32

标签: fastcgi ubuntu-14.04 hhvm

我正在尝试配置在Ubuntu 14.04上运行的服务器以使用HHVM。我实际安装它没有任何问题,但让它运行是另一个故事。我尝试了Sara Golemon推荐的命令,并从以下命令收到以下错误:

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

有人可以帮助我正确运行吗?

1 个答案:

答案 0 :(得分:2)

该错误是由于其他东西(可能是php-fpm)已绑定到端口9000.您可以停止该过程(类似lsof -i | grep 9000会告诉您它是什么),或者使用不同的端口(比如说,9001)for HHVM。