Archive for February 2012

Clamav scan commands and examples

Clamav is a free anti virus software which is able to detect many types of malicious software, including viruses on the servers. One of its main uses is on mail servers as a server-side email virus scanner. Below is some useful clamav commands.

clamscan -r path-to-dir

It will scan directories all directories and sub directories recursively..

clamav -ril /home/user/clamav.log

It will scan the user home directory and output the results to the specified file.
-i option is used to report only the infected files.

Another example

clamscan -ir / -l cscanreport

It will scan the entire server (/) and will create an output file cscanreport in the present directory.
Read more

Majento domain showing error: There has been an error processing your request

If you encountered the above error while loading the domain, you will not get any correct logs or something from the server. All you need to do is go to theĀ  root directory where majento is installed and find the file named local.xml.sample in the errors directory and rename it to /local.xml . Then load the load domain again then you can see what exactly the issue is.

proscar