Archive for the 'cPanel' Category

cPanel 11.25.0 Stable released

Taken from cPanel’s news bulletin.

As you know, 11.25 has added a host of new features and functionality to cPanel & WHM. Tonight, 11.25 makes it to our STABLE builds. We will have additional technical staff on hand for the next few days to ensure the transition goes as smoothly as possible.

As always, should you need anything, the entire cPanel staff is here to help!

There have been some enhancements to the methods that cPanel uses to process log files that may result in undesired behavior with some system configurations.

Graceful Restarts:

If you are experiencing a high volume of graceful restarts in Apache due to log file rotation you may want to enable the Piped Log feature as follows:

* You must have root access to enable this feature.

* You must be running Apache 2.0 or later to enable this feature (not supported for Apache 1.x)

* Only available on 11.25.0 and later.

1. Login to WHM

2. Click /Service Configuration/

3. Click /Apache Configuration/

4. Click /Piped Log Configuration/

5. Check the box labeled /Enable piped Apache logs/

6. Click the Save button

This will cause your Apache configuration file to be rebuilt and Apache to be restarted.

More complete information about Piped Log can be viewed here:

http://forums.cpanel.net/f5/cpanel-11-25-log-processing-145417.html

An additional requirement for our enhanced log file processing is a larger disk space requirement inside of the /var partition. Upon upgrading to 11.25.0 if cPanel detects that your /var partition is too small it will disable bandwidth stats processing until the space requirement is remedied. If there is inadequate space in /var, notification is set to the level 1 notification targets as specified in WHM’s Contact Manager.

To re-enable:

1. Symlink /var/cpanel/bandwidth to a partition with sufficient space

2. Remove the file /etc/rrdtooldisable

3. Re-run upcp

Customers who need assistance with the update may contact cPanel support for assistance via

https://tickets.cpanel.net/submit/index.cgi?step=2&reqtype=tickets&product=cpwhm

Backup/Restore a cPanel Account

Previous Post: WHM Scripts

Now we’re going to start looking into some of those SSH commands.  Today we’ll be going over the commands pkgacct and restorepkg.

Backing up and restoring cPanel account’s is, in my opinion, faster by using the command line as you don’t have to wait for a sometimes sluggish web interface to load.

Let’s get started then, shall we? Continue reading ‘Backup/Restore a cPanel Account’

WHM Scripts

Did you know that if you have cPanel/WHM on your server, you also have a bunch of serverside commands that you can use?  These are good for advanced users, or the people who prefer to manage their servers in a hurry via the command line rather than waiting for a web interface to load.

Nearly everything that you can do in the WHM backend can be performed via command line.  These scripts are located in your server’s /scripts/ directory.  Only use scripts that have been verified by cPanel, or that you know yourself are safe as an unsafe script may damage your server.

Long list of scripts after the break… Continue reading ‘WHM Scripts’

Install fantastico on cPanel

A fantastico installation is pretty straight forward. First thing you need to do is obtain a Fantastico license from Netenburg.

One of the most common issues when installing fantastico is a buggy wget install on the server, so a working wget version will need to be installed. Another common issue is cPanels internal php may break, but we will discuss the fix to that later on. Continue reading ‘Install fantastico on cPanel’

Exim Error: Ratelimit database not available

2009-07-20 21:58:07 Failed to get write lock for /var/spool/exim/db/ratelimit.lockfile: timed out
2008-07-20 21:58:07 H=[xx.xx.xx.xx] temporarily rejected connection in “connect” ACL: ratelimit database not available

To fix such an error , the exim cache database on the server side needs to be clear off to stop this message. Continue reading ‘Exim Error: Ratelimit database not available’

cPanel Icon Missing From WHM List Accounts

I came across an issue for the first time where the cPanel icon was missing in the list accounts section. After digging around WHM, I found where the function was disabled.

  • Log into WHM
  • Select “Tweak Settings”
  • Uncheck the box next to “Disable login with root or reseller password into the users’ cPanel interface. Also disable switch account dropdown in themes with switch account feature”
  • Click save

After hitting save, you can go back to the list account section and the cPanel icon will be back.

Upgrade MySQL4 to MySQL5 on cPanel server

Upgrading MySQL versions is a quick and easy process, not much work involved. Always be sure to make a backup before you start though, just in case the upgrade fails or some other unforeseen issue arises.

cp -Rpf /var/lib/mysql /var/lib/mysql.BAK
Login to WHM –> Tweak Settings –> MySQL -> 5.0  and Save settings
/scripts/mysqlup –force
/scripts/perlinstaller –force Bundle::DBD::mysql
/scripts/realperlinstaller –force DBD::mysql
Recompile PHP

You’re done :)