Archive for April, 2009

Installing SVN on Cpanel with mod_dav_svn support

Wednesday, April 22nd, 2009

This howto helps to install SVN (subversion  ) on a cpanel server
Since Cpanel compiles httpd from source ; it is best we compile svn also from source and install the mod_dav_svn apache2 module along with it. Please note that you must have apache2.0 inoder for this to work
Step1 - mod_dav_svn requires mod_dav to be present.So [...]

Change upload size in phpMyAdmin ( Cpanel )

Friday, April 10th, 2009

Change the post_max_size value to your choice in the file /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini which is the php.ini for phpMyAdmin and restart Cpanel. 

Difference between AddType and AddHandler

Monday, April 6th, 2009

AddType handler specifies how the client (eg:- browser) has to deal with a particular data stream . The AddHandler on the other hand maps a handler to the file extension telling the server what to do with it.
AddType application/x-httpd-php4 .php4
AddHandler application/x-httpd-php4 .php4
The above two  lines looks similar except for the difference in AddType and AddHandler [...]

How to choose a MPM module

Monday, April 6th, 2009

This is not an indepth topic but i will explain the difference between a prefork MPM and worker MPM. ( reference:- apache.org )
Before you start reading anything about MPM, multi threading etc first thing you need to understand is the difference between a  Process and a Thread and then everything would turn out to be [...]

CPUUNITS value in VPS

Saturday, April 4th, 2009

cpuunits is not dependent on RAM or vice versa . Normal allocation is 5000 pcs
CPUUNITS=”5000″
Analysis of a vps
———————–
vzcpucheck
Current CPU utilization: 227090
Power of the node: 781118
What this says is that node has 781000~ cpuunits available with the processors which it has there. What your host should do, is figure out how many VPSs your host is [...]

Quota problem on VPS

Saturday, April 4th, 2009

Scenario:- edquota: Can’t write quota for 32063 on /dev/vzfs: No such process
Resetting quota for <user> to 0 Meg….Done
This is used for tracking quota for all your files in the system. The more files you have in your system, the more quotaugidlimit is required . quotaugidlimit is used to track the numer of group and users [...]

Add exim interface IP

Saturday, April 4th, 2009

Consider your mail server IP got blocked in many spam databases and instead of waiting for the spam database authorities to remove it ( while you have given the IP unblock request ) you can change the mail server IP which exim uses so that email traffic is open again. We can use the “interface” [...]

Horde Session Handler error

Saturday, April 4th, 2009

Error:- Can’t find file: ‘horde_sessionhandler.MYI’
If you get this error, you’ve most likely done a file-based MySQL backup restore, and the InnoDB files are not present. The horde_sessionhandler table is an InnoDB table but not a MyISAM.
To fix this first you will need to stop mysql
# /etc/init.d/mysqld stop
Then remove the innoDB table
# rm /var/lib/mysql/horde/horde_sessionhandler.frm
Then start MySQL
# [...]