PDA

View Full Version : RKHunter error


robertlouwen
28th March 2010, 23:48
Hello to all,

When I want to read the RKHunter log I get this: Invalid XINETD_CONF_PATH configuration option - non-existent pathname specified: /etc/xinetd.conf instead of the log.

Anyone an idea on this ?

billcouper81
29th March 2010, 02:09
If you are not using xinetd, verify the following line is commented out

/etc/rkhunter.conf

#XINETD_CONF_PATH=/etc/xinetd.conf


It needs the # at the start of the line to comment it out


If you ARE using xinetd, make sure the path is correct

robertlouwen
29th March 2010, 10:33
Hello BillCouper,

I don't know if I have xinetd so I did which xinetd and whereis xinetd [root@obelix ~]# which xinetd
/usr/bin/which: no xinetd in (/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
[root@obelix ~]# whereis xinetd
xinetd: /etc/xinetd.d
[root@obelix ~]# cd /etc/xinetd.d
You have new mail in /var/spool/mail/root
[root@obelix xinetd.d]# ls
cvs pure-ftpd rsync
[root@obelix xinetd.d]#

After that I did ls and as you can see there is no xinetd.conf in this dir.
When I edit /etc/xinetd.conf it makes a new file so for now I edit /etc/rkhunter.conf and put " # " in front of XINETD_CONF_PATH=/etc/xinetd.conf

Other idea's ?

robertlouwen
30th March 2010, 12:30
After editing /etc/rkhunter.conf and comment out XINETD_CONF_PATH=/etc/xinetd.conf and waiting several hours there is an RKHunter log in ISPConfig !

Thanks to BillCouper81 !