There is some command to trigger ClamAV in Linux server which is more easy to use back-end.
To scan all the file in the path
clamscan -r path
To scan all directories and sub directories recursive
clamav -ril /home/user/clamav.log
To scan all the server and provide report
clamscan -ir / -l cscanreport
When you receive the error as below when try to create Ruby on Rails application on cPanel. It mean that your rails/ruby version installed is not supported by cPanel.
Your app is NOT installed because there was a problem. Try again or contact
our support team.
So the solution will be remove the current Ruby and Rails and install it by cPanel build in script. Moving the unsupported Ruby and Rails environment and then reinstalling using the proper cPanel script should setup the machine with the right Rails version and mongrel.
(1) Remove the unsupported Ruby and Rails
mv /usr/bin/ruby /usr/bin/ruby.bak
mv /usr/lib/ruby /usr/lib/ruby.bak
mv /usr/bin/gem /usr/bin/gem.bak
mv /usr/bin/rails /usr/bin/rails.bak
(2) Install again by cPanel script
Sometime, the apps that link to the Facebook is having the time out issue and your server end receive the error as below
Fatal error: Uncaught CurlException: 28: SSL connection timeout thrown in ..\..\base_facebook.php
(1) edit the file base_facebook.php
(2) edit the link as below
CURLOPT_CONNECTTIMEOUT => 10
(3) to as below.
CURLOPT_CONNECTTIMEOUT => 30
This to extend the time out from 10s to 30s
When you receive an error as below on your mail log
re-exec of exim (/usr/sbin/exim) with -Mc failed: Permission denied
It mean that your permission on the /usr, /usr/sbin, or /usr/sbin/exim are
Please ensure it on permission 755 will do