请问在linux下出现的这些问题怎么解决呢

lfwoaizkx

PHP Warning: stream_socket_server(): unable to connect to tcp://192.168.1.2:33051 (Address already in use) in /fanna/fanna_project/web_nana/Workerman/Worker.php on line 1208
PHP Fatal error: Uncaught exception 'Exception' with message 'Address already in use' in /fanna/fanna_project/web_nana/Workerman/Worker.php:1211

这个是放在linux下的错误,在windows下面是合适的,看起来好像是端口被占用了,可是整台服务器只有我的这一个项目;而且后面的端口一直在变化;请帮忙看下。 而且 想这个33051 查询了下根本就没有用。

wokerman.log 里面是这样的:

2015-08-18 06:13:29 worker exit with status 11
2015-08-18 06:13:29 worker exit with status 11
2015-08-18 06:13:29 worker exit with status 11
2015-08-18 06:13:29 worker exit with status 11
2015-08-18 06:13:29 worker exit with status 11
2015-08-18 06:13:29 worker exit with status 11
2015-08-18 06:13:29 worker exit with status 11
2015-08-18 06:13:29 worker exit with status 11
2015-08-18 06:13:29 worker exit with status 11

3386 2 0
2个回答

walkor

端口占用问题:
贴start_gateway.php,还有相关其它配置。是否有多个gateway?

2015-08-18 06:13:29 worker exit with status 11:
应该是某个扩展的bug导致,可以把不需要的扩展全部php.ini注释掉,如果不行重新编译php,不需要的扩展尽量不装,尤其是第三方的扩展

  • 暂无评论
tang

肯定是某个扩展安装的不对,逐个排除后,重新安装有问题的扩展即可

  • 暂无评论
年代过于久远,无法发表回答
🔝