Archive for the ‘cpanel’ Category

How to install php eaccelerator on 64 bit linux server?

Installation of php eaccelerator  —>> Source : http://bart.eaccelerator.net/source/0.9.5.3/ Steps :  $ tar -jxvf eaccelerator-0.9.5.2.tar.bz2 $ cd eaccelerator-0.9.5.2 $ phpize $ ./configure $ make $ make install  after the last command, it shows this line: Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/ Now we edit php.ini //php -i |grep php.ini or php –ini $ nano /usr/local/lib/php.ini and add these line: […]

How to install svn (Subversion) on linux machine?

SVN or Subversion  —>> Subversion, or SVN, is a mechanism by which developers can keep track of changes to their code and distribute these changes to the public in real time. This allows people to take advantage of software as it is being developed, between official releases.  I referred following steps : ==== cd /usr/local/src/ […]

Repairing corrupted mysql database

Sometimes it happens that your database get corrupted due to many reason like it does nto get restored properly or server get rebooted while updating database etc…. and you have tried to repait it using phpmyadmin and it does shows that it has repaired but it is not. Solution : Login to server with root […]

How to Enable html view for horde?

Login to shell using root user and follow the following steps to enable HTML view of horde webmail. root@server[~]# vi /usr/local/cpanel/base/horde/imp/config/mime_drivers.php Search for the line —- /** * HTML driver settings */ $mime_drivers[‘imp’][‘html’][‘inline’] = false; —– and replace it with ——– /** * HTML driver settings */ $mime_drivers[‘imp’][‘html’][‘inline’] = true; ——– Save the changes and […]

Not able to login to Horde?

Many times it happens that horde wont allow user to login to webmail. Try following command to fix the issue root@server[~]#/usr/local/cpanel/bin/checkperlmodules root@server[~]#/scripts/fullhordereset root@server[~]#myisamchk -r /var/lib/mysql/horde/horde_sessionhandler.MYI If still you have problem then check the ownership for session directory present in /var/cpanel/userhomes/cpanelhorde directory. root@server[~]#ll /var/cpanel/userhomes/cpanelhorde drwx–x–x 4 cpanelhorde cpanelhorde 4096 Jun 5 2009 ./ drwx–x–x 7 root […]

How to enable alternate port for exim?

Exim is a mail transfer agent (MTA) used on Linux/Unix-like operating systems. It is freely available under the GNU GPL and it aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail. Normally default port for exim is 25. but most of the ISP block port 25. so it is necessary that an […]

How to stop or Enable/Disable mailman service on cpanel/whm

Run following command on shell to start/stop mailnam service on cPanel server. /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl start /usr/local/cpanel/3rdparty/mailman/bin/mailmanctl stop Also you can login to WHM > tweak settings and Enable/disable mailman there. How to check if mailman service running or not ? ps -ax|grep mailman

Webcalender Error Cache error: Could not write file /tmp

After installing web calender from fantastico, you will get the following error. Cache error: Could not write file /tmp/d16090f5de830d7675276b6523ce3f59.dat. Solution : Edit settings.php file which you will find under includes folder. Search for db_cachedir: /tmp and replace it with following db_cachedir: /home/user/public_html/tmp Save the file then create tmp folder under public_html and assign 777 permission. […]

Rouncube hangs while sending message

Whenever you compose email and click send, it just never sends the message. A circle keeps rotating at the top saying Sending. Solution : Login to server with root user and made following changes. vi /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php and serach for following line $rcmail_config[‘smtp_user’] = ‘%u’; Replace it with $rcmail_config[‘smtp_user’] = ”;    

How to configure Google Apps in cpanel server ?

DNS settings for Google Apps: 1) Set the following MX record for your domain . domain.com. IN MX 10 aspmx.l.google.com. domain.com. IN MX 20 alt1.aspmx.l.google.com. domain.com. IN MX 5 alt2.aspmx.l.google.com. domain.com. IN MX 10 alt3.aspmx.l.google.com. domain.com. IN MX 10 aspmx2.googlemail.com. domain.com. IN MX 10 aspmx3.googlemail.com. 2) Then set the CNAME record for your mail.domain.com Replace […]