<?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>The Linux Noob &#187; Tutorial</title>
	<atom:link href="http://thelinuxnoob.com/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelinuxnoob.com</link>
	<description>Fixin&#039; issues one ticket at a time</description>
	<lastBuildDate>Tue, 19 Jul 2011 12:43:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WHM Scripts</title>
		<link>http://thelinuxnoob.com/tutorial/whm-scripts/</link>
		<comments>http://thelinuxnoob.com/tutorial/whm-scripts/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 14:23:20 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[/scripts]]></category>
		<category><![CDATA[whm scripts]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=81</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<p>Nearly everything that you can do in the WHM backend can be performed via command line.  These scripts are located in your server&#8217;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.</p>
<p>Long list of scripts after the break&#8230;<span id="more-81"></span></p>
<p>To use any of these scripts, prefix it with /scripts/, for example, to package an account for backup you would type:</p>
<blockquote><p>/scripts/pkgacct accountusernamehere (replacing that with the account name on your server that you wish to backup)</p></blockquote>
<ul>
<li><code>build_maxemails_config</code> — Sets limits on the amount of email that users can send from domains on your server. For more information about configuring limits with this script, see our documentation <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/MaiDelimiter">here</a>.</li>
<li><code>easyapache</code> — Upgrades and reinstalls <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmApache">Apache</a>.</li>
<li><code>phpextensionmgr</code> — Manages <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPhp">PHP</a> extensions.</li>
<li><code>*up</code>— Updates a service. We currently provide the following update scripts for the services noted:
<ul>
<li><strong>bandminup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#BandMin">Bandmin</a> application.</li>
<li><strong>courierup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmCourier">Courier</a> mail server.</li>
<li><strong>cpaddonsup</strong> — cPanel’s addon scripts.</li>
<li><strong>dovecotup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#DoveCot">Dovecot</a> mail server.</li>
<li><strong>eximup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmExim">Exim</a> mail exchanger.</li>
<li><strong>ftpup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a> servers (ProFTP and Pure-<a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a>).</li>
<li><strong>imapup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmImap">IMAP</a> mail server.</li>
<li><strong>mysqlup</strong> —MySQL service.</li>
<li><strong>nsdup</strong> — BIND <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#NameServer">nameserver</a>.</li>
<li><strong>phpup</strong> — Current version of <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPhp">PHP</a>.</li>
<li><strong>suphpup</strong> — SuPHP tool for handling <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPhp">PHP</a> requests.</li>
</ul>
</li>
<li><code>restartsrv_*</code> — Restarts a service. We currently provide restart scripts for the following; simply replace the asterisk (*) in <code>restartsrv_*</code>with the term in bold:
<ul>
<li><strong>apache</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmApache">Apache</a> web server.</li>
<li><strong>bind</strong> — BIND <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#NameServer">nameserver</a> software.</li>
<li><strong>chkservd</strong> — cPanel’s TailWatch log processing service.</li>
<li><strong>clamd</strong> — ClamAV anti-virus software.</li>
<li><strong>courier</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmCourier">Courier</a> mail server.</li>
<li><strong><a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#CpDavd">cpdavd</a></strong> — cPanel’s WebDAV server.</li>
<li><strong>cppop</strong> — cPanel’s POP server.</li>
<li><strong>dovecot</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#DoveCot">Dovecot</a> mail server.</li>
<li><strong>entropychat</strong> — Entropy chat client.</li>
<li><strong>exim</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmExim">Exim</a> mail exchanger.</li>
<li><strong>eximstats</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmExim">Exim</a> mail statistics tracker.</li>
<li><strong>ftpserver</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a> server.</li>
<li><strong>httpd</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmApache">Apache</a> web server.</li>
<li><strong>imap</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmImap">IMAP</a> server.</li>
<li><strong>inetd</strong> — Super-server <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a> for managing Internet services.</li>
<li><strong>interchange</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#InterChange">Interchange</a> e-commerce software.</li>
<li><strong>ipaliases</strong> — IP aliasing software.</li>
<li><strong>melange</strong> — Melange chat client.</li>
<li><strong>mysql</strong> — MySQL database server.</li>
<li><strong>named</strong> — BIND <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#NameServer">nameserver</a> software.</li>
<li><strong><a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmNsd">nsd</a></strong> — Open-source NSD <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#NameServer">nameserver</a> <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li><strong>postgres</strong> — PostgresSQL database service.</li>
<li><strong>postgresql</strong> — PostgreSQL database service.</li>
<li><strong>proftpd</strong> — ProFTP server <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li><strong>pureftpd</strong> — Pure-<a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a> server <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li><strong>rsyslogd</strong> — Open-source log forwarder <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li><strong>spamd</strong> — Spam-deferral <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li><strong>sshd</strong> — Secure <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmShell">shell</a> <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li><strong>syslogd</strong> — Log forwarder <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li><strong>tailwatchd</strong> — cPanel’s TailWatch log processing service.</li>
<li><strong>tomcat</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmApache">Apache</a> Tomcat service.</li>
<li><strong>xinetd</strong> — Open-source super-server <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
</ul>
</li>
<li><code>addpop</code> — Adds a POP account.</li>
<li><code>delpop</code> — Removes a POP account.</li>
<li><code>wwwacct</code> — Adds a cPanel account.</li>
<li><code>killpkg</code> — Removes a package.</li>
<li><code>restorepkg</code> — Restores a package.</li>
<li><code>cpbackup</code> — Backs up all accounts.</li>
<li><code>pkgacct</code> — Handles <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#CpanelPkgs">cPanel packages</a>.</li>
<li><code>upcp</code> — Updates cPanel and WHM.</li>
<li><code>setupmailserver</code> — Allows you to switch between mailservers.</li>
<li><code>setupftpserver</code> — Allows you to switch between <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a> servers.</li>
<li><code>setupnameserver</code> — Allows switching between <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDns">DNS</a> servers.</li>
<li><code>checkperlmodules</code>— Contains a list of standard CPAN modules to install on cPanel servers. This script is used in conjunction with realperlinstaller, below. This script can be used with the following arguments:
<ul>
<li><strong>&#8211;force</strong> will reinstall everymodule regardless of whether or not it is working.</li>
<li><strong>&#8211;full </strong>will ensure that all modules are present as opposed to only checking for essential modules.</li>
</ul>
</li>
<li><code>realperlinstaller</code> — A wrapper script that automates the installation of <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPerl">Perl</a> CPAN modules.</li>
<li><code>suspendacct</code> — Suspends an account.</li>
<li><code>unsuspendacct</code> — Unsuspends an account.</li>
<li><code>runweblogs</code> — Updates statistics for a user.</li>
<li><code>runstatsonce</code> — Updates statistics for all users.</li>
<li><code>makecppphp</code> — Re-installs cPanel’s internal <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPhp">PHP</a>.</li>
<li><code>portsup</code> — Updates ports (FreeBSD® systems only).</li>
</ul>
<p>Have any questions about any of these commands, what they are or what they do, don&#8217;t hesitate to leave a comment and we&#8217;ll get back to you!</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/tutorial/whm-scripts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Perl on a cPanel server</title>
		<link>http://thelinuxnoob.com/linux/installing-perl-on-a-cpanel-server/</link>
		<comments>http://thelinuxnoob.com/linux/installing-perl-on-a-cpanel-server/#comments</comments>
		<pubDate>Sat, 07 May 2011 21:50:16 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=209</guid>
		<description><![CDATA[Installing/upgrading perl is a pretty straight forward task and is necessary for cPanel to function properly. If I remember correctly, the install takes 25-30 minutes to complete depending on your server setup.]]></description>
			<content:encoded><![CDATA[<p>Installing/upgrading perl is a pretty straight forward task and is necessary for cPanel to function properly.</p>
<pre class="brush: bash; title: ; notranslate">root@ohhai [~]# wget http://layer1.cpanel.net/perl588installer.tar.gz
root@ohhai [~]# tar -xvzf perl588installer.tar.gz
root@ohhai [~]# cd perl588installer
root@ohhai [~]# ./install
</pre>
<p>If I remember correctly, the install takes 25-30 minutes to complete depending on your server setup.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/installing-perl-on-a-cpanel-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internal Server Error &#8212; User is over quota</title>
		<link>http://thelinuxnoob.com/linux/internal-server-error-user-is-over-quota/</link>
		<comments>http://thelinuxnoob.com/linux/internal-server-error-user-is-over-quota/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 19:50:04 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[500 error]]></category>
		<category><![CDATA[overquota]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=169</guid>
		<description><![CDATA[Came across this issue at work where a client was receiving this message when trying to enter webmail, even though the e-mail account and cPanel account were not over quota. Internal Server Error User &#8216;useraccount&#8217; is over quota. This happens when the users &#8216;overquota&#8217; status is cached and can be fixed by removing the users [...]]]></description>
			<content:encoded><![CDATA[<p>Came across this issue at work where a client was receiving this message when trying to enter webmail, even though the e-mail account and cPanel account were not over quota.</p>
<blockquote><p>Internal Server Error</p>
<p>User &#8216;useraccount&#8217; is over quota.</p></blockquote>
<p>This happens when the users &#8216;overquota&#8217; status is cached and can be fixed by removing the users folder located at the following.</p>
<pre class="brush: bash; title: ; notranslate">/var/cpanel/overquota/username</pre>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/internal-server-error-user-is-over-quota/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VPN via the TUN/TAP device</title>
		<link>http://thelinuxnoob.com/linux/vpn-via-the-tun-tap-device/</link>
		<comments>http://thelinuxnoob.com/linux/vpn-via-the-tun-tap-device/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 15:57:17 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[openvz]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[container]]></category>
		<category><![CDATA[node]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[tap]]></category>
		<category><![CDATA[tun]]></category>
		<category><![CDATA[tun/tap]]></category>
		<category><![CDATA[vzctl]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=157</guid>
		<description><![CDATA[I had a client contact me earlier this morning because one of their clients was receiving the following error on their VPS when trying to run OpenVPN. Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13) Note: Attempting fallback to kernel 2.2 TUN/TAP interface Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2) [...]]]></description>
			<content:encoded><![CDATA[<p>I had a client contact me earlier this morning because one of their clients was receiving the following error on their VPS when trying to run OpenVPN.</p>
<blockquote><p> Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)<br />
 Note: Attempting fallback to kernel 2.2 TUN/TAP interface<br />
 Cannot open TUN/TAP dev /dev/tun0: No such file or directory (errno=2)</p></blockquote>
<p>I&#8217;ve never run into this issue before, but was able to find an awesome tutorial on the <a title="VPN via TUN/TAP device" href="http://wiki.openvz.org/VPN_via_the_TUN/TAP_device" target="_blank">OpenVZ</a> website.</p>
<p>First, make sure the tun module has been already loaded on the hardware node:</p>
<pre class="brush: bash; title: ; notranslate"># lsmod | grep tun</pre>
<p>If it is not there, use the following command to load <strong>tun</strong> module:</p>
<pre class="brush: bash; title: ; notranslate"># modprobe tun</pre>
<p>To make sure that <strong>tun</strong> module will be automatically loaded on  every reboot you can also add it or into /etc/modules.conf (on RHEL see  /etc/sysconfig/modules/ directory) or into /etc/sysconfig/vz-scripts/<em>VEID</em>.mount.</p>
<pre class="brush: bash; title: ; notranslate">echo 'modprobe tun' /etc/sysconfig/vz-scripts/VEID.mount</pre>
<p>Allow your container to use the tun/tap device by running the following commands on the host node:</p>
<pre class="brush: bash; title: ; notranslate">vzctl set VEID --devices c:10:200:rw --save
vzctl set VEID --capability net_admin:on --save</pre>
<p>And create the character device file inside the container (execute the following on the host node):</p>
<pre class="brush: bash; title: ; notranslate">vzctl exec VEID mkdir -p /dev/net
vzctl exec VEID mknod /dev/net/tun c 10 200
vzctl exec VEID chmod 600 /dev/net/tun</pre>
<p>Enter cat /dev/net/tun to test whether the TUN/TAP device is available:</p>
<ul>
<li> If you receive the message cat: /dev/net/tun: File descriptor in bad state your TUN/TAP device is ready for use.</li>
<li> If you receive the message cat: /dev/net/tun: No such device the TUN/TAP device was not successfully created.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/vpn-via-the-tun-tap-device/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enable NAT module for VPS can’t initialize iptables table `nat’: Table does not exist</title>
		<link>http://thelinuxnoob.com/linux/enable-nat-module-for-vps-can%e2%80%99t-initialize-iptables-table-nat%e2%80%99-table-does-not-exist/</link>
		<comments>http://thelinuxnoob.com/linux/enable-nat-module-for-vps-can%e2%80%99t-initialize-iptables-table-nat%e2%80%99-table-does-not-exist/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 02:18:40 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[openvz]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[container]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[node]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=155</guid>
		<description><![CDATA[I was getting the following error in a container on one of my nodes. You can fix this by using the following commands.]]></description>
			<content:encoded><![CDATA[<p>I was getting the following error in a container on one of my nodes.</p>
<pre class="brush: bash; title: ; notranslate">[root@server1 ~]# iptables -t nat -F
iptables v1.3.5: can't initialize iptables table `nat': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.</pre>
<pre class="brush: bash; title: ; notranslate">[root@server1 ~]# iptables -t nat -nvL
iptables v1.3.5: can’t initialize iptables table `nat’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.</pre>
<p>You can fix this by using the following commands.</p>
<pre class="brush: bash; title: ; notranslate">[root@yoshi ~]# vzctl stop 150
[root@yoshi ~]# vzctl set 150 --iptables &quot;iptable_nat iptable_filter iptable_mangle  ip_conntrack ipt_conntrack ipt_REDIRECT ipt_REJECT ipt_multiport  ipt_helper ipt_LOG ipt_state&quot; --save
Saved parameters for VE 150
[root@yoshi ~]# vzctl restart 150
[root@yoshi ~]# vzctl enter 150
[root@server1 ~]# iptables -t nat -nvL
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination

Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination</pre>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/enable-nat-module-for-vps-can%e2%80%99t-initialize-iptables-table-nat%e2%80%99-table-does-not-exist/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>cPHulk Brute Force Detection</title>
		<link>http://thelinuxnoob.com/linux/cphulk-brute-force-detection/</link>
		<comments>http://thelinuxnoob.com/linux/cphulk-brute-force-detection/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 16:48:22 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[bfd]]></category>
		<category><![CDATA[brute force]]></category>
		<category><![CDATA[cphulk]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=149</guid>
		<description><![CDATA[Ever run into issues with typing in your root password, or forgot what you set it to, then got locked out of WHM? Well, here&#8217;s a quick and easy way to get your access back when receiving this error message. This account is currently locked out because a brute force attempt  was detected. Please wait [...]]]></description>
			<content:encoded><![CDATA[<p>Ever run into issues with typing in your root password, or forgot what you set it to, then got locked out of WHM? Well, here&#8217;s a quick and easy way to get your access back when receiving this error message.</p>
<blockquote><p>This account is currently locked out because a brute force attempt  was detected. Please wait 10 minutes and try again. Attempting to login again will only increase this delay. If you frequently experience this problem, we recommend having your username changed to something less generic.</p></blockquote>
<p>Run the following as root in SSH.</p>
<pre class="brush: bash; title: ; notranslate">mysql cphulkd
mysql&gt; delete from brutes;
mysql&gt; delete from logins;</pre>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/cphulk-brute-force-detection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A few OpenVZ commands</title>
		<link>http://thelinuxnoob.com/linux/a-few-openvz-commands/</link>
		<comments>http://thelinuxnoob.com/linux/a-few-openvz-commands/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 02:16:18 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[openvz]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=138</guid>
		<description><![CDATA[Below are the commonly used OpenVZ commands, which are run from the main node. Shows list of all the VPS’s hosted on the Node. To start the VPS To stop (Shut Down) the VPS To view the status of the particular VPS To stop the VPS quickly and forcefully To enter in a particular VPS [...]]]></description>
			<content:encoded><![CDATA[<p>Below are the commonly used OpenVZ commands, which are run from the main node.</p>
<p>Shows list of all the VPS’s hosted on the Node.</p>
<pre class="brush: bash; title: ; notranslate">vzlist -a</pre>
<p>To start the VPS</p>
<pre class="brush: bash; title: ; notranslate">vzctl start VEID</pre>
<p>To stop (Shut Down) the VPS</p>
<pre class="brush: bash; title: ; notranslate">vzctl stop VEID</pre>
<p>To view the status of the particular VPS</p>
<pre class="brush: bash; title: ; notranslate">vzctl status VEID</pre>
<p>To stop the VPS quickly and forcefully</p>
<pre class="brush: bash; title: ; notranslate">vzctl stop VEID –fast</pre>
<p>To enter in a particular VPS</p>
<pre class="brush: bash; title: ; notranslate">vzctl enter VEID</pre>
<p>To set the Hostname of a VPS</p>
<pre class="brush: bash; title: ; notranslate">vzctl set VEID –hostname vps.domain.com –save</pre>
<p>To add a new IP to the hosting VPS</p>
<pre class="brush: bash; title: ; notranslate">vzctl set VEID –ipadd 1.2.3.4 –save</pre>
<p>To delete the IP from VPS</p>
<pre class="brush: bash; title: ; notranslate">vzctl set VEID –ipdel 1.2.3.4 –save</pre>
<p>To reset root password of a VPS</p>
<pre class="brush: bash; title: ; notranslate">vzctl set VEID –userpasswd root:new_password –save</pre>
<p>To add the nameserver IP’s to the VPS</p>
<pre class="brush: bash; title: ; notranslate">vzctl set VEID –nameserver 1.2.3.4 –save</pre>
<p>To run any command on a VPS from Node</p>
<pre class="brush: bash; title: ; notranslate">vzctl exec VEID command</pre>
<p>To install any package/Software on a VPS from Node</p>
<pre class="brush: bash; title: ; notranslate">vzyum VEID install package_name </pre>
<p>**VEID refers to the ID of the Particular VPS**</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/a-few-openvz-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Session.save_path error</title>
		<link>http://thelinuxnoob.com/linux/session-save_path-error/</link>
		<comments>http://thelinuxnoob.com/linux/session-save_path-error/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 10:28:27 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Php.ini]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[session.save_path]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=71</guid>
		<description><![CDATA[So&#8230;I came across this error on a clients site which he was receiving when trying to install a 3rd party script. The session.save_path setting in your php configuration file (php.ini) is not set or is set to a folder which did not exist. You might need to set the save_path setting in php.ini or verify [...]]]></description>
			<content:encoded><![CDATA[<p>So&#8230;I came across this error on a clients site which he was receiving when trying to install a 3rd party script.</p>
<blockquote><p>The session.save_path setting in your php configuration file (php.ini) is not set or is set to a folder which did not exist. You might need to set the save_path setting in php.ini or verify that the folder sets in save_path exist.</p></blockquote>
<p>It&#8217;s a pretty simple fix in the servers php.ini.<span id="more-71"></span> First thing you need to do is locate your servers copy of the php.ini by running the following command via SSH.</p>
<blockquote><p>root@lolwut [~]# php -i | grep php.ini<br />
Configuration File (php.ini) Path =&gt; /usr/local/lib<br />
Loaded Configuration File =&gt; /usr/local/lib/php.ini<br />
root@lolwut [~]#</p></blockquote>
<p>Once you&#8217;ve found the php.ini, use your favorite editor and locate the following line.</p>
<blockquote><p>root@lolwut [~]# grep &#8216;session.save_path&#8217; /usr/local/lib/php.ini<br />
;     session.save_path = &#8220;N;/path&#8221;<br />
;session.save_path = /tmp<br />
;       (see session.save_path above), then garbage collection does *not*<br />
root@lolwut [~]#</p></blockquote>
<p>In this case, simply remove &#8220;;&#8221; which will uncomment the line. If you are missing the &#8220;/tmp&#8221; part of the line, you will need to add it. Make these changes and save the file, then restart apache and you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/session-save_path-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install fantastico on cPanel</title>
		<link>http://thelinuxnoob.com/linux/install-fantastico-on-cpanel/</link>
		<comments>http://thelinuxnoob.com/linux/install-fantastico-on-cpanel/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 06:07:05 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[fantastico]]></category>
		<category><![CDATA[ioncube]]></category>
		<category><![CDATA[makecpphp]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=51</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>A fantastico installation is pretty straight forward. First thing you need to do is obtain a Fantastico license from <a href="http://www.netenberg.com/fantastico.php" target="_blank">Netenburg</a>.</p>
<p>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. <span id="more-51"></span>To install the working version of wget run the following commands:</p>
<blockquote><p>rpm -qa wget ;<br />
wget ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/wget-1.10.2-3.2.1.i386.rpm<br />
chattr -ia /usr/bin/wget<br />
rpm -e wget ;<br />
rpm -ivh &#8211;force wget-1.10.2-3.2.1.i386.rpm ;<br />
rpm -qa wget ;</p></blockquote>
<p>First thing is downloading the Fantastico files to the server.</p>
<blockquote><p>/scripts/upcp<br />
cd /usr/local/cpanel/whostmgr/docroot/cgi<br />
wget -N http://www.netenberg.com/files/free/fantastico_whm_admin.tgz<br />
tar -xzpf fantastico_whm_admin.tgz<br />
rm -rf fantastico_whm_admin.tgz</p></blockquote>
<p>Once the files have been downloaded, log into WHM with your root account and select <strong>&#8220;F</strong>antastico De Luxe WHM Admin&#8221; under the plugin section on the left side of WHM at the bottom.<br />
<!-- br--></p>
<p style="text-align: center;"><img class="aligncenter" title="Fantstico side" src="/tutorials/fantastico/1.jpg" alt="" width="201" height="96" /></p>
<p><!-- br--><br />
You will then go the Fantastico main page, where you will select &#8220;Click here&#8221; under &#8216;Version Information&#8217; in the middle. Now select the stable version from the drop down menu.<br />
<!-- br--></p>
<p style="text-align: center;"><img class="aligncenter" title="Fantastico tut" src="/tutorials/fantastico/2.jpg" alt="" width="360" height="154" /></p>
<p><!-- br--><br />
Now follow the remaining steps using the default information, as all of it should be correct, though you may want to double check. Be sure to select &#8220;enable&#8221; next to suexec if it is installed on the server and also check the VPS section if you have installed this on a VPS.</p>
<p>If you receive cpanel_phpengine errors when logged into Fantastico as end user, run the following command via SSH.</p>
<blockquote>
<p style="text-align: left;">/scripts/makecpphp</p>
</blockquote>
<p>You may also run into an ioncube error when trying to log into Fantastico, which can be fixed by logging into WHM as root -&gt; Tweak Settings -&gt; Loader to use for internal cPanel PHP -&gt; IonCube -&gt; Save</p>
<p>If you have any issues with your install, feel free to comment this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/install-fantastico-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Exim Error: Ratelimit database not available</title>
		<link>http://thelinuxnoob.com/linux/ratelimit-database-not-available/</link>
		<comments>http://thelinuxnoob.com/linux/ratelimit-database-not-available/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 02:17:50 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mail Issues]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[ratelimit]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=44</guid>
		<description><![CDATA[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. Run the folllowing command on root : root@lolwut [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>2009-07-20 21:58:07 Failed to get write lock for /var/spool/exim/db/ratelimit.lockfile: timed out<br />
2008-07-20 21:58:07 H=[xx.xx.xx.xx] temporarily rejected connection in “connect” ACL: ratelimit database not available</p>
<p>To fix such an error , the exim cache database on the server side needs to be clear off to stop this message.<span id="more-44"></span></p>
<p>Run the folllowing command on root :</p>
<blockquote><p>root@lolwut [~]# rm -fv /var/spool/exim/db/*</p></blockquote>
<p>Output :</p>
<blockquote><p>removed `/var/spool/exim/db/ratelimit’<br />
removed `/var/spool/exim/db/ratelimit.lockfile’<br />
removed `/var/spool/exim/db/retry’<br />
removed `/var/spool/exim/db/retry.lockfile’<br />
removed `/var/spool/exim/db/wait-dk_remote_smtp’<br />
removed `/var/spool/exim/db/wait-dk_remote_smtp.lockfile’<br />
removed `/var/spool/exim/db/wait-remote_smtp’<br />
removed `/var/spool/exim/db/wait-remote_smtp.lockfile’</p></blockquote>
<p>Then run the following command on root:</p>
<blockquote><p>root@lolwut [~]# service exim restart</p></blockquote>
<p>If this doesn’t work , then run  /scripts/upcp –force on the server and then check exim_mainlog for the changes.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/ratelimit-database-not-available/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

