SOLVED Installing RKhunter issue

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

I've been unable to reproduce this issue. Could you try reinstalling RKHunter using the steps on that document, but with the following "wget" command instead? EX:

Code:
wget https://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

Please post the output from the following commands:

Code:
grep SCRIPTDIR /etc/rkhunter.conf
stat /usr/local/lib/rkhunter/scripts
stat /usr/local/lib64/rkhunter/scripts
Thank you.
 

schatzman

Member
Apr 9, 2017
23
2
3
europe
cPanel Access Level
Website Owner
hi,

i changed it and it seems to work fine. now im getting this error in email each day:

/etc/cron.daily/maldet:

/etc/cron.daily/maldet: line 56: n: command not found
/etc/cron.daily/maldet: line 59: syntax error near unexpected token `fi'
/etc/cron.daily/maldet: line 59: `fi'
/etc/cron.daily/rkhunter:

expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error


what is the issue? thanks for all ur help!
 

schatzman

Member
Apr 9, 2017
23
2
3
europe
cPanel Access Level
Website Owner
thanks, i installed maldet and its fixed some of it.. now im getting only this:

/etc/cron.daily/rkhunter:

expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error

what should i do?

thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

You can try fixing this with the following command:

Code:
rkhunter –propupd –update
Keep in mind that RKHunter is a third-party application so you may want to report issues with the application directly to the developer.

Thank you.