Installation

Installation Problems

  1. You can re-run the installer / updater from the command line to check for any errors:

Centos / RHEL / CloudLinux

/usr/local/psa/admin/bin/modules/sentinel/install.sh

Debian / Ubuntu

/opt/psa/admin/bin/modules/sentinel/install.sh
  1. Try restarting the ClamAV daemon service and check for any errors:

Centos / RHEL / CloudLinux 7

// clamav restart 
systemctl restart clamd@scan.service

// clamav log file
tail -f /var/log/clamd.scan 

Debian / Ubuntu

// clamav restart 
/etc/init.d/clamav-daemon restart

// clamav log file
tail -f /var/log/clamav/clamav.log 

Common Problems

Not enough memory to start the ClamAV daemon:
If you see Cannot allocate memory in your ClamAV daemon logs this means that you do not have enough free memory in order to start the ClamAV daemon. Free up some memory on your server or upgrade your system memory then restart the Anti-virus service.

# grep 'Cannot allocate memory' /var/log/clamd.scan 
Sun Feb 10 03:15:52 2019 -> ERROR: daemonize() failed: Cannot allocate memory
Sun Feb 10 03:25:51 2019 -> ERROR: daemonize() failed: Cannot allocate memory
Sun Feb 10 03:32:12 2019 -> ERROR: daemonize() failed: Cannot allocate memory

Incorrect permissions your /var/tmp or /tmp directories used by the ClamAV
If you see Failed to create temporary file in your ClamAV daemon logs this means that your /var/tmp or /tmp permissions are not writable by the ClamAV daemon.

# grep 'Failed to create temporary file' /var/log/clamd.scan
Thu Apr 18 22:31:55 2019 -> ERROR: Failed to create temporary file
Thu Apr 18 22:31:55 2019 -> ERROR: Failed to create temporary file

To fix the tmp permissions change the permissions then restart the ClamAV daemon service:

chmod 777 /var/tmp /tmp

Un-installing

You can run the uninstaller from the command line to completely remove the extension:

Centos / RHEL / CloudLinux

/usr/local/psa/admin/bin/modules/sentinel/uninstall.sh

Debian / Ubuntu

/opt/psa/admin/bin/modules/sentinel/uninstall.sh

If you still have problems just open a support ticket in our client area to have an experienced technician diagnose and fix the problem for you.