can not save pid to /data/daichuqu/crm/workerman.pid

lengkongqi

执行 php Index.php Exh/Workerman/index start

提示
can not save pid to /data/daichuqu/crm/workerman.pid
FILE: /dataplanner/planner/Application/Workerman/Worker.php(810)

0 /dataplanner/planner/Application/Workerman/Worker.php(420): Workerman\Worker::saveMasterPid()

1 /dataplanner/planner/Application/Exh/Controller/WorkermanController.class.php(76): Workerman\Worker::runAll()

2 : Exh\Controller\WorkermanController->index()

3 /dataplanner/planner/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Exh\Controller\WorkermanController))

4 /dataplanner/planner/ThinkPHP/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Exh\Controller\WorkermanController), 'index')

5 /dataplanner/planner/ThinkPHP/Library/Think/App.class.php(204): Think\App::exec()

6 /dataplanner/planner/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()

7 /dataplanner/planner/ThinkPHP/ThinkPHP.php(97): Think\Think::start()

8 /dataplanner/planner/Index.php(26): require('/dataplanner/pl...')

这个什么原因呢 测试环境是ok的 线上环境就提示这个了 求大神解决

6245 3 0
3个回答

damao

/data/daichuqu/crm/
估计是没权限,或者目录不存在。

  • 暂无评论
lengkongqi

非常感谢

  • 暂无评论
ayamzh

chmod -R 777 /path

  • 暂无评论
年代过于久远,无法发表回答
🔝