Author Archive

Horde Webmail error

Situation: If you are getting the following error on Horde webmail interface: Warning: Failed opening ‘Net/Socket.php’ for inclusion(include_path=’.:/usr/share/pear’) in /usr/share/pear/Net/SMTP.php on line 93 Fatal error: Cannot instantiate non-existent class: net_socket in /usr/share/pear/Net/SMTP.php on line 95 Solution: Check if the Pear package Net_Socket is present on the server: pear list|grep Net_SocketNet_Socket           1.0.8   stable If not present, […]

WordPress Multisite configuration

In order to configure WordPress multisite, please follow the steps below: Steps to install WordPress: ========================== There are two ways by which we can install WordPress. 1. WordPress installation from cPanel: ~~~~~ 1. Login to the cPanel of the domain. ==== http://domain_name/cpanel ==== 2. Click on “Fantastico De Luxe” under “Software/services”. 3. In the following […]

How to install Cpanel Proxy

CPANEL and WHM usually uses  non-common port which can be blocked by local network policy. CPANEL (non-https) uses port 2082, WHM uses port 2087, and webmail uses port 2095. There is no perfect solution for this , but by installing cpanel proxy we can find a temporary solution. Here’s how to install cPanel Proxy on […]

Setting Forwarder For Outgoing Email For a Domain

To set a forwarder for all outgoing emails  from a particular domain to an email address, follow the steps given below. Note:- This is only tested on cPanel11 Server. 1. Take the file /etc/cpanel_exim_system_filter in any of your favorite editor like pico, vim etc 2. Append the following contents to the file /etc/cpanel_exim_system_filter. if      ( $received_protocol is […]

Enable quota in the server

If quotas are not enabled for the partition, the following error will occur while doing a quotacheck in the server. In case of Cpanel server, /scripts/initquotas will throw the following error. /scripts/initquotas Quotas are now on Updating Quota Files…… quotacheck: Can’t find filesystem to check or filesystem not mounted with quota option. quotacheck: Can’t find […]

How to enable viewing HTML content in Horde.

By default it is not possible for us to view the emails in HTML format using Horde webmail interface. All the html content will be displayed at the top of the page and will be requested to download. To fix this issue, you have to enable “Inline HTML message viewing” for Horde in the server. […]

Round Cube Installation

Remove the previous traces of Roundcube in the server. ==================== cd /usr/local/cpanel/base rm -rf roundcube* mysql mysql>drop database roundcube; ==================== Before starting the installation, you need to know the root password of Mysql ==================== cd /usr/local/cpanel/base wget http://easynews.dl.sourceforge.net/sourceforge/roundcubemail/roundcubemail-0.1beta2.1.tar.gz tar -zxvf roundcubemail-0.1beta2.1.tar.gz mv -f roundcubemail-0.1beta2 roundcube cd roundcube chmod -R 777 temp chmod -R 777 logs […]

How to disable the the stats services(Analog or Awstats or Webalizer stats) in a cpanel server via backend.

You can disable Analog or Awstats or Webalizer stats in a cpanel server via backend by editing the file “/var/cpanel/cpanel.config”. 1.Check for the variables skipanalog, skipawstats, skipwebalizer in the file and change the values  of the variables to one. Now the variables should look like as follows:    skipanalog=1 skipawstats=1 skipwebalizer=1 Save the changes and restart […]

Script to transfer an restore mass cPanel accounts.

cPanel Data transfer. *** Before performing the account transfer, please setup the servers to ‘SSH without password’ *** The below given is the script to transfer.   # vi transfer_accounts.sh#!/bin/bash for i in `cat /etc/trueuserdomains | awk -F: ‘{print $2}’` do /bin/echo “$i” /scripts/pkgacct $i file=$(ls /home/cpmove*$i*) /bin/echo “$file” scp -P PORT $file root@IP:/root wait ls […]

Packages not being displayed in Reseller WHM after transfer

1. Check if the packages are displayed under Create Account option in Reseller WHM.2, If so check the package names : they should be prefixed with its owner name ‘user_'(Reseller account name).3. If the username prefix is missing, it will not be available for editing or deleting in reseller WHM. E.g: For a package ‘testpack’ […]