为了账号安全,请及时绑定邮箱和手机立即绑定

workerman启动一直报错process terminated

workerman启动一直报错process terminated

PHP
米琪卡哇伊 2019-03-05 14:39:19
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文件
查看完整描述

1 回答

?
梦里花落0921

TA贡献1772条经验 获得超6个赞

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

查看完整回答
反对 回复 2019-03-18
  • 1 回答
  • 0 关注
  • 6337 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信