php start.php restart -d 启动报错

songfuqi

问题描述

php start.php restart -d 启动报错

报错信息

[root@songfuqi168 webman]# php start.php restart -d
Workerman[start.php] restart
Workerman[start.php] is stopping ...
Workerman[start.php] stop success
stream_socket_server(): unable to connect to tcp://0.0.0.0:8787 (Address already in use) in file /www/wwwroot/webman/vendor/workerman/workerman/Worker.php on line 2449
PHP Fatal error: Uncaught Exception: Address already in use in /www/wwwroot/webman/vendor/workerman/workerman/Worker.php:2451
Stack trace:

0 /www/wwwroot/webman/vendor/workerman/workerman/Worker.php(700): Workerman\Worker->listen()

1 /www/wwwroot/webman/vendor/workerman/workerman/Worker.php(557): Workerman\Worker::initWorkers()

2 /www/wwwroot/webman/vendor/workerman/webman-framework/src/support/App.php(136): Workerman\Worker::runAll()

3 /www/wwwroot/webman/start.php(4): support\App::run()

4 {main}

thrown in /www/wwwroot/webman/vendor/workerman/workerman/Worker.php on line 2451

Fatal error: Uncaught Exception: Address already in use in /www/wwwroot/webman/vendor/workerman/workerman/Worker.php:2451
Stack trace:

0 /www/wwwroot/webman/vendor/workerman/workerman/Worker.php(700): Workerman\Worker->listen()

1 /www/wwwroot/webman/vendor/workerman/workerman/Worker.php(557): Workerman\Worker::initWorkers()

2 /www/wwwroot/webman/vendor/workerman/webman-framework/src/support/App.php(136): Workerman\Worker::runAll()

3 /www/wwwroot/webman/start.php(4): support\App::run()

4 {main}

thrown in /www/wwwroot/webman/vendor/workerman/workerman/Worker.php on line 2451

91 1 0
1个回答

×
🔝