2016/02/16 15:00:36| /data/cache/swap.state: (13) Permission denied
FATAL: commonUfsDirOpenSwapLog: Failed to open swap log.
Squid Cache (Version 3.1.23): Terminated abnormally.
CPU Usage: 0.048 seconds = 0.030 user + 0.018 sys
Maximum Resident Size: 34160 KB
解决:
先看一下squid.conf里有没有设置
view plain
cache_swap_log /var/log/squid/swap.log squid
如果没有设置的话,先设置上
然后运行
chown -R squid:squid /data/cache/
之前如果没有运行以下命令,也要运行
chown -R squid:squid /var/log/squid/
时间: 2024-10-27 16:19:47