Directory name like YYYYMMMDD in Squid

2007-05-08 Thread Valdir Marcos
Is there a way on Sarg to name Squid directories as MMMDD instead of DDMMM? drwxr-x--- 4 squid squid 1024 2007-04-08 06:25 07Apr2007-07Apr2007 drwxr-x--- 13 squid squid 1024 2006-12-08 06:25 07Dec2006-07Dec2006 drwxr-x--- 14 squid squid 1024 2007-02-08 06:25 07Feb2007-07Feb2007 drw

Delete garbage in /var

2007-05-08 Thread Valdir Marcos
How can I identify what is garbage in /var? How can I delete files and directories older than a specific date? # df -h Sist. Arq.Tam Usad Disp Uso% Montado em /dev/sda2 449M 132M 293M 32% / tmpfs 248M 0 248M 0% /dev/shm /dev/sda1 8

sendmail and exim4

2007-05-08 Thread Valdir Marcos
init---atd +-bash +-cron---firebird ¦ +-sendmail +-cron---cron---sendmail ¦ +-sh---curl +-dhclient +-exim4 How can I discover what sendmail and exim4 are doing in my Debian Sarge? Tho whom they send messages in a server that, theoricaly, neither

cron and CRON

2007-05-08 Thread Valdir Marcos
Take a look: # pstree init---atd +-bash +-cron---firebird ¦ +-sendmail +-cron---cron---sendmail ¦ +-sh---curl +-dhclient +-events/0---aio/0 ¦ +-ata/0 ¦ +-kacpid ¦ +-kblockd/0 ¦ +-khelper

Quote or double quote error in crontab

2007-05-08 Thread Valdir Marcos
In crontab, I have: 00 01 * * 1-7 root/usr/bin/sarg -f /etc/squid/sarg-diario.conf -d `(date --date "1 day ago" +%d/%m/%Y)`-`(date --date "1 day ago" +%d/%m/%Y)` And this line generate the following message: >From [EMAIL PROTECTED] Sun Apr 22 01:00:01 2007 Envelope-to: [EMAIL PROTECTED] De

Upgrading from Sarge to Etch

2007-05-08 Thread Valdir Marcos
1. How can I backup my Debian 3.1 server before upgrading to 4.0? # cat /etc/debian_version 3.1 # uname 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux 2. How can I upgrade a server Sarge in productiopn to Etch? I do not have a graphic environment. Reall