DEBUG模式正常,DAEMON模式也成功啟動(dòng),但是status卻是not run
DEBUG模式正常,如下所示
[root@VM-20-191-centos wmserver]# php worker_think.php start
Workerman[worker_think.php] start in DEBUG mode
------------------------------------------- WORKERMAN --------------------------------------------
Workerman version:4.0.19 PHP version:5.4.45
-------------------------------------------- WORKERS ---------------------------------------------
proto user worker listen processes status
ssl root none websocket://0.0.0.0:1234 1 [OK]
--------------------------------------------------------------------------------------------------
Press Ctrl+C to stop. Start success.
DAEMON模式也成功啟動(dòng),如下所示
[root@VM-20-191-centos wmserver]# php worker_think.php start -d
Workerman[worker_think.php] start in DAEMON mode
------------------------------------------- WORKERMAN --------------------------------------------
Workerman version:4.0.19 PHP version:5.4.45
-------------------------------------------- WORKERS ---------------------------------------------
proto user worker listen processes status
ssl root none websocket://0.0.0.0:1234 1 [OK]
--------------------------------------------------------------------------------------------------
Input "php worker_think.php stop" to stop. Start success.
status卻是not run,實(shí)際也無法通信
[root@VM-20-191-centos wmserver]# php worker_think.php status
Workerman[worker_think.php] status
Workerman[worker_think.php] not run
系統(tǒng)CentOS 7.2
Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 mod_perl/2.0.9dev Perl/v5.16.3