<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title><![CDATA[VPSBLOCKS PTY LTD]]></title>
<link><![CDATA[https://www.vpsblocks.com.au/support/]]></link>
<description />
<generator><![CDATA[Kayako fusion v4.93.20]]></generator>
<item>
<title><![CDATA[Is Your Server Down or Cannot Be Reached]]></title>
<link><![CDATA[https://www.vpsblocks.com.au/support/index.php?/Knowledgebase/Article/View/]]></link>
<guid isPermaLink="false"><![CDATA[0266e33d3f546cb5436a10798e657d97]]></guid>
<pubDate><![CDATA[Wed, 15 Apr 2015 14:21:11 +1000]]></pubDate>
<dc:creator />
<description><![CDATA[Getting my VPS back online or getting access again
1. If it's a cPanel server check to ensure&nbsp;it's not reachable through a different internet connection (such as 3g/4g on your mobile phone). If it is it means you have simply blocked yourself in the ...]]></description>
<content:encoded><![CDATA[<p><strong>Getting my VPS back online or getting access again</strong></p>
<p>1. If it's a cPanel server check to ensure&nbsp;it's not reachable through a different internet connection (such as 3g/4g on your mobile phone). If it is it means you have simply blocked yourself in the firewall (most likely by trying to login accidentally using&nbsp;incorrect credentials). To rectify this see:&nbsp;<a href="https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/73/0/locked-out-of-cpanel-vps">https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/73/0/locked-out-of-cpanel-vps</a></p>
<p>2. If you serve websites check to see if they are reachable from elsewhere, a good website to do that is: <a href="http://isup.me">http://isup.me</a>&nbsp;</p>
<p>3. If you are in China, most likely the China traffic block is active. This blocks all incoming requests from China and is on by default. To&nbsp;turn off this block see:&nbsp;<a href="https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/188/0/disable-china-block">https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/188/0/disable-china-block</a></p>
<p>4.&nbsp;Check the console to see what your VPS is actually doing. Even if your VPS is offline or unreachable you should be able to view the console to see what has actually happened. This is available in our portal system, see:&nbsp;<a href="https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/28/0/how-can-i-get-console-access-to-my-vps">https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/28/0/how-can-i-get-console-access-to-my-vps</a></p>
<p>5. If you've accessed the console and the VPS is not responding or still not functioning properly, you can easily power off and back on your VPS. This should bring your VPS back online right away, you&nbsp;after powering it back on you can also view the console to&nbsp;watch it booting. See:&nbsp;<a href="https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/34/0/how-do-i-stop--start--restart-my-vps">https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/34/0/how-do-i-stop--start--restart-my-vps</a></p>
<p>6. If your VPS is still not online after a reboot please open a ticket with support.</p>
<p><strong>Why did it go down?</strong></p>
<p>If your VPS was unresponsive and required a reboot, generally the reason is a lack of available memory or very heavy server load.</p>
<p><em><strong>Linux</strong></em></p>
<p>Linux VPSs can behave normally but once they are under stress if your usable RAM runs out the&nbsp;operating system will attempt to kill various services, if it runs out very quickly it may hang completely.</p>
<p>1. Firstly make sure you have a file based swap partition, see:&nbsp;<a href="https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/131/0/creating-a-file-based-swap-partition">https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/131/0/creating-a-file-based-swap-partition</a></p>
<p>2. Add some more physical RAM to your machine, see:&nbsp;<a href="https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/86/0/how-to-upgrade-your-memory--ram">https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/86/0/how-to-upgrade-your-memory--ram</a></p>
<p>3. Setup a monitor so that if it reoccurs your VPS can be automatically restarted upon detection of failures (we recommend at least 3 failures before you set it to restart however). See:&nbsp;<a href="https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/244/0/setup-a-vps-monitor">https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/244/0/setup-a-vps-monitor</a></p>
<p>4. Add CPU cores,&nbsp;if your server comes under heavy load at times adding CPU cores can help, see:&nbsp;<a href="https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/87/0/how-to-upgrade-your-processor--cpu-cores">https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/87/0/how-to-upgrade-your-processor--cpu-cores</a></p>
<p>5. If cPanel limit your&nbsp;apache configuration in WHM -&gt; Service Configuration -&gt; Apache&nbsp;Configuration.&nbsp;Lower your server limit, max clients, max requests per child and possible timeout values. This should help reduce the amount of RAM apache processes would use if the server comes under heavy load.</p>
<p>6. Change your PHP configuration from suPHP to DSO or CGI. suPHP is a little more secure, however, it&nbsp;uses more RAM than both DSO and CGI and also affects performance.</p>
<p><em><strong>Windows</strong></em></p>
<p>Windows VPSs rarely go offline. They can become unresponsive however if you have used all your RAM, this is particularly the case for servers with only 1GB of RAM.</p>
<p>1. Add more RAM, see:&nbsp;<a href="https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/86/0/how-to-upgrade-your-memory--ram">https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/86/0/how-to-upgrade-your-memory--ram</a></p>
<p>2. Monitor your RAM usage in the task manager, when you are logged in open the task manager. Anything more than 80% usage and you will very quickly run into&nbsp;memory issues.</p>
<p>3. If you are using the Windows machine to browse the internet, make sure you have all other&nbsp;applications closed, this includes server management which loads automatically upon login.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Locked Out Of cPanel VPS]]></title>
<link><![CDATA[https://www.vpsblocks.com.au/support/index.php?/Knowledgebase/Article/View/]]></link>
<guid isPermaLink="false"><![CDATA[d2ddea18f00665ce8623e36bd4e3c7c5]]></guid>
<pubDate><![CDATA[Thu, 18 Oct 2012 17:09:38 +1100]]></pubDate>
<dc:creator />
<description><![CDATA[If you are locked out of your cPanel VPS and cannot load your website, cPanel and/or WHM login, chances are you have been blocked by the inbuilt firewall protection.&nbsp;Please follow the steps starting at point 1 (it's unlikely you are blocked by the 2n...]]></description>
<content:encoded><![CDATA[<p>If you are locked out of your cPanel VPS and cannot load your website, cPanel and/or WHM login, chances are you have been blocked by the inbuilt firewall protection.&nbsp;Please follow the steps starting at point 1 (it's unlikely you are blocked by the 2nd section - cPHulk, so focus on point 1 first).</p>
<p><strong>1. You are blocked by ConfigServer Security &amp; Firewall.</strong></p>
<p>This is a plugin product that is installed by default on cPanel servers we provision. This is the most likely cause of losing access to your cPanel server. You can do a quick test to ensure that your server is online&nbsp;and it's only you who is blocked by testing it at&nbsp;<a href="http://downforeveryoneorjustme.com/">http://downforeveryoneorjustme.com/</a>&nbsp;</p>
<p>If the server is indeed online, and&nbsp;it's only you who are blocked, then most likely you are blocked by the firewall.</p>
<p><strong>Getting access again</strong></p>
<p>If you are blocked by ConfigServer Security &amp; Firewall, the quickest thing to do is reset your ADSL modem and get a new IP address. This will allow you access again.</p>
<p>Alternatively you'll need to access WHM using another internet connection (for example through 3G or 4G on your phone), go to WHM -&gt; Plugins -&gt; ConfigServer Security &amp; Firewall and choose 'Flush Blocks'. This will remove all current blocks and allow you regular access again.</p>
<p><strong>Whitelisting your IP</strong></p>
<p>You can now login to WHM -&gt; Plugins -&gt; ConfigServer Security &amp; Firewall. Find the 'Quick Allow' button, and hit a little cog icon next to it. This will auto fill the field with your IP address, then click 'Quick Allow'. This will whitelist your current IP address.</p>
<p><strong>Find out why you were blocked</strong></p>
<p>ConfigServer Security &amp; Firewall will block you if you are NOT on the whitelist, and if you try to login using incorrect credentials to any service on the server (this includes mail, cPanel, WHM, SSH, website authentication and FTP).</p>
<p>If you were blocked and want to see exactly why you need to:</p>
<ul>
<li>Go to WHM -&gt; ConfigServer Security &amp; Firewall</li>
<li>Click on 'Search System Logs'</li>
<li>Type your IP address and click the 'Search' &nbsp;button.</li>
<li>This will show you any entries with regards to that IP and a reason it was blocked.</li>
</ul>
<p><strong>2. You are blocked by the cPHulk (cPanel brute force protection).</strong></p>
<p>The easiest way to fix this is reset your ADSL modem and get a new IP address. You can then access WHM and find 'cPHulk Brute Force Protection'. You can whitelist your IP address in there. You can also flush all blocks in there.</p>
<p>Alternatively (if you cannot change your IP address or access WHM via another internet connection to flush any blocks), to fix this, you will need to restart your VPS (this can be done through the 'My Account' -&gt; 'Manage VPS' on our website).</p>
<p>Set a constant ping to your VPS IP address while it's restarting by opening a command prompt and typing:</p>
<p>ping x.x.x.x&nbsp;-t</p>
<p>As soon as it starts to ping, you need to login through SSH (we recommend Putty)</p>
<p>Once you are in, type the following:</p>
<ul>
<li>Type <strong>mysql</strong> at console to access MySQL client.</li>
<li>At MySQL client prompt, enter the following commands (preceding with mysql&gt;)one after one, pressing Enter each time:
<p>mysql&gt; <strong>use cphulkd;</strong></p>
<p>Expected result: Database changed.</p>
<p>mysql&gt; <strong>DELETE FROM `brutes`;</strong><br />mysql&gt; <strong>DELETE FROM `logins`;</strong></p>
<p>Above commands will remove all blocked IP addresses and locked accounts from the system, enabling full access again. If you&rsquo;re familiar with SQL statements, it&rsquo;s possible to use WHERE clause to specify logins or IP address that you want to remove only.</p>
<p>mysql&gt; <strong>quit;</strong></p>
<p>Exit MySQL client; (do not close your SSH connection)</p>
</li>
</ul>
<p>Try connecting now through WHM. If it still fails type:</p>
<p>rm -f /var/cpanel/hulkd/enabled</p>
<p>/etc/rc.d/init.d/cpanel restart</p>
<p>That will disable cpHulk which is the cause of the lockout, and restart cPanel. Now try logging into WHM again and you should be fine.</p>
<p>To avoid future blockage or lock out, it&rsquo;s recommended to add your own IP address to the whitelist in cPHulk Brute Force Protection. To do so, go to WHM -&gt; Security -&gt; Security Center -&gt; cPHulk Brute Force Protection.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[IPv6 duplicate address and dadfailed]]></title>
<link><![CDATA[https://www.vpsblocks.com.au/support/index.php?/Knowledgebase/Article/View/]]></link>
<guid isPermaLink="false"><![CDATA[cf004fdc76fa1a4f25f62e0eb5261ca3]]></guid>
<pubDate><![CDATA[Wed, 29 Jan 2020 15:53:53 +1100]]></pubDate>
<dc:creator />
<description><![CDATA[Solving the issue with IPv6 when DAD is failed
Symptoms:

A lot of entries in the system log looking like this:kernel: [xxxx.yyyy] eth0: IPv6 duplicate address aaaa:bbbb:cccc:d:eee:fff:aaaa:aaaa detected!Where last several numbers in IPv6 address are matc...]]></description>
<content:encoded><![CDATA[<h2>Solving the issue with IPv6 when DAD is failed</h2>
<h3>Symptoms:</h3>
<ol>
<li>A lot of entries in the system log looking like this:<br /><span style="font-family: 'courier new', courier;"><br />kernel: [xxxx.yyyy] eth0: IPv6 duplicate address aaaa:bbbb:cccc:d:eee:fff:aaaa:aaaa detected!</span><br /><br />Where last several numbers in IPv6 address are matching the network interface MAC address.<br /><br /></li>
<li>Public ETH interface&nbsp;shows "dadfailed" when you run "ip a":<br /><br /><span style="font-family: 'courier new', courier;">inet6 fe80::aaaa:bbbb:cccc:dddd/64 scope link dadfailed</span></li>
</ol>
<p>&nbsp;</p>
<h3>Fix:</h3>
<p>Edit the file <span style="font-family: 'courier new', courier;">/etc/sysctl.conf</span> and insert following lines into it:</p>
<blockquote>
<p>net.ipv6.conf.eth0.accept_dad = 0<br />net.ipv6.conf.default.accept_dad = 0<br />net.ipv6.conf.eth0.dad_transmits = 0<br />net.ipv6.conf.default.dad_transmits = 0</p>
</blockquote>
<p>Where "<span style="font-family: 'courier new', courier;">eth0</span>" is your Ethernet interface name.</p>
<p>Then run:&nbsp;</p>
<p style="padding-left: 30px;"><span style="font-family: 'courier new', courier;">sysctl -p</span></p>
<p>And restart networking:</p>
<p style="padding-left: 30px;"><span style="font-family: 'courier new', courier;">service network restart</span></p>
<p>OR</p>
<p style="padding-left: 30px;"><span style="font-family: 'courier new', courier;">service networking restart</span></p>
<p>Or just reboot the VPS.</p>]]></content:encoded>
</item>
</channel>
</rss>