Nightly rotate problem

Jenek

Verified User
Joined
Sep 3, 2003
Messages
9
Location
Belarus
First of all, i can't aggre that it's good idea! I mean rotation apache logs every day. I even lost one of my client.
Now every day i have such a process:
13693 ? S 0:00 sh -c /usr/bin/webalizer -c /usr/local/directadmin/data/templates/custom/webalizer.conf.domain.com -p -n domain.com -o /home/vasil/domains/domain.com/stats /var/log/httpd/domains/domain.com.log.1 2>&1
13694 ? R 219:00 /usr/bin/webalizer -c /usr/local/directadmin/data/templates/custom/webalizer.conf.domain.com -p -n domain.com -o /home/vasil/domains/domain.com/stats /var/log/httpd/domains/domain.com.log.1

#ls -la /var/log/httpd/domains/domain.com.log*
-rw-r--r-- 1 root root 1336 May 19 09:36 /var/log/httpd/domains/domain.com.log
-rw-r--r-- 1 root root 1388 May 19 00:00 /var/log/httpd/domains/domain.com.log.1


Since DA 1.24 tally never have been completed!
Every time "domain.com" is different.

If i delete domain.log.1 tally have success but stops on next *log.1
And since rotation is done users that r going after such "stoped" domain lost their logs.

Any idea?
Thank you
 
Last edited:
Back
Top