gearmand:无法打开日志文件" /usr/local/var/log/gearmand.log"

时间:2017-05-30 18:32:40

标签: worker gearman

我试图在我的Ubuntu 12.04中安装gearman。 实际安装成功。但是当我启动守护进程时,我收到了这个错误。 gearmand:无法打开日志文件" /usr/local/var/log/gearmand.log"从xxxx切换到stderr。 (没有这样的文件或目录)

我在这里遗漏了什么?我尝试安装各种版本的gearman,结果仍然相同。 任何帮助请...

1 个答案:

答案 0 :(得分:2)

/usr/local/var/log/gearmand.log--log-file选项的默认值。

请参阅gearmand --help

  -l [ --log-file ] arg (=/usr/local/var/log/gearmand.log)
                                        Log file to write errors and 
                                        information to. If the log-file 
                                        parameter is specified as 'stderr', 
                                        then output will go to stderr. If 
                                        'none', then no logfile will be 
                                        generated.
相关问题