MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: putude on 2015-11-14, 14:02:25
-
Dear Master,
I check kloxoMR log
/usr/local/lxlabs/kloxo/log
and all *.gz file size are zero
so I could not open the archives.
How to solve this ?
thank you and best regards,
Putude
....
....
-rw-r--r-- 1 lxlabs lxlabs 0 Nov 14 12:07 update-20150727.gz
-rw-r--r-- 1 lxlabs lxlabs 0 Nov 14 12:07 update-20150808.gz
-rw-r--r-- 1 lxlabs lxlabs 785 Nov 14 20:27 user_cmd
-rw-r--r-- 1 lxlabs lxlabs 0 Nov 14 12:07 user_cmd-20150722.gz
-rw-r--r-- 1 lxlabs lxlabs 0 Nov 14 12:07 user_cmd-20150725.gz
-rw-r--r-- 1 lxlabs lxlabs 0 Nov 14 12:07 user_cmd-20150805.gz
-rw-r--r-- 1 lxlabs lxlabs 0 Nov 14 12:07 user_cmd-20150808.gz
...
...
-
There are something with logrotate. Investigate /etc/logrotate.d/kloxo and compare to other configs.
-
Hi Mustafa,
I have three servers and I confirm they have same settings and results (zero file size).
/usr/local/lxlabs/kloxo/log/* {
daily
rotate 30
#create 0664 lxlabs lxlabs
compress
notifempty
missingok
}
And this happen only in /usr/local/lxlabs/kloxo/log/*
I check in other log dir, ie: /home/httpd/*/stats/*_log it's normal