帮助VPS上的squid代理

时间:2010-04-21 20:47:02

标签: proxy centos squid

我花了两天时间尝试在hostgator vps上安装squid缓存代理。

我已经完成了一直到我打开squid服务的地步并且总是在鱿鱼中遇到同样的问题“ipcCreate:/ usr / lib / squid / ncsa_auth:(13)权限被拒绝”日志中。

这是鱿鱼本身的日志:

2010/04/20 16:12:58| helperOpenServers: Starting 5/5 'ncsa_auth' processes
2010/04/20 16:12:58| ipcCreate: /usr/lib/squid/ncsa_auth: (13) Permission denied
2010/04/20 16:12:58| ipcCreate: /usr/lib/squid/ncsa_auth: (13) Permission denied
2010/04/20 16:12:58| ipcCreate: /usr/lib/squid/ncsa_auth: (13) Permission denied
2010/04/20 16:12:58| ipcCreate: /usr/lib/squid/ncsa_auth: (13) Permission denied
2010/04/20 16:12:58| ipcCreate: /usr/lib/squid/ncsa_auth: (13) Permission denied
2010/04/20 16:12:58| Unlinkd pipe opened on FD 22
2010/04/20 16:12:58| Store logging disabled
2010/04/20 16:12:58| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2010/04/20 16:12:58| Target number of buckets: 1008
2010/04/20 16:12:58| Using 8192 Store buckets
2010/04/20 16:12:58| Max Mem  size: 262144 KB
2010/04/20 16:12:58| Max Swap size: 0 KB
2010/04/20 16:12:58| Using Least Load store dir selection
2010/04/20 16:12:58| chdir: /usr/local/squid/var/cache: (2) No such file or directory
2010/04/20 16:12:58| Current Directory is /usr/src
2010/04/20 16:12:58| Loaded Icons.
2010/04/20 16:12:58| Accepting  HTTP connections at [::]:8854, FD 23.
2010/04/20 16:12:58| HTCP Disabled.
2010/04/20 16:12:58| Squid modules loaded: 0
2010/04/20 16:12:58| Ready to serve requests.
2010/04/20 16:12:58| WARNING: basicauthenticator #5 (FD 16) exited
2010/04/20 16:12:58| WARNING: basicauthenticator #4 (FD 14) exited
2010/04/20 16:12:58| WARNING: basicauthenticator #3 (FD 12) exited
2010/04/20 16:12:58| WARNING: basicauthenticator #2 (FD 10) exited
2010/04/20 16:12:58| Too few basicauthenticator processes are running
2010/04/20 16:12:58| storeDirWriteCleanLogs: Starting...
2010/04/20 16:12:58|   Finished.  Wrote 0 entries.
2010/04/20 16:12:58|   Took 0.00 seconds (  0.00 entries/sec).
FATAL: The basicauthenticator helpers are crashing too rapidly, need help!

Squid Cache (Version 3.1.1): Terminated abnormally.
CPU Usage: 0.018 seconds = 0.007 user + 0.011 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
        total space in arena:    3164 KB
        Ordinary blocks:         3042 KB      8 blks
        Small blocks:               0 KB      0 blks
        Holding blocks:          1680 KB      7 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:     121 KB
        Total in use:            4722 KB 149%
        Total free:               121 KB 4%

当我尝试加载squid时,我以root身份登录。

服务器正在运行CentOS 5.

非常感谢任何帮助!

我让它配置为只允许通过ncsa登录访问。

**我正在运行squid代理v3.1.1的最新编译版本

1 个答案:

答案 0 :(得分:0)

我知道鱿鱼设置可能非常令人生畏,因为我以前必须这样做。你看过“清漆”了吗?它设置更简单,可能更容易安装。