Author Archive

Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference.

Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a reference. Solution : This error is  occurred due the php version 5.3 and joomla is not certified to work with PHP 5.3.0. You need to change some code in your files. open the file vi /home/username/public/modules/mod_mainmenu/helper.php You can change this : Form function buildXML(&$params) to function […]

Unrouteable address

Error : A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:  test@domain.com   Unrouteable address” Solution : Suppose you have try to send emails from domain.com to any other email account and the server shows the above error then this problem is due […]

Mysql Database size shows 0 in cPanel

Error : database size not updated in cpanel Solution : In cPanel >> mysql databases , it shows database size as ” zero” even if it is not. You just need to make  the below changes to fix  it : root@server [#] vi   /var/cpanel/cpanel.config and search for following line. disk_usage_include_sqldbs=0 ( set it to 1 […]

DB Error: connect failed in horde

Error :  When try to access the Horde from cPanel  then it shows following error. Warning: fopen(/var/cpanel/horde/log/horde_0.log) [function.fopen]: failed to open stream: Permission denied in /usr/local/cpanel/3rdparty/lib/php/Log/file.php on line 216 A fatal error has occurred DB Error: connect failed Details have been logged for the administrator. Solution: The problem due to the ” Horde Groupware Webmail […]

Manager of pid-file quit without updating fi

Error : Manager of pid-file quit without updating fi Solution :  When try to restart the mysql service on the server then above error is generated. This problem is occurred due the “mysql ” database crashed and should be repaired but the mysql is already stopped on the server  so you need to use the following command […]

Remove IP from Brute Force Protection

How to remove blocked ip address from the Brute Force Protection by using SSH ? Solution :– When WHM locks out an user account, especially “root”, the best way is to wait for 10 minutes to see if the account will be unlocked. If the locks persists, webmaster and administrator who still can remote login […]

Upgrading OpenSSH on CentOS 5

1) First, download the OpenSSH source tarball from the vendor and unpack it. You can find the tarballs at http://www.openssh.com/portable.html wget http://mirror.mcs.anl.gov/openssh/portable/openssh-5.8p1.tar.gz tar -xvzf openssh-5.8p1.tar.gz 2)Copy the spec file and tarball: cp ./openssh-5.8p1/contrib/redhat/openssh.spec /usr/src/redhat/SPECS/ cp openssh-5.8p1.tar.gz /usr/src/redhat/SOURCES/ 3)Do a little magic: cd /usr/src/redhat/SPECS perl -i.bak -pe ‘s/^(%define no_(gnome|x11)_askpass)\s+0$/$1 1/’ openssh.spec 4) build your RPM: rpmbuild […]

How to disable Core file generation?

How to disable Core file generation Solution :– first of all delete the core files which are present on the server or under any account then vi /etc/init.d/httpd and below the “ulimit -n 16384? you need to put ulimit -c 0 And Command to delete core files find ./ -name “core.*” -exec rm -f {} […]

How to install RVSiteBuilder?

1)After got the license confirmation, SSH to your cPanel server as root and run command /scripts/makecpphp 2) Download the installer using the command below: cd /usr/local/cpanel/whostmgr/docroot/cgi/ rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/ rm -f rvsitebuilderinstaller.tar wget http://download.rvglobalsoft.com/rvsitebuilderinstaller.tar tar -xvf rvsitebuilderinstaller.tar chmod 755 addon_rvsitebuilder.cgi rm -f rvsitebuilderinstaller.tar 3)Open root WHM, at the bottom left menu under Plugins section, you […]

Virus Detected; File not Uploaded! (Clamd is not configured properly.)

clamd issue Solution :– 1) Go to WHM, > cPanel > Mange Plugins > uninstall clamavconnector. That should fix the issue. If this not solve the problem then 2.Make sure you have a clamd init file: /etc/init.d/clamd chown root:root /etc/init.d/clamd chmod +x /etc/init.d/clamd chkconfig clamd on service clamd restart