Current time: 04-15-2025, 08:37 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
/var/log/rkhunter.log existiert nicht oder ist leer
Author Message
Rafioso Offline
Junior Member
*

Posts: 151
Joined: Oct 2009
Reputation: 0
Post: #22
RE: /var/log/rkhunter.log existiert nicht oder ist leer
(11-17-2009 03:06 AM)joximu Wrote:  mach mal ein "ls -la /var/log/rkhunt*" - damit wir auch die Permissions sehen.

/J
Bitteschön:
Code:
-rw------- 1 root root  74K 2009-11-16 12:00 /var/log/rkhunter.log
-rw------- 1 root root 3.0K 2009-11-15 06:47 /var/log/rkhunter.log.old
-rw------- 1 root root  74K 2009-11-16 12:00 /var/log/rkhunter.log.root
-rw------- 1 root root  74K 2009-11-16 00:00 /var/log/rkhunter.log.root.old

(11-17-2009 03:17 AM)nuxwin Wrote:  
(11-17-2009 02:48 AM)Rafioso Wrote:  Was soll ich da schauen? Standardmäßig war der Cron ja in der Cron-Datei eingefügt. Diesen habe ich dann, wie in dem Thread hier steht, bearbeitet, hat aber nichts gebracht (Post #14).


if you use Debian, after following the indication of post # 14 you should edit you /etc/default/rkhunter file as this :

Code:
# Defaults for rkhunter cron jobs
# sourced by /etc/cron.*/rkhunter

#
# This is a POSIX shell fragment
#

# Set this to the email address where reports and run output should be sent
REPORT_EMAIL="root"

# Set this to yes to enable rkhunter weekly database updates
CRON_DB_UPDATE="yes"

# Set this to yes to enable reports of weekly database updates
DB_UPDATE_EMAIL="no"

# Set this to yes to enable rkhunter daily runs
CRON_DAILY_RUN="no"

# Nicenesses range from -20 (most favorable scheduling) to 19 (least favorable).
NICE="0"

Here, you must change the CRON_DAILY_RUN value to "no".

after, remove the old file related to rkhunter

Code:
# rm /var/log/rkhunter.log
# rm /var/log/rkhunter.log.old

After, that, you can try to run rkhunter manually as cron task

Code:
# rkhunter --cronjob --createlogfile \
/var/log/rkhunter.log.root --display-logfile 1> /var/log/rkhunter.log 2>/dev/null

Note : I'll fix it ASAP
Ok, thank you. I'll try it.
11-17-2009 04:05 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: /var/log/rkhunter.log existiert nicht oder ist leer - Rafioso - 11-17-2009 04:05 AM

Forum Jump:


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