【问题标题】:gearmand: Could not open log file "/usr/local/var/log/gearmand.log"gearmand:无法打开日志文件“/usr/local/var/log/gearmand.log”
【发布时间】:2017-05-30 18:32:39
【问题描述】:

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

我在这里遗漏了什么吗?我试过安装各种版本的gearman,结果还是一样。 任何帮助请...

【问题讨论】:

标签: worker gearman


【解决方案1】:

/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.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-04-21
    • 1970-01-01
    • 1970-01-01
    • 2021-07-14
    • 2020-04-12
    • 2017-10-25
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多