<?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</title>
	<atom:link href="http://thelinuxnoob.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelinuxnoob.com</link>
	<description>Fixin' issues one ticket at a time!</description>
	<lastBuildDate>Tue, 26 Jan 2010 18:55:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Long hiatus&#8230;</title>
		<link>http://thelinuxnoob.com/tln-com/long-hiatus/</link>
		<comments>http://thelinuxnoob.com/tln-com/long-hiatus/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 18:55:41 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[TLN.com]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=123</guid>
		<description><![CDATA[I apologize to all of my readers, as I&#8217;ve realized that I slacked off quite a bit on keeping this blog updated&#8230;well that&#8217;s going to change. As you can see the ugly dark design is gone, and has been replaced with a cleaner design. I&#8217;m also in the process of updating the &#8216;About&#8217; and &#8216;cPanel [...]]]></description>
			<content:encoded><![CDATA[<p>I apologize to all of my readers, as I&#8217;ve realized that I slacked off quite a bit on keeping this blog updated&#8230;well that&#8217;s going to change. As you can see the ugly dark design is gone, and has been replaced with a cleaner design. I&#8217;m also in the process of updating the &#8216;About&#8217; and &#8216;cPanel Introduction&#8217; pages, both of which need work especially the cPanel page, since it&#8217;s a complete mess and a pain to navigate. Be sure to check back for these changes in the next few days!</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/tln-com/long-hiatus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup/Restore a cPanel Account</title>
		<link>http://thelinuxnoob.com/cpanel/backup-restore-a-cpanel-account/</link>
		<comments>http://thelinuxnoob.com/cpanel/backup-restore-a-cpanel-account/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 06:08:15 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=86</guid>
		<description><![CDATA[Previous Post: WHM Scripts
Now we&#8217;re going to start looking into some of those SSH commands.  Today we&#8217;ll be going over the commands pkgacct and restorepkg.
Backing up and restoring cPanel account&#8217;s is, in my opinion, faster by using the command line as you don&#8217;t have to wait for a sometimes sluggish web interface to load.
Let&#8217;s get [...]]]></description>
			<content:encoded><![CDATA[<p>Previous Post: <a href="http://thelinuxnoob.com/cpanel/whm-scripts/">WHM Scripts</a></p>
<p>Now we&#8217;re going to start looking into some of those SSH commands.  Today we&#8217;ll be going over the commands pkgacct and restorepkg.</p>
<p>Backing up and restoring cPanel account&#8217;s is, in my opinion, faster by using the command line as you don&#8217;t have to wait for a sometimes sluggish web interface to load.</p>
<p>Let&#8217;s get started then, shall we?<span id="more-86"></span></p>
<div>
<p><span id="more-48"> </span></p>
<p>1. Login to your server as root via SSH.</p>
<blockquote><p>root@lolwut [~]#</p></blockquote>
<p>2. Type: /scripts/pkgacct username (replace username with the acount username you wish to backup)</p>
<blockquote><p>root@lolwut [~]# /scripts/pkgacct clayton</p></blockquote>
<p>3. Now you&#8217;ll (hopefully) see something like this on your SSH screen:</p>
<blockquote><p>Copying Reseller Config…Done<br />
Copying Mail files….Done<br />
Copying proftpd file….Done<br />
Copying www logs…Done<br />
Grabbing mysql dbs…Done<br />
Grabbing mysql privs…Done<br />
Copying mailman lists….Done<br />
Copying mailman archives….Done<br />
Copying homedir….Done</p></blockquote>
<p>4. There should now be a file in that users /home/ directory named &#8220;cpmove-username.tar.gz&#8221; where &#8220;username&#8221; is the username you specified in Step #3.</p>
<p>5. Download the cpmove-username.tar.gz and save it. (You can use your FTP software to login to the server and download the file)</p>
<p>Now we&#8217;re going to restore the backup we just made.</p>
<p>1. Upload cpmove-username.tar.gz to the webserver’s /home directory.<br />
(You can use your FTP software to login to the server and upload the file)</p>
<p>2. Type: /scripts/restorepkg username<br />
(replace username with the account username)</p>
<p>This will restore the site, and also create the cPanel account.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/cpanel/backup-restore-a-cpanel-account/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WHM Scripts</title>
		<link>http://thelinuxnoob.com/cpanel/whm-scripts/</link>
		<comments>http://thelinuxnoob.com/cpanel/whm-scripts/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 14:23:20 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[cPanel]]></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 everything [...]]]></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/cpanel/whm-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing RKHunter</title>
		<link>http://thelinuxnoob.com/security/setup-rkhunter/</link>
		<comments>http://thelinuxnoob.com/security/setup-rkhunter/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 05:36:22 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[rkhunter]]></category>
		<category><![CDATA[rootkit]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=73</guid>
		<description><![CDATA[Be honest, how much have you considered server security in the past?  In this day and age, it&#8217;s not something that should be taken lightly.  Today I&#8217;ll be teaching you how to install RKHunter.  RKHunter (ie:  Rootkit Hunter) is a nifty little script that runs via cron daily that checks your server for the most [...]]]></description>
			<content:encoded><![CDATA[<p>Be honest, how much have you considered server security in the past?  In this day and age, it&#8217;s not something that should be taken lightly.  Today I&#8217;ll be teaching you how to install RKHunter.  RKHunter (ie:  Rootkit Hunter) is a nifty little script that runs via cron daily that checks your server for the most obvious rootkits that might have been placed there by somebody with some kind of malicious intent.</p>
<p><span id="more-73"></span></p>
<p>Note:  This tutorial is written as of RKHunter v1.3.4.  Always make sure that you&#8217;re installing the latest version for best results.</p>
<p>First we&#8217;re going to download the script, extract it, and begin the installer.  Copy this code and paste it into your SSH window.</p>
<blockquote><p>wget http://garr.dl.sourceforge.net/sourceforge/rkhunter/rkhunter-1.3.4.tar.gz<br />
tar -zxvf rkhunter-1.3.4.tar.gz<br />
cd rkhunter-1.3.4<br />
./installer.sh</p></blockquote>
<p>Hard right?  Guess what, that&#8217;s it for the installation!  Next you can run a scan by pasting the following line into your SSH window:</p>
<blockquote><p>/usr/local/bin/rkhunter -c<!--more--></p></blockquote>
<p>Updating RKHunter is just about, if not easier than the installation.  Updating RKHunter retrieves the latest database from the rootkit.nl central server and matches your server OS to help prevent false positives.  To update just execute the following command:</p>
<blockquote><p>/usr/local/bin/rkhunter –update</p></blockquote>
<p>Now lets set it up so that it scans daily and emails you a copy of the results.  Let&#8217;s start by setting up a daily cron job:</p>
<blockquote><p>nano /etc/cron.daily/rkhunter.sh</p></blockquote>
<p>That created a new empty cron job, now let&#8217;s give it something to do.  Copy these lines into the new file you just created, making sure to replace your email address:</p>
<blockquote><p>#!/bin/bash<br />
(/usr/local/bin/rkhunter -c –cronjob 2&gt;&amp;1 | mail -s “Daily Rkhunter Scan Report” email@domain.com)</p></blockquote>
<p>Now we&#8217;ll save the file we just created by doing the following:</p>
<blockquote><p>ctrl-x to close the file, Hit &#8220;y&#8221; to accept the file changes, and hit enter to overwrite the file.</p></blockquote>
<p>And we&#8217;ll finish off our cron job by executing the following command:</p>
<blockquote><p>chmod +x /etc/cron.daily/rkhunter.sh</p></blockquote>
<p>And that&#8217;s it!  Keep in mind, RKHunter is only a small tool in a very large array of server security tools.  That&#8217;s for another post though.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/security/setup-rkhunter/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 that [...]]]></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 &#8217;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 break, [...]]]></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>0</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[cPanel]]></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 [~]# rm -fv /var/spool/exim/db/*
Output [...]]]></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>2</slash:comments>
		</item>
		<item>
		<title>Creating an extracting tar files</title>
		<link>http://thelinuxnoob.com/linux/create-and-extract-tar-files/</link>
		<comments>http://thelinuxnoob.com/linux/create-and-extract-tar-files/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 16:37:28 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[compress folder]]></category>
		<category><![CDATA[decompress folder]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[tar.gz]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=36</guid>
		<description><![CDATA[The most common compressed archive file format in Linux is the tar.gz format. Tar file is an archive file format. Tar.gz is a compressed tar file.
How to create a compressed tar.gz file from a folder or file in Linux?
In order to create a compressed tar.gz archive from a folder/file we need to run the following [...]]]></description>
			<content:encoded><![CDATA[<p>The most common compressed archive file format in Linux is the tar.gz format. Tar file is an archive file format. <a href="http://en.wikipedia.org/wiki/Tar_(file_format)">Tar.gz</a> is a compressed tar file.</p>
<h3>How to create a compressed tar.gz file from a folder or file in Linux?</h3>
<p>In order to create a compressed tar.gz archive from a folder/file we need to run the following tar command:</p>
<p><code>tar -czf new-tar-file-name.tar.gz file-or-folder-to-archive</code></p>
<p>Here is the command explanation:</p>
<ul>
<li>tar &#8211; the tar command.</li>
<li>c &#8211; create new archive.</li>
<li>z &#8211; compress the archive using gzip.</li>
<li>f &#8211; use archive file.</li>
<li>new-tar-file-name.tar.gz &#8211; the name of the tar.gz to create.</li>
<li>file-or-folder-to-archive &#8211; the name of the folder we want to archive.</li>
</ul>
<h3><span id="more-36"></span></h3>
<h3>How to create a compressed tar.gz file from multiple files and folders in Linux?</h3>
<p>In order to create a compressed tar.gz file from multiple files or/and folders we need to run the same tar command we used when we archived a single file/folder and to append the rest of the files/folders&#8217; names to it.</p>
<p><code>tar -czf new-tar-file-name.tar.gz file1 file2 folder1 folder2</code></p>
<h3>How to extract a compressed tar.gz file in Linux?</h3>
<p><code>tar -xzf tar-file-name.tar.gz</code></p>
<p>Here is the command explanation:</p>
<ul>
<li>tar &#8211; the tar command.</li>
<li>x &#8211; extract the archive.</li>
<li>z &#8211; uncompress the archive using gzip.</li>
<li>f &#8211; use archive file.</li>
<li>tar-file-name.tar.gz &#8211; the name of the tar.gz to create.</li>
</ul>
<p>The tar command will extract all the files/folders in the archive to the current directory.</p>
<h3>How to extract a compressed tar.bz2 file in Linux?</h3>
<p>Extracting tar.bz2 (bzip2 file) is very similar to the way you extract tar.gz file. Instead of using the -z flag you need to use the -j flag for the bzip2 format</p>
<p><code>tar -xjf tar-file-name.tar.gz</code></p>
<p>Here is the command explanation:</p>
<ul>
<li>tar &#8211; the tar command.</li>
<li>x &#8211; extract the archive.</li>
<li>j - filter the archive through bzip2</li>
<li>f &#8211; use archive file.</li>
<li>tar-file-name.tar.gz &#8211; the name of the tar.gz to create.</li>
</ul>
<p>The tar command will extract all the files/folders in the archive to the current directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/create-and-extract-tar-files/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>cPanel Icon Missing From WHM List Accounts</title>
		<link>http://thelinuxnoob.com/cpanel/cpanel-icon-missing-from-whm-list-accounts/</link>
		<comments>http://thelinuxnoob.com/cpanel/cpanel-icon-missing-from-whm-list-accounts/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 16:18:13 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=31</guid>
		<description><![CDATA[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 &#8220;Tweak Settings&#8221;


 Uncheck the box next to &#8220;Disable login with root or reseller password into the users’ cPanel interface. Also disable [...]]]></description>
			<content:encoded><![CDATA[<p>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.</p>
<ul>
<li>Log into WHM</li>
</ul>
<ul>
<li> Select &#8220;Tweak Settings&#8221;</li>
</ul>
<ul>
<li> Uncheck the box next to &#8220;Disable login with root or reseller password into the users’ cPanel interface. Also disable switch account dropdown in themes with switch account feature&#8221;</li>
</ul>
<ul>
<li> Click save</li>
</ul>
<p>After hitting save, you can go back to the list account section and the cPanel icon will be back.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/cpanel/cpanel-icon-missing-from-whm-list-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pty, ptyp, and tty errors</title>
		<link>http://thelinuxnoob.com/linux/pty-ptyp-and-tty-errors/</link>
		<comments>http://thelinuxnoob.com/linux/pty-ptyp-and-tty-errors/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 16:49:31 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=25</guid>
		<description><![CDATA[So I came across this error for the first time today when trying to SSH directly into a clients VPS.
login as: root
root@server&#8217;s password:
Server refused to allocate pty
stdin: is not a tty
After a quick google search I came across the fix.
[root@node /]# vzlist -a
VEID      NPROC STATUS  IP_ADDR         HOSTNAME
1337         78 running 69.10.59.80     grumpy.thelinuxnoob.com
[root@node /]# vzctl [...]]]></description>
			<content:encoded><![CDATA[<p>So I came across this error for the first time today when trying to SSH directly into a clients VPS.</p>
<blockquote><p>login as: root<br />
root@server&#8217;s password:<br />
Server refused to allocate pty<br />
stdin: is not a tty</p></blockquote>
<p>After a quick google search I came across the fix.</p>
<blockquote><p>[root@node /]# vzlist -a<br />
VEID      NPROC STATUS  IP_ADDR         HOSTNAME<br />
1337         78 running 69.10.59.80     grumpy.thelinuxnoob.com<br />
[root@node /]# vzctl exec 1337 /sbin/MAKEDEV ptyp<br />
[root@node /]# vzctl exec 1337 /sbin/MAKEDEV tty<br />
[root@node /]# vzctl exec 1337 /sbin/MAKEDEV pty</p></blockquote>
<p>The issue should now be resolved and you can SSH into the VPS.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/pty-ptyp-and-tty-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
