Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚在 Centos 5.6 64b 上安装了 GoAccess 0.8,当我运行命令 goaccess -f / var/log/apache2/access.log -a 时,窗口 FORMAT LOG CONFIGURATION,但如果我选择任何格式会出现错误:
发生错误错误发生在:parser.c - parse_log - 1059 消息:没有这样的文件或目录
我应该如何进行?我不是Linux专家。
谢谢
GoAccess 似乎无法加载您的日志文件。确保/var/log/apache2/access.log存在并且您有权读取它。
/var/log/apache2/access.log
此外,在 CentOS 中,默认情况下日志记录在/var/log/httpd/access_log而不是/var/log/apache2/access.log.
/var/log/httpd/access_log