Current time: 07-06-2024, 11:50 AM Hello There, Guest! (LoginRegister)


Post Reply 
Fresh RC6 Install "/var/log/rkhunter.log doesn't exist or is empty" [Solved]
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #1
Fresh RC6 Install "/var/log/rkhunter.log doesn't exist or is empty" [Solved]
Hi, I saw that this problem appears in ubuntu 8.04 (probably lenny too) after a fresh install (at least in my case)
There are two different problems:
The first is that in the 1.3.x versions of rkhunter the options --scan-knownbad-files and --check-deleted are no longer supported, so the checks doesn't start.

The second is the message telling me that rkhunter.log doesn't exist, I looked at this:
The file is in the cron
Code:
0       */12    *       *       *       root /usr/bin/rkhunter --scan-knownbad-files --check-deleted --cronjob --createlogfile /var/log/rkhunter.log >/dev/null 2>&1

The permissions of the created log seem to be fine
Code:
# ls -l /var/log/rkhunter.log
-rw------- 1 root root 74991 2008-08-14 06:45 rkhunter.log

The openbasedir for master seems ok too
Code:
open_basedir = "/var/www/ispcp/gui/:/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php/"

Cheers!
(This post was last modified: 08-18-2008 05:37 PM by aseques.)
08-14-2008 07:54 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Fresh RC6 Install "/var/log/rkhunter.log doesn't exist or is empty" [Solved] - aseques - 08-14-2008 07:54 PM

Forum Jump:


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