小编ABC*_*ABC的帖子

致命:无法创建交换目录 /var/cache/squid:(13) 权限被拒绝

我已在 Slackware 14.2 中成功安装并配置了 Squid Proxy Server 3.5.26。我当前以 root 用户身份登录,使用以下命令启动 Squid 时出现错误sudo squid -z

WARNING: Cannot write log file: /var/log/squid/cache.log
/var/log/squid/cache.clog: Permission Denied
messages will be sent to 'stderr'

2019/04/08  16:16:20 kid1| Set Current Directory to 
/var/log/squid/cache/squid
2019/04/08  16:16:20 kid1| Creating missing swap directories

FATAL: Failed to make swap directory /var/cache/squid: (13) Permission Denied
Squid Cache (Version  3.5.26): Terminated abnormally.
CPU Usage: 0.008 seconds = 0.006 user + 0.002 sys
Maximum Resident Size: 45392 KB
Page faults with …
Run Code Online (Sandbox Code Playgroud)

linux proxy permissions squid ubuntu

3
推荐指数
1
解决办法
9705
查看次数

标签 统计

linux ×1

permissions ×1

proxy ×1

squid ×1

ubuntu ×1