easyapache out of memory

 

While update easy apache you will get an error like out of memory.Its caused because of memory allocated to cpanel.

Error:

If the server does not have enough memory to run the build via a browser (IE if you get “Out of memory” errors below) then you will have to do the build via command line with /scripts/easyapache.

Solution:

1.Login to your WHM panel.
2.Goto -> Tweak Settings -> Max cPanel process memory
3.Change the value to 512 and click save.
4.Now rebuild easy apache.

Account Creation Status: failed This system already has an account named

 

I am trying to create a new account on my cPanel server but I am seeing this error message:
Account Creation Status: failed
This system already has an account named “vivatir”.
I cannot find “vivatir” in httpd.conf :(
—————————————-
Please verify you given username present under file /etc/userdomains. You can check using below command :

cat /etc/userdomains | grep vivatir

If you find means given user name present on you cPanel

—————————————
check whether any entries for the user/domain is existing in the following files/locations
/etc/passwd
/etc/userdomains
/var/cpanel/users/vivatir
/var/cpanel/userdata/*
/etc/group
Check for the domains zone file entries in /var/named and /etc/named.conf. If so remove them .
Once every thing is confirmed to be clean, execute the scripts
/scripts/updateuserdomains
/scripts/rebuildhttpdconf
then restart httpd

12 best tweaks to speed up your VPS/WHM/cPanel and to reduce background memory/CPU usage. It’s pretty easy to do

 

I am briefly pointing out 12 best tweaks to speed up your VPS/WHM/cPanel and to reduce background memory/CPU usage. It’s pretty easy to do. You yourself can tweak the performance of your VPS (Virtual Private Server) from your WHM (Web Host Manager) control panel. If you are unsure about the technicalities, you can ask your host to do these tweaks for you. I am here jotting down the list of tweaks for your ease of understanding. If you want any further explanation regarding any point, you can drop me a comment.

1. Turning Mailman off – WHM >> Server Configuration >> Tweak Settings and turning it off
2. Number of minutes between mail server queue runs (default is 60) – Setting it 120
3. Default catch-all/default address behavior for new accounts” to fail
4. Boxtrapper Spam Trap and SpamAssassin Spam Box delivery – off
5. Analog Stats – off
6. Conserve Memory at the expense of using more cpu/diskio – turn on
7. WHM >> Service Configuration >> FTP Server Configuration – Check ‘no’ to ‘allow anonymous logins and ‘no’ to ‘anonymous uploads’
8. WHM >> cPanel >> Manage Plugins – install spamdconf – then go to ‘Setup Spamd Startup Configuration’ – select option 2 ‘Maximum Children” to 2?
9. Run your cron jobs at off peak hours.
10. Install e Accelerator PHP accelerator (Recompile Apache with eAccelerator)
11. Compiling Apache with mod_deflate Gzip Module
12. Running Apache with the thread-based “Worker” MPM instead of the default “Prefork” MPM

Installing Directadmin

 

Hi

DirectAdmin to install SSH login first and then ordered it to enter the

1- yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2

2- wget http://directadmin.com/setup.sh

3- chmod +x setup.sh

4- sh setup.sh

(You can buy from our DirectAdmin license)

After entering the above commands you will be asked a series of questions such as specifications .. after entering the license and it takes about 45 minutes to install DirectAdmin

When the installation is complete specifications DirectAdmin DirectAdmin login to ssh to your shows in the media

Thanks

CPanel Installation

 

Requirements for installing cPanel

A new version (before the control panel is installed) operating systems centos 5 or 6

At least 20 GB of space hardware with at least 512 MB of RAM and at least 600 MHz CPU

A cPanel license (You can purchase a license from us)

To begin this process, by the command yum update, all packages to update centos

1-  yum update

CPanel is an installation package we received command from the main site

2- cd /home

3- wget -N http://httpupdate.cpanel.net/latest

Since then, the process takes three to four hours and may speed up your Internet or discontinued, which is why we strongly recommend or by a Windows VPS, or by a screen from being interrupted due process connections if your connection is interrupted in the middle do not have to re-install centos.

Enter the following command:

4- sh latest

Depending on your server hardware between 40 minutes to 4 hours installation process might take,
Upon completion of the installation with the following method can not enter WHM (IP server instead of 10. 10. 10. 12 Enter:

5- http://10.10.10.12:2087

Good luck