varnishlog 正在返回:
_.vsm: No such file or directory
有没有其他人见过这个?
最佳答案
它看起来像 Varnish 日志 未指向正确的目录,或无法访问它。
请检查 的命令行选项 Varnish .如果守护进程使用 -n <instancename>
运行参数,您必须将其添加到 Varnish 日志 以及。
第二件事,是查看varnish目录的权限。
为了查看当前使用的目录,您必须登录到 root 并运行以下命令:
$ lsof -p <PID of varnishd> | grep vsm
一旦显示,您只需确保完整路径对您的用户具有读取权限。
关于 Varnish 缓存日志不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12165818/