Имя пользователя:
Пароль:
 

Показать сообщение отдельно

Аватара для dmitryst

Ветеран


Сообщения: 7317
Благодарности: 912

Профиль | Отправить PM | Цитировать


Цитата:
# uname -srp
FreeBSD 8.0-RELEASE i386

# squid -v
Squid Cache: Version 3.1.0.13
configure options: '--with-default-user=squid' '--bindir=/usr/local/sbin' '--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid' '--libexecdir=/usr/local/libexec/squid' '--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid' '--with-logdir=/usr/local/squid/logs' '--with-pidfile=/usr/local/squid/squid.pid' '--enable-removal-policies=lru heap' '--disable-linux-netfilter' '--disable-linux-tproxy' '--disable-epoll' '--disable-translation' '--enable-auth=basic digest negotiate ntlm' '--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB squid_radius_auth YP' '--enable-digest-auth-helpers=password' '--enable-external-acl-helpers=ip_user session unix_group wbinfo_group' '--enable-ntlm-auth-helpers=smb_lm' '--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-storeio=ufs diskd' '--disable-ipv6' '--enable-ipfw-transparent' '--enable-kqueue' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd8.0' 'build_alias=i386-portbld-freebsd8.0' 'CC=cc' 'CFLAGS=-O2 -pipe -fno-strict-aliasing' 'LDFLAGS=' 'CPPFLAGS=' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -fno-strict-aliasing' --with-squid=/usr/ports/www/squid31/work/squid-3.1.0.13 --enable-ltdl-convenience

# cat /usr/local/etc/squid/squid.conf | grep log
cache_access_log /var/log/squid/access.log
cache_log none ###/var/log/squid/cache.log
cache_store_log /var/log/squid/store.log

/usr/local/etc/rc.d/squid status
squid is running as pid 881.
пишу

Цитата:
cache_store_log none
и оно ругается -

Цитата:
squid -k parse
2010/01/21 17:07:51| Processing Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2010/01/21 17:07:51| Starting Authentication on port 0.0.0.0:3128
2010/01/21 17:07:51| Disabling Authentication on port 0.0.0.0:3128 (interception enabled)
WARNING: Cannot write log file: none
none: Permission denied
messages will be sent to 'stderr'.
Какого, собственно?

-------
Осваиваю FreeBSD


Отправлено: 16:06, 21-01-2010 | #11