免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 798 | 回复: 0
打印 上一主题 下一主题

在linux redhat下输入命令,出错提示:SARG: File not found: [复制链接]

论坛徽章:
1
CU十二周年纪念徽章
日期:2013-10-24 15:41:34
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-09-05 10:57 |只看该作者 |倒序浏览
本人在linux下配置了SARG,但运行# sarg /usr/local/sarg/sarg_url.conf时
提示错误SARG: File not found: /usr/local/squid/var/logs/access.log

sarg.conf配置如下:

access_log /squid/var/logs/access.log.0

charset UTF-8

max_elapsed 28800000

long_url no

exclude_string ";"

datafile_url name

datafile /squid/txt/squid_url_file.txt

datafile_fields user;date;time;url;connect;bytes;in_cache;out_cache;elapsed

resolve_ip yes

user_ip no



请问是否是我的

access_log /squid/var/logs/access.log.0

这一参数配置错误?access_log是指定squid配置文件绝对路径??

squid.conf如下:

http_port 8080

icp_port 8030

cache_mem 1300 MB

cache_swap_low 80

cache_swap_high 85

maximum_object_size 10240 KB

cache_dir ufs /squid/var/logs 200000MB 16 256

cache_access_log /squid/var/logs/access.log

cache_log /squid/var/logs/cache.log

cache_store_log none

pid_filename /var/run/squid.pid

httpd_accel_host virtual

httpd_accel_port 80

httpd_accel_with_proxy on

httpd_accel_uses_host_header on

acl all src 0/0

acl denymac arp "/usr/local/squid/etc/denymac.txt"

http_access deny denymac

http_access allow all

cache_effective_user squid

cache_effective_group squid

coredump_dir /var/spool/squid

strip_query_terms on



请问SARG中选项的access_log该填那个绝对路径?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP