/chkrootkit: line 295: ss: command not found

bp7264

Registered
Nov 1, 2021
2
0
1
Tampa
cPanel Access Level
Root Administrator
Not sure where I post this, I have searched on line and talked with hosting company. I've had no success in fixing this issue. Please advise.

I receive these emails
Cron <[email protected]> (cd /usr/local/src/chkrootkit; ./chkrootkit | mail -s " ChkRoot Output" validEmailAddress)

with several lines like this.
./chkrootkit: line 2533: ss: command not found
./chkrootkit: line 295: ss: command not found
./chkrootkit: line 295: ss: command not found

Immediately followed by a second email
Cron <[email protected]> (/usr/local/bin/rkhunter -c --nocolors --createlogfile --skip-keypress | mail -s " RkHunter Output" validemailaddress)
/bin/sh: /usr/local/bin/rkhunter: No such file or directory
Null message body; hope that's ok

Thank you.
 

cPanelAnthony

Administrator
Staff member
Oct 18, 2021
1,045
111
118
Houston, TX
cPanel Access Level
Root Administrator
Hello! It sounds like there's a cron job trying to run Rootkit Hunter, but the actual Rootkit Hunter software doesn't exist, so it isn't working. You should be able to remove the cronjob using these instructions.

How to edit the Root Crontab

If you'd rather just make sure it's installed and running, this should help.