workerman启动一直报错process terminated

发布于 2022-09-11 17:38:53 字数 1957 浏览 11 评论 0

php start.php start
Workerman[start.php] start in DEBUG mode
----------------------------------------------- WORKERMAN ------------------------------------------------
Workerman version:3.5.15          PHP version:7.1.26-1+ubuntu16.04.1+deb.sury.org+1
------------------------------------------------ WORKERS -------------------------------------------------
proto   user            worker                listen                        processes    status           
tcp     vagrant         ChatBusinessWorker    none                          4             [OK]            
tcp     vagrant         ChatGateway           websocket://127.0.0.1:9526    4             [OK]            
tcp     vagrant         Register              text://127.0.0.1:1239         1             [OK]            
tcp     vagrant         globalDataServer      frame://0.0.0.0:2207          1             [OK]            
----------------------------------------------------------------------------------------------------------
Press Ctrl+C to stop. Start success.
Worker[3078] process terminated
Worker[3075] process terminated
Worker[3076] process terminated
Worker[3077] process terminated
Worker[3086] process terminated
Worker[3085] process terminated
Worker[3088] process terminated
Worker[3087] process terminated
Worker[3092] process terminated
Worker[3089] process terminated
Worker[3090] process terminated
Worker[3091] process terminated
Worker[3096] process terminated
Worker[3098] process terminated
Worker[3097] process terminated
Worker[3099] process terminated
Worker[3101] process terminated
^CWorkerman[start.php] stopping ...
Exception: getAllGatewayAddressesFromRegister fail. tcp://127.0.0.1:1239 return false in /home/vagrant/website/websocket/vendor/workerman/gatewayclient/Gateway.php:834
Stack trace:

============补充========
这是log文件

clipboard.png

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

盛夏已如深秋| 2022-09-18 17:38:53

worker里的代码有异常或有die,exit等导致进程结束,检查workerman日志文件

全部不再 2022-09-18 17:38:53

workerman有视频教程,挺不错的。网址: https://study.163.com/course/...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文