Installing RKhunter issue
Hello
i followed the guide here:
Additional Security Software - cPanel Knowledge Base - cPanel Documentation
to install rkhunter.
but when exec
/root/rkhunter-1.4.2/files/rkhunter -c
im getting the following error:
Invalid SCRIPTDIR configuration option: Non-existent pathname: /usr/local/lib/rkhunter/scripts
any advice?
Thanks!
-
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: wget https://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz
Thank you.0 -
same issue.. i know the download link was broken, so i grabbed the link myself.. but still tried again and same issue.. 0 -
Hello, Please post the output from the following commands: grep SCRIPTDIR /etc/rkhunter.conf stat /usr/local/lib/rkhunter/scripts stat /usr/local/lib64/rkhunter/scripts
Thank you.0 -
should i change it to lib64 and run rkhunter -c again? 0 -
should i change it to lib64 and run rkhunter -c again?
Hello, Yes, let us know if that helps. Thank you.0 -
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! 0 -
Hello, I'm happy to see the issue with RKHunter is solved. The issue with Maldet is discussed on the following thread: Anacron job 'cron.daily' Maldet Thank you. 0 -
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! 0 -
Hello, You can try fixing this with the following command: 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.0
Please sign in to leave a comment.
Comments
9 comments