cPanel FAQ for VPS

From: Q: I’m having server problems but the problem is not listed below. What should I do? A: There are two options: You can search the Knowledgebase in WebHost Manager. The is explained in the support part of this manual. You can search the CPanel forums – Q: How do I login to […]

Cpanel disk used incorrect showing unlimited or 0MB

You can fix this by running the script¬† /scripts/fixquotas is this doesn’t work and you are using Virtuozzo or OpenVZ you will need to set the QUOTAUGIDLIMIT perimeter – this allows the system to allocate user IDs (UID) e.g (openvz) vzctl set 101 –quotaugidlimit 1000 –save then run the scrip “/scripts/fixquotas” and it should all […]

DirectAdmin yum.conf

vi /etc/yum.conf [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=centos-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php*

How to override open_basedir settings in Plesk

Plesk will overwrite any httpd.conf settings unless you include them in… /home/httpd/vhosts/DOMAIN/conf/vhost.conf basically, the instruction everywhere on the web on how to modify the open_basedir for plesk, so it won’t overwrite it, were all wrong… here’s the instruction from the Plesk website: <Directory /home/httpd/vhosts/DOMAIN/httpdocs> php_admin_value open_basedir “/home/httpd/vhosts/DOMAIN/httpdocs:/tmp:/usr/bin:/usr/local/bin” </Directory> this didn’t work because the the […]

Adding custom modules to apache for customapache : DirectAdmin

If you want to add any extra modules to apache, they’ll need to be compiled in. Any module that needs to be compiled in will have a –with-module type flag which will need to be used. To add this flag, run the following: cd /usr/local/directadmin/customapache vi configure.apache_ssl #add your –with-module line to the end of […]

Easy apache error on a VPS – !! Warning (VZ): You are only only guaranteed xx Megabytes of ram! xxx Megabytes is recommended. !!

Easy::Apache v3.2.0 Build 4310 !! Warning (VZ): You are only only guaranteed 224 Megabytes of ram! 512 Megabytes is recommended. !! If you get above memory error on VPS while running easy apache,¬† You can fix by using following steps. Login in to main VPS and edit the variable OOMGUARPAGES accordingly. OR OpenVZ Users : […]