Current time: 11-25-2024, 04:48 PM Hello There, Guest! (LoginRegister)


Post Reply 
/var/log/chkrootkit.log doesn't exist or is empty
Author Message
Haeber Offline
Junior Member
*****
Dev Team

Posts: 136
Joined: Nov 2007
Reputation: 7
Post: #1
/var/log/chkrootkit.log doesn't exist or is empty
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
03-04-2009 12:48 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: /var/log/chkrootkit.log doesn't exist or is empty
This is my entry in the /etc/cron.d/ispcp

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

Greez BeNe
03-04-2009 05:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Haeber Offline
Junior Member
*****
Dev Team

Posts: 136
Joined: Nov 2007
Reputation: 7
Post: #3
RE: /var/log/chkrootkit.log doesn't exist or is empty
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
03-04-2009 09:23 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: /var/log/chkrootkit.log doesn't exist or is empty
No, this is not normal. Should be created during the install and replaced.
Other entry´s in the cron OK ?

Greez BeNe
03-04-2009 10:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Haeber Offline
Junior Member
*****
Dev Team

Posts: 136
Joined: Nov 2007
Reputation: 7
Post: #5
RE: /var/log/chkrootkit.log doesn't exist or is empty
(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?
03-04-2009 10:19 PM
Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #6
RE: /var/log/chkrootkit.log doesn't exist or is empty
It's a frequent problem:
http://www.isp-control.net/documentation...don_t_work
03-04-2009 11:26 PM
Find all posts by this user Quote this message in a reply
Haeber Offline
Junior Member
*****
Dev Team

Posts: 136
Joined: Nov 2007
Reputation: 7
Post: #7
RE: /var/log/chkrootkit.log doesn't exist or is empty
(03-04-2009 11:26 PM)Cube Wrote:  It's a frequent problem:
http://www.isp-control.net/documentation...don_t_work

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

Best Regards
Haeber
03-05-2009 12:48 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)