The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Installing RKhunter issue

Discussion in 'Security' started by schatzman, May 25, 2017.

  1. schatzman

    schatzman Member

    Joined:
    Apr 9, 2017
    Messages:
    22
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    europe
    cPanel Access Level:
    Website Owner
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. schatzman

    schatzman Member

    Joined:
    Apr 9, 2017
    Messages:
    22
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    europe
    cPanel Access Level:
    Website Owner
    same issue.. i know the download link was broken, so i grabbed the link myself.. but still tried again and same issue..
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  5. schatzman

    schatzman Member

    Joined:
    Apr 9, 2017
    Messages:
    22
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    europe
    cPanel Access Level:
    Website Owner
    should i change it to lib64 and run rkhunter -c again?
     

    Attached Files:

  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Yes, let us know if that helps.

    Thank you.
     
  7. schatzman

    schatzman Member

    Joined:
    Apr 9, 2017
    Messages:
    22
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    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!
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  9. schatzman

    schatzman Member

    Joined:
    Apr 9, 2017
    Messages:
    22
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    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!
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,278
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page