Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Baronne Mouton on September 17, 2003, 02:35:57 PM
-
Hi,
I have had a nose around the forums now and can't seem to find what might be going wrong here. I have installed SARG on my 5.6 box and I am no longer getting a daily report... I have uninstalled (rpm -e) the SARG rpms and I followed what Cyrus had to say in article : http://forums.contribs.org/index.php?topic=8044.msg29981#msg29981 but I still couldn't get the thing to work.... below is a copy of my various config files :
CRONTAB
----------------
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates directory. For more
# information, see http://www.e-smith.org.
#
# copyright (C) 2001 Mitel Networks Corporation
#------------------------------------------------------------
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
12 1 */7 * * root /sbin/e-smith/signal-event logrotate
# Generate SARG reports
01 0 * * * root /usr/sbin/sarg.daily.e-smith &>/dev/null
05 0 * * 1 root /usr/sbin/sarg.weekly.e-smith &>/dev/null
10 0 1 * * root /usr/sbin/sarg.monthly.e-smith &>/dev/null
#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------
I have a sarg fragment in /etc/e-smith/templates/etc/crontab
It seems like the reports are actually there in my var/www/html/squid but they don't show up... any ideas?
baronne
-
Dont cross post.
-
Has anyone come up with a patch for the new SSH exploit or would :
wget updates.redhat.com/7.3/en/os/i386/openssh-3.1p1-10.i386.rpm
wget updates.redhat.com/7.3/en/os/i386/openssh-clients-3.1p1-10.i386.rpm
wget updates.redhat.com/7.3/en/os/i386/openssh-server-3.1p1-10.i386.rpm
rpm -Fvh *.rpm
/etc/rc.d/init.d/sshd-rb restart
do the trick?
Regards, Mark Leman
-
very sorry... a mistake....
-
sorted...
I remember doing a report from the cmd line and that must have generated an index file and a folder in the \var\www\html\squid folder which was the confusing bit... the reports were still running as usual in the \daily \monthly and \annual folders, thanks to Filippo Carletti, he pointed out I just needed to remove the index.html and the dated folder in the squid folder and voila! sorted.
baronne