Показать полную графическую версию : Squid + Sarg
Я так понял вам нужно скинуть логи squid?
Делается это командой squid -k rotate. При этом нужно остановить squid - через команду kill №процесса.
Посмотреть процесс ps -ax | grep squid
ramin1981
10-10-2008, 10:43
ya zdelal polucilas takoy rezultat
ipfw# ps -ax | grep squid
717 ?? Is 0:00.00 /usr/local/soft/squid/sbin/squid
719 ?? S 0:33.01 (squid) (squid)
4974 p1 L+ 0:00.00 grep squid
ipfw# kill 717
ipfw# ps -ax | grep squid
719 ?? S 0:33.27 (squid) (squid)
4976 p1 S+ 0:00.00 grep squid
ipfw# squid -k
squid: Command not found.
ipfw# squid -k rotate
squid: Command not found.
ipfw# cd
ipfw# ls
.cshrc .login .rnd deny
.history .mc .ssh oldrule
.k5login .mysql_history allow son
.lesshst .profile denay60 stop
ipfw# cd /usr
ipfw# ls
.snap bin games include libdata local ports share webmin
X11R6 compat home lib libexec obj sbin src
ipfw# cd /usr/local/soft
ipfw# ls
squid
ipfw# squid -k rotate
squid: Command not found.
ipfw# /usr/local/sbin/apachectl stop
/usr/local/sbin/apachectl stop: httpd stopped
ipfw# sh /usr/local/etc/sarg/cron
SARG: Records in file: 425, reading: 100.00%
SARG: Successful report generated on /usr/local/www/squid/2/2008Oct10-2008Oct10
SARG: Records in file: 425, reading: 100.00%
SARG: Successful report generated on /usr/local/www/squid/8/2008Oct10-2008Oct10
ipfw# sh /usr/local/etc/sarg/cron
SARG: Records in file: 1, reading: 100.00%
SARG: No records found
SARG: End
SARG: Records in file: 1, reading: 100.00%
SARG: No records found
SARG: End
ipfw# kill 719
ipfw# kill 4974
4974: No such process
ipfw# ps -ax | grep squid
719 ?? S 0:33.62 (squid) (squid)
5061 p1 R+ 0:00.00 grep squid
ipfw# kill 719
719: No such process
ipfw# ps -ax | grep squid
5063 p1 R+ 0:00.00 grep squid
ipfw#
nado perezagruzit sistemu ili net
ya napishu v browser IP address FreeBSD 192.168.51.253
i vse ostayutsa
Хм, а что выводит на команду squid -k rotate при запущенном squide?
Выложите, пожайлуста sarg.conf
ramin1981
10-10-2008, 18:12
ipfw# kill 719
posle etovo proxy server ne rabotayut
i takoy rezultat
ipfw# /usr/local/sbin/apachectl start
/usr/local/sbin/apachectl start: httpd (pid 5357) already running
ipfw# sh /usr/local/etc/sarg/cron
SARG: Records in file: 1, reading: 100.00%
SARG: No records found
SARG: End
SARG: Records in file: 1, reading: 100.00%
SARG: No records found
SARG: End
ipfw#
cron ne rabotayut
© OSzone.net 2001-2012
vBulletin v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.
Available in ZeroNet 1osznRoVratMCN3bFoFpR2pSV5c9z6sTC