ispCP - Board - Support
/var/log/chkrootkit.log doesn't exist or is empty - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: /var/log/chkrootkit.log doesn't exist or is empty (/thread-5922.html)



/var/log/chkrootkit.log doesn't exist or is empty - Haeber - 03-04-2009 12:48 PM

My admin/rootkit_log.php says:
Code:
/var/log/chkrootkit.log doesn't exist or is empty

And yes, there is really no chkrootkit.log in /var/log. I tested chkrootkit manually and it works.

So I've searched for the cron job for it. I've found /etc/cron.d/ispcp with the following lines about chkrootkit:
Code:
# Chkrootkit
{CR-ENABLED}0   */12    *       *       *       root {CHKROOTKIT} &> {CHKROOTKIT_LOG}

Is it normal that the variables are not replaced? Or is there another crontab?

Best Regards
Haeber


RE: /var/log/chkrootkit.log doesn't exist or is empty - BeNe - 03-04-2009 05:12 PM

This is my entry in the /etc/cron.d/ispcp

Code:
# Chkrootkit
0       */12    *       *       *       root /usr/sbin/chkrootkit &> /var/log/chkrootkit.log

Greez BeNe


RE: /var/log/chkrootkit.log doesn't exist or is empty - Haeber - 03-04-2009 09:23 PM

Code:
# Chkrootkit
0       */12    *       *       *       root /usr/sbin/chkrootkit &> /var/log/chkrootkit.log

So it's not normal that my config has not replaced {VARIABLES}. How does this come? I'm using debian lenny on a root server. Was there something wrong with the installation?

Best Regards
Haeber


RE: /var/log/chkrootkit.log doesn't exist or is empty - BeNe - 03-04-2009 10:14 PM

No, this is not normal. Should be created during the install and replaced.
Other entry´s in the cron OK ?

Greez BeNe


RE: /var/log/chkrootkit.log doesn't exist or is empty - Haeber - 03-04-2009 10:19 PM

(03-04-2009 10:14 PM)BeNe Wrote:  No, this is not normal. Should be created during the install and replaced.
Other entry´s in the cron OK ?

Greez BeNe

No, the cron is full of not replaced variables. How can I fix this?


RE: /var/log/chkrootkit.log doesn't exist or is empty - Cube - 03-04-2009 11:26 PM

It's a frequent problem:
http://www.isp-control.net/documentation/frequently_asked_questions/why_do_the_cronjobs_statistics_backups_etc._don_t_work


RE: /var/log/chkrootkit.log doesn't exist or is empty - Haeber - 03-05-2009 12:48 AM

(03-04-2009 11:26 PM)Cube Wrote:  It's a frequent problem:
http://www.isp-control.net/documentation/frequently_asked_questions/why_do_the_cronjobs_statistics_backups_etc._don_t_work

Thanks for the HowTo. Maybe I'll research a little bit, why the cron installation failed.

Best Regards
Haeber