Symptoms
Watchdog security scan Plesk > Extensions > My Extensions > Watchdog > Open > Security > Start fails with error:
Invalid SCRIPTWHITELIST configuration option: Non-existent pathname: /usr/bin/lwp-request
Cause
Binary file /usr/bin/lwp-request
doesn’t exist on the server. This file is part of “perl-libwww-perl” package that is not available in system repositories.
Resolution
-
Connect to the server via SSH as a root user.
- Â Create backup of rkhunter configuration file:
# cp /usr/local/psa/etc/modules/watchdog/rkhunter.conf{,_orig}
-
Comment
SCRIPTWHITELIST
string using below command:# sed -i ‘[email protected]=/usr/bin/[email protected]#SCRIPTWHITELIST=/usr/bin/[email protected]’ /usr/local/psa/etc/modules/watchdog/rkhunter.conf