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.

Rkhunter

Discussion in 'General Discussion' started by jestin_virtual, Sep 21, 2009.

  1. jestin_virtual

    jestin_virtual Active Member

    Joined:
    Sep 2, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Hello !


    i have installed RKhunter several days ago , after installation i`m receiving below email everynight


    subject Daily Rkhunter Scan Report
    Invalid option specified: -cronjob
     
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Houston, Tx
    RkHunter Error

    Hello,


    I do see what you are referring to, however we would need more information on this issue. Please submit a ticket via the link below. If you have any more questions pleae feel free to let me know.

    Thank you,
    Matthew Curry
     
  3. jestin_virtual

    jestin_virtual Active Member

    Joined:
    Sep 2, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    i have installed Rkhunter in another servers also , i have confronted same problem , would you please let me know which information is required ?

    Rkhunter works well when we are using Shell/SSH but i don`t know why Rkhunter can`t send the report to our email !!



     
  4. webhostinghelps

    Joined:
    Sep 22, 2008
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    you might have setup a rkhunter cronjob to run nightly and send you the scan details via email.

    check in /etc/cron.daily/ folder.
     
  5. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hey,

    It looks the "-cronjob" option you have specified on the cronjob line is wrong, try removing it and see if the cronjob runs correctly, otherwise paste the cronjob line you have here.
     
  6. jestin_virtual

    jestin_virtual Active Member

    Joined:
    Sep 2, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Hello ,

    The problem might be because of my CSF Firewall ?
    i have install the same program in many servers without problem , the only different between servers are firewall !
     
  7. SB-Nick

    SB-Nick Well-Known Member

    Joined:
    Aug 26, 2008
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hiya,

    If you look at the rkhunter -h output you will see -cronjob does not exist but --cronjob does.

    # rkhunter -h | grep -i cron
    --cronjob Run as a cron job

    Try modifying the cronjob and add the extra "-"
     
  8. jestin_virtual

    jestin_virtual Active Member

    Joined:
    Sep 2, 2009
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Hello , i have just wanted set a Cron-job in my Cpanel and i have confronted the below error :
    /usr/bin/crontab permissions are wrong (6755). Please set to 4755.


    The RKhunter problem might be because of the same issue ? i mean because of permissions ?
     

Share This Page