按照文档来的,https://www.workerman.net/doc/webman/queue/redis.html
启动报错:
Press Ctrl+C to stop. Start success.
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#8 {main}
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#8 {main}
worker[redis_consumer:13184] exit with status 64000
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#8 {main}
worker[redis_consumer:13185] exit with status 64000
worker[redis_consumer:13186] exit with status 64000
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#8 {main}
worker[redis_consumer:13206] exit with status 64000
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#8 {main}
我是每秒执行的:2021-12-06 14:36:49 Timer组件
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#8 {main}
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#8 {main}
worker[redis_consumer:13188] exit with status 64000
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(542): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#8 {main}
worker[redis_consumer:13205] exit with status 64000
worker[redis_consumer:13187] exit with status 64000
worker[redis_consumer:13189] exit with status 64000
^CError: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1679): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1628): Workerman\Worker::monitorWorkersForLinux()
#8 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(544): Workerman\Worker::monitorWorkers()
#9 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#10 {main}
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1679): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1628): Workerman\Worker::monitorWorkersForLinux()
#8 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(544): Workerman\Worker::monitorWorkers()
#9 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#10 {main}
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1679): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1628): Workerman\Worker::monitorWorkersForLinux()
#8 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(544): Workerman\Worker::monitorWorkers()
#9 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#10 {main}
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1679): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1628): Workerman\Worker::monitorWorkersForLinux()
#8 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(544): Workerman\Worker::monitorWorkers()
#9 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#10 {main}
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1679): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1628): Workerman\Worker::monitorWorkersForLinux()
#8 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(544): Workerman\Worker::monitorWorkers()
#9 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#10 {main}
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1679): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1628): Workerman\Worker::monitorWorkersForLinux()
#8 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(544): Workerman\Worker::monitorWorkers()
#9 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#10 {main}
Workerman[start.php] stopping ...
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1679): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1628): Workerman\Worker::monitorWorkersForLinux()
#8 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(544): Workerman\Worker::monitorWorkers()
#9 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#10 {main}
Error: Class 'support\Container' not found in /www/wwwroot/webman.kissnimami.top/webman/vendor/webman/redis-queue/src/Process/Consumer.php:56
Stack trace:
#0 /www/wwwroot/webman.kissnimami.top/webman/support/helpers.php(276): Webman\RedisQueue\Process\Consumer->onWorkerStart()
#1 /www/wwwroot/webman.kissnimami.top/webman/start.php(149): worker_bind()
#2 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(2405): {closure}()
#3 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1542): Workerman\Worker->run()
#4 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1373): Workerman\Worker::forkOneWorkerForLinux()
#5 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1347): Workerman\Worker::forkWorkersForLinux()
#6 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1679): Workerman\Worker::forkWorkers()
#7 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(1628): Workerman\Worker::monitorWorkersForLinux()
#8 /www/wwwroot/webman.kissnimami.top/webman/vendor/workerman/workerman/Worker.php(544): Workerman\Worker::monitorWorkers()
#9 /www/wwwroot/webman.kissnimami.top/webman/start.php(156): Workerman\Worker::runAll()
#10 {main}
worker[redis_consumer:13231] exit with status 64000
worker[redis_consumer:13237] exit with status 64000
worker[redis_consumer:13234] exit with status 64000
worker[redis_consumer:13233] exit with status 64000
worker[redis_consumer:13239] exit with status 64000
worker[redis_consumer:13241] exit with status 64000
worker[redis_consumer:13242] exit with status 64000
worker[redis_consumer:13240] exit with status 64000
Workerman[start.php] has been stopped
你的是老版本webman,更新下webman。
更新可以用composer 更新吗 还是需要重新下载?