首页 » php » IM服务 共享进程启动之后,gateway其他无法启动问题

IM服务 共享进程启动之后,gateway其他无法启动问题

 

 [root@localhost workerman-chat]# php start.php start
Workerman[start.php] start in DEBUG mode
----------------------- WORKERMAN -----------------------------
Workerman version:3.3.6 PHP version:5.3.3
------------------------ WORKERS -------------------------------
user worker listen processes status
root ChatBusinessWorker none 4 [OK]
root ChatGateway websocket://0.0.0.0:2121 4 [OK]
root globalDataServer frame://0.0.0.0:22207 1 [OK]
----------------------------------------------------------------
Press Ctrl-C to quit. Start success.
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3 for detail
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3 for detail
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3 for detail
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3 for detail
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3 for detail
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3 for detail
 
GlobalData 组件服务端 启动后,register服务就起不来了
 
 
我用的 workermanchat  +的 GlobalData 组件服务端
 
start_globaldata.php
--------------------------------------------------------------
<?php
use WorkermanWorker;
require_once __DIR__ . '/../src/Server.php';
require_once __DIR__ . '/../../vendor/autoload.php';

// 监听端口
$GlobalDataworker = new GlobalDataServer('0.0.0.0', 22207);

Worker::runAll();

----------------------------------------------------------------
 
 
处理办法:
【群主】walkor(220*****56)  15:42:26
GlobalData里面Worker::runAll,去掉就好了

原文链接:IM服务 共享进程启动之后,gateway其他无法启动问题,转载请注明来源!

0