July 2, 2012 archive

Jul 02

Update tweak settings in WHM through backend

When we make changes in /var/cpanel/cpanel.config, /etc/cpupdate.conf etc, we need to run the following command to save the tweak settings, if we are working through backend of the server. ====== /usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings ======

Jul 02

When using temporary URL for wordpress

We know if a user wish to change the hosting server, he or she wont remove the account completely from the old server without starting their account resolved from new server. This because, no one wants their site down even for a single minute. There is a common method which a user can test their …

Continue reading

Jul 02

When mysql queries get locked due to /tmp full!!!

Sometimes mysql queries get locked when /tmp is out of space. The /tmp probably get full in a timely manner and the partition can be cleared by using the following script. This script can also be set as cron job which would make much easier to clear /tmp when it is full in turns. ========== …

Continue reading

Jul 02

For maximum allowed smtp request

For this, please vary the following parameter in exim.conf. —— smtp_accept_max ——

Jul 02

Enable Userdir protection to single domain in a server

The following can be done for USERDIR protection to a single domain, in other words you can keep a particular account away from enabling temporary URL. Try it in the httpd.conf file and of the account’s Virtual Host block. ======== UserDir public_html UserDir disabled username ========

Jul 02

cPanel icons missing

Sometimes an unexpected error occurs like missing all icons in cPanel. This can be fixed by running the following command: —- /usr/local/cpanel/bin/rebuild_sprites —-