LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: xxx8u8

失败的菜鸟安装squid N次失败的过程

[复制链接]
 楼主| 发表于 2006-3-16 10:21:45 | 显示全部楼层
user 是squid
chdir: /var/spool/squid: (13) Permission denied这个问题已经解决 但是客户机还是不能够通过我上网
当前的启动日志为:
[root@localhost ~]# /usr/local/squid/sbin/squid -N -d1
2006/03/16 10:17:00| unrecognised basic auth scheme parameter 'casesensitive'
2006/03/16 10:17:00| Starting Squid Cache version 2.5.STABLE6 for i686-pc-linux-gnu...
2006/03/16 10:17:00| Process ID 10654
2006/03/16 10:17:00| With 1024 file descriptors available
2006/03/16 10:17:00| Performing DNS Tests...
2006/03/16 10:17:00| Successful DNS name lookup tests...
2006/03/16 10:17:00| DNS Socket created at 0.0.0.0, port 33433, FD 4
2006/03/16 10:17:00| Adding nameserver 202.98.96.68 from /etc/resolv.conf
2006/03/16 10:17:00| Adding nameserver 61.139.2.69 from /etc/resolv.conf
2006/03/16 10:17:00| Unlinkd pipe opened on FD 9
2006/03/16 10:17:00| Swap maxSize 102400 KB, estimated 7876 objects
2006/03/16 10:17:00| Target number of buckets: 393
2006/03/16 10:17:00| Using 8192 Store buckets
2006/03/16 10:17:00| Max Mem  size: 8192 KB
2006/03/16 10:17:00| Max Swap size: 102400 KB
2006/03/16 10:17:00| Rebuilding storage in /usr/local/squid/var/cache (CLEAN)
2006/03/16 10:17:00| Using Least Load store dir selection
2006/03/16 10:17:00| Set Current Directory to /var/spool/squid
2006/03/16 10:17:00| Loaded Icons.
2006/03/16 10:17:00| Accepting HTTP connections at 0.0.0.0, port 3128, FD 10.
2006/03/16 10:17:00| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
2006/03/16 10:17:00| WCCP Disabled.
2006/03/16 10:17:00| Ready to serve requests.
2006/03/16 10:17:01| Done scanning /usr/local/squid/var/cache swaplog (0 entries)
2006/03/16 10:17:01| Finished rebuilding storage from disk.
2006/03/16 10:17:01|         0 Entries scanned
2006/03/16 10:17:01|         0 Invalid entries.
2006/03/16 10:17:01|         0 With invalid flags.
2006/03/16 10:17:01|         0 Objects loaded.
2006/03/16 10:17:01|         0 Objects expired.
2006/03/16 10:17:01|         0 Objects cancelled.
2006/03/16 10:17:01|         0 Duplicate URLs purged.
2006/03/16 10:17:01|         0 Swapfile clashes avoided.
2006/03/16 10:17:01|   Took 1.1 seconds (   0.0 objects/sec).
2006/03/16 10:17:01| Beginning Validation Procedure
2006/03/16 10:17:01|   Completed Validation Procedure
2006/03/16 10:17:01|   Validated 0 Entries
2006/03/16 10:17:01|   store_swap_size = 0k
2006/03/16 10:17:02| storeLateRelease: released 0 objects
2006/03/16 10:20:11| Preparing for shutdown after 0 requests
2006/03/16 10:20:11| Waiting 0 seconds for active connections to finish
2006/03/16 10:20:11| FD 10 Closing HTTP connection
2006/03/16 10:20:13| Shutting down...
2006/03/16 10:20:13| FD 11 Closing ICP connection
2006/03/16 10:20:13| Closing unlinkd pipe on FD 9
2006/03/16 10:20:13| storeDirWriteCleanLogs: Starting...
2006/03/16 10:20:13|   Finished.  Wrote 0 entries.
2006/03/16 10:20:13|   Took 0.0 seconds (   0.0 entries/sec).
回复 支持 反对

使用道具 举报

发表于 2006-3-16 10:25:14 | 显示全部楼层
/usr/local/squid/sbin/squid -z 初始化先
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-16 10:54:50 | 显示全部楼层
Post by keithoy
/usr/local/squid/sbin/squid -z 初始化先


谢谢这位朋友 我在开始配置squid.conf之前已经作过了初始化
回复 支持 反对

使用道具 举报

发表于 2006-3-16 11:26:58 | 显示全部楼层
如果你修改了squid.conf,而且是关于cache的目录的,那么必须重新初始化!
回复 支持 反对

使用道具 举报

发表于 2006-3-17 10:24:10 | 显示全部楼层
你没有打开包转发吧。。
ip_forword=1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-17 13:47:14 | 显示全部楼层
Post by lhc9732
你没有打开包转发吧。。
ip_forword=1


我现在刚接触linux 只想做个普通的代理服务器 还不想搞成透明代理 只想只想让内网的机器通过我 代理上网 搞了这么几天了 这个问题还没有解决 真的急阿
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-17 13:49:44 | 显示全部楼层
参照上面的朋友们提出的解决方案 都试过了 还是行不通 运行netstat -ntl 命令 squid一直在进程中 也在侦听 192.168.0.193的808端口 可就是无法提供代理让客户机上网
回复 支持 反对

使用道具 举报

发表于 2006-3-17 16:31:39 | 显示全部楼层
将你的squid的完整配置文件传上来,让大家帮你看看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-17 21:10:23 | 显示全部楼层
就是采用的原版配置文件 只修改了上面提到的几样 其余的都没有动
回复 支持 反对

使用道具 举报

发表于 2006-3-17 21:14:45 | 显示全部楼层
防火墙打开没。。。。。。。。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表