Author Archive

Script for Secure nobody and its Procedure.

Introduction: Secure nobody is the script /command through which we can find following things: 1. First it checks suspicious process, which are running under nobody user. 2. Then It checks directories such as /usr/local/apache/proxy /var/spool/samba /var/spool/vbox Above directories should not present on the server 3. It checks /tmp and /dev/shm for malicious scriptsand their mounting […]

disable mod security for single domain.

disable mod security for single domain. Steps : 1)Login to server as root. 2)Open mod security file. vi /usr/local/apache/conf/modsec2.conf 3) put below line at end SecRule SERVER_NAME “cpanelblog.in” phase:1,nolog,allow,ctl:ruleEngine=off Note : replace cpanelblog.in domain with your domain. 4) Save and exit 5) Restart apache service.      

Checking Malware contents for any account

Checking Malware contents for any account : Steps : 1. login to shell 2. fire one command given below : grep -ilr “kusik-tusik-trf.com” /home/*/public_html/index.* grep -ilr “iframe” * grep -ilr “eval(base64_decode” * most probably search : grep -ilr “eval(unescape” * 3. You will get file name. Open the file and search for the malware using […]

mysqldump: Got error

When you try to run the mysqldump command to make a backup of database then encounter the following error-exception: mysqldump databasename  > databasename.sql mysqldump: Got error: 1016: Can’t open file: ‘./databasename/wp_142_term_taxonomy.frm’ (errno: 24) when using LOCK TABLES Solution: Open the file /etc/my.cnf and  add the following line and restart the mysql service on the server root@server [~]#vi /etc/my.cnf open-files-limit=20000 […]

Thumbnail not created for EXIF jpeg file

Thumbnail not created for EXIF jpeg file by using Imagemagick Solution :  The problem due the Imagemagick version. You need to upgrade your Imagemagick version. You can easily upgrade your Imagemagick version by using yum command. root# yum install glib2 root# yum install libpng root# yum install libjpeg root# yum install libtiff root# yum install […]

JFolder::create: Infinite loop detected

When  try to install  template  or component then it shows the error * JFolder::create: Infinite loop detected * Warning! Failed to move file. Solution :  The problem is an incorrectly set /tmp file. 1] Check the entry of ” Path of  Temp folder” in admin section of joomla ( “Global Configuration<< server ” ). 2] First create /tmp folder […]

How to uninstall ffmpeg

How to uninstall ffmpeg ? Solution : I have installed the ffmpeg by using the /usr/local/src/ffmpeg directory so I have uninstalled it by using the same directory. cd /usr/local/src/ffmpeg make uninstall Deleting ffmpeg-related files from /usr/lib & /usr/bin folders. You can confirm by using following command to uninstall ffmpeg. locate ffmpeg | grep bin cd / […]

how to install APC

How to install APC on Linux ? Ans: The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. Its goal is to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. Besides being a opcode cache it provides a user cache for storing application data. APC […]

How to install phpmyadmin on linux

How to install phpmyadmin on linux server ? Solution : phpMyAdmin is a free software tool written in PHP intended to handle the administration of MySQL over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL. The most frequently used operations are supported by the user interface (managing databases, tables, fields, […]

Request Entity Too Large

Request Entity Too Large The requested resource /send.php does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit. 01 3006 Solution : This error due the variables_order used on the server. The default variables_order used on the cpanel server is “EGPCS”. If you want to use […]