<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WHM Archives - Vavai&#039;s Personal Notes</title>
	<atom:link href="https://www.vavai.net/tag/whm/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.vavai.net/tag/whm/</link>
	<description>Life is our precious gift</description>
	<lastBuildDate>Sun, 16 Feb 2014 05:28:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Tips WHM/CPanel: WHM Access Restriction for Certain IP</title>
		<link>https://www.vavai.net/tips-whmcpanel-whm-access-restriction-for-certain-ip/</link>
					<comments>https://www.vavai.net/tips-whmcpanel-whm-access-restriction-for-certain-ip/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Sun, 16 Feb 2014 05:28:17 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1731</guid>

					<description><![CDATA[<p>One of the common problems while managing WHM/CPanel based hosting is blacklist access into WHM/CPanel due to CPHulk plugins. CPHulk activated by default on WHM (if you choose Yes while initial setup) and and serves as a blacklist software just like Fail2ban or Denyhost to prevent logon services from spammers/crackers. The problem is, sometimes CPHulk can...</p>
<p>The post <a href="https://www.vavai.net/tips-whmcpanel-whm-access-restriction-for-certain-ip/">Tips WHM/CPanel: WHM Access Restriction for Certain IP</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>One of the common problems while managing WHM/CPanel based hosting is blacklist access into WHM/CPanel due to CPHulk plugins. CPHulk activated by default on WHM (if you choose Yes while initial setup) and and serves as a blacklist software just like <a href="http://v2.vavai.net/2011/10/tips-improving-zimbra-mail-server-security-with-fail2ban/">Fail2ban </a>or Denyhost to prevent logon services from spammers/crackers.<br />
The problem is, sometimes CPHulk can not determines which normal access and which aren&#8217;t. Consequently even our legitimate IP could be blacklisted or could not logged in as root due too many failures. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /> . Why? Because cracker would trying to choose  random password and CPHulk will automatically reject root login after a few login attempts</p>
<p><span id="more-1731"></span>in addition to closing the recommended port, there is also the easiest way to anticipate this kind of problem,by doing WHM access limit/WHM login page access protection. To do so, run the following procedure :</p>
<ol>
<li>Login to WHM login page, enter your user name and password</li>
<li>In the  <strong>Security Center </strong>group menu<strong>,</strong> click <strong>Host Access Control</strong> menu</li>
<li>On the <strong>Daemon,</strong> select <strong>Whostmgrd</strong> daemon. It is a daemon application for WHM. We can also choose to protect SSH (<strong>SSHD)</strong> daemon or <strong>CPaneld </strong>daemon for CPanel.</li>
<li>In the <strong>Access List,</strong> enter the IP or IP range that is allowed to access. Write down the full subnet, for example, to network segment  122.201.98.70/29 means to enter the IP 122.201.98.64/255.255.255.248.Configure it as 122.201.98.64/29 will not work because WHM will only accepting full network subnet.if you asked me, why using 122.201.98.<strong>64</strong>/255.255.255.248 and not 122.201.98.<strong>70</strong>/255.255.255.248  instead, then you should take IP subnet course <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f61b.png" alt="😛" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
<li><span style="line-height: 1.5em;">In the </span><strong style="line-height: 1.5em;">Action</strong><span style="line-height: 1.5em;"> section select </span><strong style="line-height: 1.5em;">&#8220;Allow&#8221;</strong></li>
<li>Do the same thing to another IP segment which will be allowed</li>
<li>At the bottom, Select <strong>Daemon = Whostmgrd, Access List = ALL</strong> and <strong>Action = Deny.</strong> Means that other than registered IP will not be allowed</li>
<li>When finished, click the <strong>&#8220;Save Host Access List&#8221;</strong></li>
<li>Perform WHM access from the allowed IP and from outside registered  IP list</li>
</ol>
<p>For those who are accustomed to dealing with Linux servers, the above process basically does limit access by adding a rule in the file /etc/hosts.allow <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a href="https://www.vavai.net/tips-whmcpanel-whm-access-restriction-for-certain-ip/">Tips WHM/CPanel: WHM Access Restriction for Certain IP</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/tips-whmcpanel-whm-access-restriction-for-certain-ip/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WHM/CPanel : How to Move MySQL Data Folder</title>
		<link>https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/</link>
					<comments>https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Wed, 12 Feb 2014 11:29:45 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Moving]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[SUSE Family]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1712</guid>

					<description><![CDATA[<p>Last week, I checked WHM (Web Hosting Management) server which used by this blog,  Excellent website and  Vavai.com due to an error messages regarding failed WHM update. After a few checking, it seems that root partition only left a bit free space and one of the largest folder  is var/lib/mysql which contain a MySQL server databases. Before the partition...</p>
<p>The post <a href="https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/">WHM/CPanel : How to Move MySQL Data Folder</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://54.254.121.108/wp-content/uploads/2014/02/mysql-logo.jpg"><img decoding="async" class="alignleft  wp-image-1718" style="margin: 5px;" alt="mysql-logo" src="http://54.254.121.108/wp-content/uploads/2014/02/mysql-logo.jpg" width="239" height="175" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/mysql-logo.jpg 399w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/mysql-logo-300x219.jpg 300w" sizes="(max-width: 239px) 100vw, 239px" /></a>Last week, I checked WHM (Web Hosting Management) server which used by <a href="http://v2.vavai.net">this blog</a>,  <a href="http://www.excellent.co.id">Excellent </a>website and  <a href="http://www.vavai.com">Vavai.com</a> due to an error messages regarding failed WHM update. After a few checking, it seems that root partition only left a bit free space and one of the largest folder  is <b>var/lib/mysql </b>which contain a MySQL server databases. Before the partition getting lower and lower and would caused another problem, I decided to move the folder to another bigger partition.<br />
The following are the processes which I have done to prevent further problem. Please note that while doing this setting, there will be a minimal down time (1-2 minutes). In this case, I prepare different partition on /dev/sdc1 which have approximately 100 GB free space and mounted to /srv/whm) :<span id="more-1712"></span></p>
<ol>
<li>Go to WHM, choose Service Manager menu and uncheck on <strong>Monitoring MySQL </strong>option  then click save. It&#8217;s an important step to prevent MySQL services to being automatically restart by WHM service monitor</li>
<li>SSH or Putty to WHM console and run the following command :
<pre>mkdir -p /srv/backup/
chmod 777 -R /srv/backup
mysqldump --all-databases | gzip &gt; /srv/backup/alldatabases.sql.gz
rsync -av /var/lib/mysql /srv/whm/
chown -R mysql:mysql /srv/whm/mysql
/etc/init.d/mysql stop
rsync -av --delete-after /var/lib/mysql /srv/whm/
mv /var/lib/mysql /srv/backup
ln -s /srv/whm/mysql /var/lib/mysql
/etc/init.d/mysql start</pre>
</li>
<li><span style="line-height: 1.5em;">Back again to WHM, choose Service Manager and check on monitoring MySQL then save</span></li>
</ol>
<p>On the above step, I choose to take a safe precaution, so I back up the data using rsync command before moving the data.  It would take longer steps but safer than the simple steps but  has risk of data loss. If you feel confident, you can ignore the rsync command and  just go through the instruction : Shutting down MySQL service, move the data into another folder, then make the symlink, and finally re-activate the MySQL services.<br />
Actually, those instructions are should be applicable for non WHM MySQL server, for example, to move the mysql data on openSUSE / SLES server.</p>
<p>The post <a href="https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/">WHM/CPanel : How to Move MySQL Data Folder</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/whmcpanel-how-to-move-mysql-data-folder/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WHM/CPanel Tips : How to Reset Bandwidth Usage</title>
		<link>https://www.vavai.net/whmcpanel-tips-reset-bandwidth-usage/</link>
					<comments>https://www.vavai.net/whmcpanel-tips-reset-bandwidth-usage/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Sun, 09 Feb 2014 12:43:54 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[CPanel]]></category>
		<category><![CDATA[Excellent]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1555</guid>

					<description><![CDATA[<p>This morning one of our customer contact me due to an error message on his website. Instead of displaying blog content, his website display an error message : &#8220;Bandwidth limit exceeded &#8221; . This message usually appears when the website bandwidth exceeds predetermined limit . Bandwidth usage is calculated from the total of  incoming and...</p>
<p>The post <a href="https://www.vavai.net/whmcpanel-tips-reset-bandwidth-usage/">WHM/CPanel Tips : How to Reset Bandwidth Usage</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This morning one of our customer contact me due to an error message on his website. Instead of displaying blog content, his website display an error message : &#8220;Bandwidth limit exceeded &#8221; . This message usually appears when the website bandwidth exceeds predetermined limit . Bandwidth usage is calculated from the total of  incoming and outgoing data (upload and download) of the hosting account .<br />
<a href="http://54.254.121.108/wp-content/uploads/2014/02/vavai-bandiwdth-limit-exceeded.png"><img decoding="async" class="alignnone size-full wp-image-1557" alt="vavai-bandiwdth-limit-exceeded" src="http://54.254.121.108/wp-content/uploads/2014/02/vavai-bandiwdth-limit-exceeded.png" width="386" height="116" srcset="https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-bandiwdth-limit-exceeded.png 386w, https://d3b35uem336dgh.cloudfront.net/wp-content/uploads/2014/02/vavai-bandiwdth-limit-exceeded-300x90.png 300w" sizes="(max-width: 386px) 100vw, 386px" /></a><br />
<span id="more-1555"></span>The easiest way to resolve the problem is simply increase the bandwidth limit and maybe charge for additional bandwidth :_) , but I am curious how many bandwidth was consumed for a standard website with usual traffic, so I checked the bandwidth usage before trying to upgrade the bandwidth limit.<br />
After checking bandwidth usage, I found unexpected results. His website consumed more than 50 GB bandwidth. This is  quite large, because  his website not really popular and daily traffic is about 300-700 visitors. After check some possibility of an error setting , I found the source problem : bandwidth usage came from backup traffic while transferring his website into another server/location.<br />
<span style="line-height: 1.5em;"></span><br />
According the above check,  it&#8217;s seems much easier to reset the bandwidth usage rather than increase his bandwidth limit. The following step are the procedure to reset bandwidth usage in WHM (Web Hosting Management) :</p>
<ol>
<li>SSH/Putty to a WHM server</li>
<li><span style="line-height: 1.5em;">Go to the folder <strong>/var/cpanel/bandwidth.cache/</strong></span></li>
<li><span style="line-height: 1.5em;">Edit the corresponding file name, according to the name of hosting account</span></li>
<li><span style="line-height: 1.5em;">Change the number of bandwidth to the desired number . For example, I change the number with 0, it means that the bandwidth usage is reset to zero</span></li>
<li><span style="line-height: 1.5em;">Save the edited file. Check bandwidth usage on <strong>WHM | Show Bandwidth Usage</strong>, it should display the correct bandwidth usage according to the results of the previous step</span></li>
</ol>
<p>Increasing bandwidth usage usually correlated with the level of traffic and the popularity of website, but it can also caused by too many file download and upload.</p>
<p>The post <a href="https://www.vavai.net/whmcpanel-tips-reset-bandwidth-usage/">WHM/CPanel Tips : How to Reset Bandwidth Usage</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/whmcpanel-tips-reset-bandwidth-usage/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WHM Tips : Modify Name Server IP Address</title>
		<link>https://www.vavai.net/whm-tips-modify-name-server-ip-address/</link>
					<comments>https://www.vavai.net/whm-tips-modify-name-server-ip-address/#respond</comments>
		
		<dc:creator><![CDATA[Muhammad Rivai]]></dc:creator>
		<pubDate>Sun, 09 Feb 2014 04:36:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CPanel]]></category>
		<category><![CDATA[DNS Server]]></category>
		<category><![CDATA[Name Server]]></category>
		<category><![CDATA[WHM]]></category>
		<guid isPermaLink="false">http://v2.vavai.net/?p=1537</guid>

					<description><![CDATA[<p>WHM ( Web Hosting Management ) as the name implies is usually used as a management software for hosting . In addition to hosting management , WHM is also often used as a DNS Server/Name Server. DNS Servermanagement can lead the possibility of name server IP address changes; for example due to server migration into...</p>
<p>The post <a href="https://www.vavai.net/whm-tips-modify-name-server-ip-address/">WHM Tips : Modify Name Server IP Address</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://54.254.121.108/wp-content/uploads/2014/02/logo_cpanel_whm.png"><img decoding="async" class="alignleft size-full wp-image-1538" style="margin: 5px;" alt="logo_cpanel_whm" src="http://54.254.121.108/wp-content/uploads/2014/02/logo_cpanel_whm.png" width="250" height="188" /></a>WHM ( Web Hosting Management ) as the name implies is usually used as a management software for hosting . In addition to hosting management , WHM is also often used as a DNS Server/Name Server. DNS Servermanagement can lead the possibility of name server IP address changes; for example due to server migration into another location.<br />
To make sure the replacement of IP name server used by WHM , perform the following steps :<br />
<strong>Change the file contents of the file /var/cpanel/nameserverips.yaml</strong><br />
[code lang=&#8221;bash&#8221;]<br />
cd / var / cpanel<br />
cp nameserverips.yaml nameserverips.yaml.bak<br />
vi nameserverips.yaml<br />
[/code]<br />
<span id="more-1537"></span>Adjust the contents of the IP address to match the desired IP address.<br />
<strong>Change the contents of the file /etc/nameserverips</strong><br />
The contents of this file are used to display the name server information available on the menu <strong>WHM | Networking Setup | Name Server IPs</strong><br />
[code lang=&#8221;bash&#8221;]<br />
vi / etc / nameserverips<br />
[/code]<br />
<strong>Validating DNS Zone</strong><br />
Do not forget to check on<strong> DNS Functions menu | Edit DNS Zone</strong> and make sure the contents of zone records related to the name server has the appropriate IP.<br />
After completing the above task, check back on the menu <strong>WHM | Networking Setup | Name Server IPs</strong> and the <strong>WHM menu | Basic cPanel &amp; WHM Setup | Name Servers</strong>.  Make sure the IP address of name server has been set in accordance with the desired IP.</p>
<p>The post <a href="https://www.vavai.net/whm-tips-modify-name-server-ip-address/">WHM Tips : Modify Name Server IP Address</a> appeared first on <a href="https://www.vavai.net">Vavai&#039;s Personal Notes</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.vavai.net/whm-tips-modify-name-server-ip-address/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Object Caching 9/99 objects using Disk
Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: d3b35uem336dgh.cloudfront.net
Lazy Loading (feed)
Minified using Disk
Database Caching using Disk (Request-wide modification query)

Served from: www.vavai.net @ 2026-11-03 06:16:44 by W3 Total Cache
-->