VPS 上的鱿鱼代理帮助

发布于 2024-08-29 22:50:27 字数 2754 浏览 6 评论 0原文

在过去的两天里,我尝试在我的 hostgator vps 上安装鱿鱼缓存代理。

我已经一路走到了打开鱿鱼服务的地步,但总是在鱿鱼日志中出现相同的问题“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%

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

服务器正在运行 CentOS 5。

任何帮助将不胜感激!

我将其配置为仅允许通过 ncsa 登录进行访问。

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

I've spent the past 2 days attempt an install of squid caching proxy on my hostgator vps.

I've gotten all the way up to the point where I turn the squid service on and always end up with the same issue "ipcCreate: /usr/lib/squid/ncsa_auth: (13) Permission denied" in the squid log.

Here is the log from squid itself:

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%

I am logged in as root when I attempt to load squid.

Server is running CentOS 5.

Any help would be greatly appreciated!

I have it configure to only allow access through an ncsa login.

** I'm running the latest compiled version of squid proxy v3.1.1

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

灯角 2024-09-05 22:50:27

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

I know squid setup can be quite daunting as I myself had to do it before. Have you taken a look at "varnish"? It has an easier setup and may be easier to install.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文