<?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>[LINICKX].com &#187; Enterprise Linux</title>
	<atom:link href="http://www.linickx.com/tag/rhel/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linickx.com</link>
	<description>Moments of Genius followed by Trash.</description>
	<lastBuildDate>Thu, 17 May 2012 10:23:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Smolt RPM for CentOS, RHEL, etc</title>
		<link>http://www.linickx.com/302/smolt-rpm-for-centos-rhel-etc</link>
		<comments>http://www.linickx.com/302/smolt-rpm-for-centos-rhel-etc#comments</comments>
		<pubDate>Fri, 06 Jul 2007 10:00:33 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rpms]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[smolt]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/302/smolt-rpm-for-centos-rhel-etc/</guid>
		<description><![CDATA[I after installing Fedora7 I thought I&#8217;d take a look at the stats the project had gathered, I saw some centos devices, but couldn&#8217;t find a rpm. I&#8217;ve had a go at building one, it mostly works (this is my &#8230; <a href="http://www.linickx.com/302/smolt-rpm-for-centos-rhel-etc">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I after installing Fedora7 I thought I&#8217;d take a look at <a href="http://smolt.fedoraproject.org/stats">the stats</a> the project had gathered, I saw some centos devices, but couldn&#8217;t find a rpm.</p>
<p>I&#8217;ve had a go at building one, it mostly works (<a href="http://smolt.fedoraproject.org/show?UUID=251cf847-28b3-4d33-bb27-9fa6aecb5e61">this is my nagios box</a>), it&#8217;s a rebuild of the f7 source, I have to frig about with the spec file, so I&#8217;ve published <a href="http://www.linickx.com/files/rpm/whitebox/4/SRPMS/smolt-0.9.8.1-1.src.rpm">my source rpm here</a>, search for Nick in the .spec file, you&#8217;ll see my bodge.</p>
<p>The smolt rpms are in <a href="http://www.linickx.com/files/rpm/linickx-whitebox.repo">my yum repo</a>, feel free to download the packages and have a go.</p>
<ul>
<li><a href="http://www.linickx.com/files/rpm/whitebox/4/i386/smolt-0.9.8.1-1.noarch.rpm">smolt-0.9.8.1-1.noarch.rpm</a></li>
<li>s<a href="http://www.linickx.com/files/rpm/whitebox/4/i386/smolt-firstboot-0.9.8.1-1.noarch.rpm">molt-firstboot-0.9.8.1-1.noarch.rpm</a></li>
<li><a href="http://www.linickx.com/files/rpm/whitebox/4/i386/smolt-gui-0.9.8.1-1.noarch.rpm">smolt-gui-0.9.8.1-1.noarch.rpm</a></li>
<li><a href="http://www.linickx.com/files/rpm/whitebox/4/i386/smolt-server-0.9.8.1-1.noarch.rpm">smolt-server-0.9.8.1-1.noarch.rpm</a></li>
</ul>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/302/smolt-rpm-for-centos-rhel-etc/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extra Packages for Enterprise Linux&#8230; CentOS !</title>
		<link>http://www.linickx.com/294/extra-packages-for-enterprise-linux-centos</link>
		<comments>http://www.linickx.com/294/extra-packages-for-enterprise-linux-centos#comments</comments>
		<pubDate>Sun, 03 Jun 2007 17:54:56 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[epel]]></category>
		<category><![CDATA[fedora extras]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/294/extra-packages-for-enterprise-linux-centos/</guid>
		<description><![CDATA[Why has it taken me so long to spot this ? Looks like this draft was written on the 13th May, if I hadn&#8217;t have been just about to download FC7 then I&#8217;d have missed it ! EPEL &#8211; Fedora &#8230; <a href="http://www.linickx.com/294/extra-packages-for-enterprise-linux-centos">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Why has it taken me so long to spot this ? Looks like this draft was written on the 13th May, if I hadn&#8217;t have been just about to download <a href="http://fedoraproject.org/wiki/">FC7</a> then I&#8217;d have missed it !</p>
<blockquote><p><a href="http://fedoraproject.org/wiki/EPEL">EPEL &#8211; Fedora Project Wiki</a><br />
EPEL is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs like CentOS or Scientific Linux.</p></blockquote>
<p>About time, and thank you redhat/fedora, want fedora extra packages in centos, then install this <a href="http://download.fedora.redhat.com/pub/epel/5/i386/repoview/epel-release.html">epel-release</a> <a href="http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm">.rpm</a> frickin&#8217; sweet ! <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/294/extra-packages-for-enterprise-linux-centos/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rkhunter rpm for Centos / RedHat</title>
		<link>http://www.linickx.com/284/rkhunter-rpm-for-centos-redhat</link>
		<comments>http://www.linickx.com/284/rkhunter-rpm-for-centos-redhat#comments</comments>
		<pubDate>Sun, 29 Apr 2007 11:47:02 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rpms]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[root kit]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/284/rkhunter-rpm-for-centos-redhat/</guid>
		<description><![CDATA[Whilst doing some routine maintenance, I noticed that I never published the rkhunter rpm I built, the software is officially supported at rootkit.nl but for ease I wanted a yum available rpm Copyright &#169; 2012 [LINICKX].com. This Feed is for &#8230; <a href="http://www.linickx.com/284/rkhunter-rpm-for-centos-redhat">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Whilst doing some routine maintenance, I noticed that I never published the <a href="http://www.linickx.com/files/rpm/whitebox/4/i386/rkhunter-1.2.9-1.noarch.rpm">rkhunter rpm I built</a>, the software is <a href="http://www.rootkit.nl/projects/rootkit_hunter.html">officially supported at rootkit.nl</a> but for ease I wanted a yum available rpm <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/284/rkhunter-rpm-for-centos-redhat/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Migrate from White Box Linux 4 to CentOS 4.4</title>
		<link>http://www.linickx.com/269/how-to-migrate-from-white-box-linux-4-to-centos-44</link>
		<comments>http://www.linickx.com/269/how-to-migrate-from-white-box-linux-4-to-centos-44#comments</comments>
		<pubDate>Tue, 24 Apr 2007 14:16:47 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wbel]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/269/how-to-migrate-from-white-box-linux-4-to-centos-44/</guid>
		<description><![CDATA[There are somethings that you just never get round to, my nagios box was still running whitebox linux, and I&#8217;ve finally gotten round &#8220;upgrading&#8221; it to CentOS&#8230; yeah ok, upgrade is arguable, but you get my point. First off a &#8230; <a href="http://www.linickx.com/269/how-to-migrate-from-white-box-linux-4-to-centos-44">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are somethings that you just never get round to, my nagios box was still running whitebox linux, and I&#8217;ve finally gotten round &#8220;upgrading&#8221; it to CentOS&#8230; yeah ok, upgrade is arguable, but you get my point.</p>
<p>First off a <strong>warning: Don&#8217;t do this !</strong> All the documentation, for CentOS, RHEL, Fedora, any redhat linux all say, clean installs are the best way, and upgrades are not advised&#8230;. therefore I offer no support or warranty that this will work, in fact, I you advise you to read this post, but step away from your consoles !</p>
<p>But, if you think it might be a laugh, the <a href="http://www.centos.org/modules/smartfaq/faq.php?faqid=19">centos documentation </a>is a bit old, and not 100% correct, so here is what I did. First up (<em>as root &#8211; obviously</em>), clear out your yum cache,and install the CentOS gpg key.</p>
<pre>
yum clean all
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4</pre>
<p>Next, install some base centos packages, take not that some need to be forced on</p>
<pre>
rpm -Uvh --nodeps http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/centos-release-4-4.2.i386.rpm
rpm -ivh http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/python-elementtree-1.2.6-4.2.1.i386.rpm
rpm -ivh http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/python-sqlite-1.1.7-1.2.i386.rpm
rpm -ivh http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/sqlite-3.3.3-1.2.i386.rpm
rpm -Uvh --force http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/python-urlgrabber-2.9.8-2.noarch.rpm
rpm -Uvh --nodeps http://mirror.centos.org/centos/4.4/os/i386/CentOS/RPMS/yum-2.4.3-1.c4.noarch.rpm</pre>
<p>finally remove the whitebox rpm db.</p>
<pre>
rpm -ev rpmdb-whitebox</pre>
<p>Move any &#8220;whitebox&#8221; mirrors still in <em>/etc/yum.repos.d</em> and</p>
<pre>
yum install rpmdb-CentOS</pre>
<p>Once you have that sorted, you can complete the upgrade with</p>
<pre>
yum update
reboot</pre>
<p>&amp; cross your fingers <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
If you come across the following warnings while using yum: Warning, could not load sqlite, falling back to pickle , I found&#8230;</p>
<pre>
yum install python-sqlite</pre>
<p>Fixed the problem. And there we have it, all my boxes are now running CentOS &#8211; yay &#8211; just in time to look at the CentOS 5 upgrade <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Dependency Problems ?</strong><br />
If a whitebox rpm is newer than the CentOS one, it won&#8217;t get upgraded, this might cause problems when installing new packages via yum. To solve the problem download the rpm manually from http://www.centos.org/modules/tinycontent/index.php?id=13 and force an upgrade</p>
<pre>
rpm --force -Uvh Something-CentOS.rpm</pre>
<p><strong>UPDATE:</strong> If you&#8217;re using something like <a href="http://www.rootkit.nl/projects/rootkit_hunter.html">Root Kit Hunter</a>, you will notice a load of md5 hashes fail, these are whitebox rpm&#8217;s that didn&#8217;t need upgrading, to correct the problem you need to replace these with CentOS versions.. example rkhunter output:</p>
<pre>
/sbin/init  [ BAD ]
</pre>
<p>Find which rpm, init belongs to</p>
<pre>
# rpm -q --whatprovides /sbin/init
SysVinit-2.85-34.3
</pre>
<p>and upgrade it</p>
<pre>
wget http://www.mirrorservice.org/sites/mirror.centos.org/4.4/os/i386/CentOS/RPMS/SysVinit-2.85-34.3.i386.rpm
rpm --force -Uvh SysVinit-2.85-34.3.i386.rpm
</pre>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/269/how-to-migrate-from-white-box-linux-4-to-centos-44/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Service Recovery Scripts &amp; Error Page Tips.</title>
		<link>http://www.linickx.com/267/service-recovery-scripts-error-page-tips</link>
		<comments>http://www.linickx.com/267/service-recovery-scripts-error-page-tips#comments</comments>
		<pubDate>Tue, 06 Mar 2007 13:32:55 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[httpd]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[recovery]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/267/service-recovery-scripts-error-page-tips/</guid>
		<description><![CDATA[A couple of weeks ago, I was proper ill with flu; the problem with looking after your own server is that only you can fix it &#8211; it&#8217;s well and good having monitoring systems (nagios) telling you about faults, but &#8230; <a href="http://www.linickx.com/267/service-recovery-scripts-error-page-tips">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago, I was proper ill with flu; the problem with looking after your own server is that only you can fix it &#8211; it&#8217;s well and good having monitoring systems (<em>nagios</em>) telling you about faults, but if you can&#8217;t read or see the alerts the fault won&#8217;t get resolved.</p>
<p>During this time I was ill, for an unknown reason the mySQL process on my server died, as such my website (<em>and others I look after</em>) were down for 8 hours. The fix was simple, one command, restart the service and normal service was resumed (<em>excuse the pun</em>).</p>
<p>This led to me to the conclusion that there must be a way to get the server to fix it&#8217;s self. after all, why do a job when you can get a computer to do it for you !  Fortunately I had a <abbr title="short moment of genuis">light bulb moment</abbr> and realised that I could use the init scripts that are provided by redhat, the below code will restart apache (<em>httpd</em>) and mySQL on a redhat based system in the event that the service was not stopped cleanly. (<em>In-fact this config has only be tested on CentOS, your mileage may vary on anything else</em>)</p>
<pre>
#!/bin/bash

# taken from redhast default scripts - /etc/rc.d/init.d/functions

# Set up a default search path.
PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"
export PATH

status() {
        local base=${1##*/}
        local pid

        # Test syntax.
        if [ "$#" = 0 ] ; then
                echo $"Usage: status {program}"
                return 1
        fi

        # First try "pidof"
        pid=`pidof -o $$ -o $PPID -o %PPID -x $1 ||
             pidof -o $$ -o $PPID -o %PPID -x ${base}`
        if [ -n "$pid" ]; then
# Uncomment this if you want OK messages
#               echo $"${base} (pid $pid) is running..."
                return 0
        fi

        # Next try "/var/run/*.pid" files
        if [ -f /var/run/${base}.pid ] ; then
                read pid &lt; /var/run/${base}.pid
                if [ -n "$pid" ]; then
                        echo $"${base} dead but pid file exists"
                        /etc/init.d/${base} restart
                        return 1
                fi
        fi
        # See if /var/lock/subsys/${base} exists
        if [ -f /var/lock/subsys/${base} ]; then
                echo $"${base} dead but subsys locked"
                /etc/init.d/${base} restart
                return 2
        fi
        echo $"${base} is stopped"
        return 3
}

# found in /etc/init.d/httpd
httpd=${HTTPD-/usr/sbin/httpd}

status mysqld
status $httpd</pre>
<p>If you save this, as <strong>/etc/cron.hourly/auto_recovery.sh</strong> , then do <strong>chmod +x /etc/cron.hourly/auto_recovery.sh</strong> , assuming you&#8217;ve not changed the default cron setup, every hour mySQL &amp; httpd will be checked, if they have died the&#8217;ll be restarted and root will get an e-mail about what happened.</p>
<p>Cool eh !</p>
<p><strong>A final finishing touch:</strong> I wanted to change the default &#8220;Database Down&#8221; error messages on my two most popular applications.</p>
<ul>
<li> <a href="http://allforces.com/2006/06/18/custom-wordpress-errors/">Melvin Rivera has written a tutorial on how to customize the wordpress error page</a>, note that it involves editing a file outside of wp-content, that means you&#8217;ll have to re-do this &#8220;hack&#8221; every time you upgrade wordpress.</li>
<li> PHPBB: Setting a custom error page on that is really easy, first create a php page displaying your message. Then at the bottom of /path/to/phpbb-install/includes/db.php you&#8217;ll see
<pre>
// Make the database connection.
$db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false);
if(!$db-&gt;db_connect_id)
{
message_die(CRITICAL_ERROR, "Could not connect to the database");
}</pre>
<p>change it to</p>
<pre>
 // Make the database connection.
$db = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false);
if(!$db-&gt;db_connect_id)
{
 include("/path/to/my-custom-error-page.php");
        die();
}</pre>
</li>
</ul>
<p>Now if you database dies, for the time it&#8217;s down (<em>before cron fixes it</em>) wordpress &amp; phpbb sites would get a much prettier error message. Obviously there&#8217;s no solution for apache as there&#8217;s nothing to serve the pages, but hopefully this kind of thing doesn&#8217;t happen to often <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/267/service-recovery-scripts-error-page-tips/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cacti &amp; Nagios &#8211; Missing Favicons</title>
		<link>http://www.linickx.com/248/cacti-nagios-missing-favicons</link>
		<comments>http://www.linickx.com/248/cacti-nagios-missing-favicons#comments</comments>
		<pubDate>Fri, 26 Jan 2007 10:37:20 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[favicon.ico]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/248/cacti-nagios-missing-favicons/</guid>
		<description><![CDATA[Recently I decided to re-organise my bookmarks toolbar, and added links to my nagios and cacti installations. I noticed that the favicons where missing. For cacti, there&#8217;s a how to, but I found it a little over kill &#8211; I &#8230; <a href="http://www.linickx.com/248/cacti-nagios-missing-favicons">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I decided to re-organise my bookmarks toolbar, and added links to my <a href="http://www.nagios.org">nagios</a> and <a href="http://www.cacti.net">cacti</a> installations. I noticed that the favicons where missing.</p>
<p>For cacti,<a href="http://forums.cacti.net/about18364.html"> there&#8217;s a how to</a>, but I found it a little over kill &#8211; I didn&#8217;t need step 2 , as my catci install is an <a href="http://dag.wieers.com/packages/cacti/">rpm from dag</a>, and I didn&#8217;t bother with step 4, as it worked without it, but hey <abbr title ="Your Mileage May Vary">ymmv</abbr>!</p>
<p>Nagios was simpler, depending on how you installed nagios, will effect file permission , owners, directories etc. Again, I&#8217;ve got <a href="http://dag.wieers.com/packages/nagios/">another dag rpm</a>, so for me I logged in as root, </p>
<pre>
cd /usr/share/nagios/
wget http://www.nagios.org/images/favicon.ico
</pre>
<p>then edit index.html. just before &lt;/head&gt; , insert</p>
<pre>
&lt;link rel="shortcut icon" href="/nagios/favicon.ico" type="image/x-icon" /&gt;
</pre>
<p>refresh your browser (delete the cache if necessary), and job done ! <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/248/cacti-nagios-missing-favicons/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SNMP v3 on Redhat Linux</title>
		<link>http://www.linickx.com/246/snmp-v3-on-redhat-linux</link>
		<comments>http://www.linickx.com/246/snmp-v3-on-redhat-linux#comments</comments>
		<pubDate>Thu, 11 Jan 2007 17:20:41 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/246/snmp-v3-on-redhat-linux/</guid>
		<description><![CDATA[I think it&#8217;s safe to say, if you can&#8217;t get something to work then the manual is rubbish or the user is stupid, with setting up snmp v3 on linux, the user is me, so the fault is probably lies &#8230; <a href="http://www.linickx.com/246/snmp-v3-on-redhat-linux">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I think it&#8217;s safe to say, if you can&#8217;t get something to work then the manual is rubbish or the user is stupid, with setting up snmp v3 on linux, the user is me, so the fault is probably lies there.</p>
<p>SNMPv3 moves away from the community string idea from older version, and into a username &amp; password combo. The correct tool for creating users is <a href="http://net-snmp.sourceforge.net/docs/man/snmpusm.html">snmpusm</a>, but no matter how many times I read the man page I can&#8217;t work it out. I get that you copy a user from the initial user, but how do you create the initial user ? If I try on my box I just get an &#8220;<em>snmp timeout</em>&#8221; error.</p>
<p>I found a work around for my stupidity, on redhat based <a href="http://www.uline.com/cls_04/Boxes-Corrugated">boxes</a> (RHEL, CENTOS, WHEL, FEDORA) there is a development package to do the job, so to to get the snmp v3 encrypted goodness going run,</p>
<pre>
yum install net-snmp-utils net-snmp-devel
</pre>
<p>Yum will pick up the dependencies you need. Now as root, run (make sure snmpd is stopped first) </p>
<pre>
/usr/bin/net-snmp-config --create-snmpv3-user -a PASSWORD MYUSERNAME
</pre>
<p>You&#8217;ll get the following output&#8230;</p>
<pre>
adding the following line to /var/net-snmp/snmpd.conf:
   createUser MYUSERNAME MD5 "PASSWORD" DES
adding the following line to /usr/share/snmp/snmpd.conf:
   rwuser MYUSERNAME
</pre>
<p>Before testing make sure that UDP 161 is permitted through iptables, and restart snmpd </p>
<pre>
/etc/init.d/snmpd start
</pre>
<p>now from another box, you can test, snmpwalk is the command, if it works your screen will fill up with loads of interesting snmp stuff, if it fails you&#8217;ll get an error. Timeout usually means UDP 161 is blocked or they can&#8217;t ping each other, and you&#8217;ll get authentication failure messages if there is a problem with your snmp accounts.</p>
<pre>
snmpwalk -v 3 -a md5 -A PASSWORD -x des -X PASSWORD -u MYUSERNAME IP.ADD.RE.SS
</pre>
<p>good luck !</p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/246/snmp-v3-on-redhat-linux/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tripwire RPM for RHEL 4 , WBEL 4, CentOS 4.</title>
		<link>http://www.linickx.com/229/tripwire-rpm-for-rhel-4-wbel-4-centos-4</link>
		<comments>http://www.linickx.com/229/tripwire-rpm-for-rhel-4-wbel-4-centos-4#comments</comments>
		<pubDate>Sat, 30 Sep 2006 12:31:30 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/229/tripwire-rpm-for-rhel-4-wbel-4-centos-4/</guid>
		<description><![CDATA[I don&#8217;t know everything about linux, who does ? So if I put one into a production environment I want to know if anything changes. It took a couple of goes, but I finally managed to build a tripwire rpm &#8230; <a href="http://www.linickx.com/229/tripwire-rpm-for-rhel-4-wbel-4-centos-4">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t know everything about linux, who does ? So if I put one into a production environment I want to know if anything changes.</p>
<p>It took a couple of goes, but I finally managed to build a <a href="http://www.linickx.com/files/rpm/whitebox/4/i386/tripwire-2.4.0-1.i386.rpm">tripwire rpm</a> for Redhat Enterprise Linux, I&#8217;ve been testing it for a couple of weeks, all looks good.</p>
<p>It&#8217;s available from <a href="http://www.linickx.com/index.php?content=all-files">my files directory</a> or <a href="http://www.linickx.com/files/rpm/linickx-whitebox.repo">my repo</a> , if you have any problems let me know <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/229/tripwire-rpm-for-rhel-4-wbel-4-centos-4/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Yum Fun !</title>
		<link>http://www.linickx.com/218/yum-fun</link>
		<comments>http://www.linickx.com/218/yum-fun#comments</comments>
		<pubDate>Tue, 15 Aug 2006 14:46:43 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rpms]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/archives/218/yum-fun/</guid>
		<description><![CDATA[This has been on my to do list for a while&#8230; I have finally converted my little reporsitory of rpm&#8217;s into a proper yum repo ! The old xfce repo has been mergered into a new Whitebox repo, which in &#8230; <a href="http://www.linickx.com/218/yum-fun">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This has been on my <i>to do</i> list for a while&#8230; I have finally converted my little reporsitory of rpm&#8217;s into a proper yum repo !</p>
<p>The <a href="http://www.linickx.com/blog/archives/7/xfce-yum-repo-for-wbel/">old xfce repo</a> has been mergered into a new <b>Whitebox</b> repo, which in fact can be used for CentOS, WBEL or Red Hat Enterprise Linux (RHEL). </p>
<p>A new fedora repo exists as well, those with a keen eye will see new rpm sections for FC5 64_86 (<i>my new pc!</i>).</p>
<p>All packages will be signed with <a href="http://www.linickx.com/files/GPG-KEY-NICK">my gpg key</a>, and config files can be found <a href="http://www.linickx.com/files/rpm/">here</a>: </p>
<ul>
<li><a href="http://www.linickx.com/files/rpm/linickx-fedora.repo">linickx-fedora.repo</a>
<pre>
[LINICKX]
name=LINICKX Fedora Yum Repo
baseurl=http://www.linickx.com/files/rpm/fedora/$releasever/$basearch/
gpgkey=http://www.linickx.com/files/GPG-KEY-NICK
gpgcheck=1
</pre>
</li>
<li><a href="http://www.linickx.com/files/rpm/linickx-whitebox.repo">linickx-whitebox.repo</a>
<pre>
[LINICKX]
name=LINICKX WBEL Yum Repo
baseurl=http://www.linickx.com/files/rpm/whitebox/$releasever/$basearch/
gpgkey=http://www.linickx.com/files/GPG-KEY-NICK
gpgcheck=1
</pre>
</li>
</ul>
<p>copy the .repo&#8217;s into your /etc/yum.repo.d dir and you should be away ! <a href="http://www.linickx.com/index.php?content=contact">Let me know</a> if you have any problems <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_cool.gif' alt=':cool:' class='wp-smiley' /> </p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/218/yum-fun/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Xfce 4.2.3.1 &#8211; I have a problem</title>
		<link>http://www.linickx.com/80/xfce-4231-i-have-a-problem</link>
		<comments>http://www.linickx.com/80/xfce-4231-i-have-a-problem#comments</comments>
		<pubDate>Wed, 09 Nov 2005 20:41:54 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Enterprise Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rpms]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[wbel]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://www.linickx.com/blog/?p=80</guid>
		<description><![CDATA[Sorry yum friends, when I saw the announcement from xfce about Xfce 4.2.3.1 I sighed, not because my love for xfce has changed, but I remember what I&#8217;d forgotten. When my place of work moved office I lost my white &#8230; <a href="http://www.linickx.com/80/xfce-4231-i-have-a-problem">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Sorry <em>yum friends</em>, when I saw the <a href="http://foo-projects.org/pipermail/xfce-announce/2005-November/000024.html">announcement from xfce about Xfce 4.2.3.1</a> I sighed, not because my love for xfce has changed, but I remember what I&#8217;d forgotten.</p>
<p>When my place of work moved office I <em>lost</em> my white box build server <img src='http://www.linickx.com/wp/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  as soon as I&#8217;ve got one, I&#8217;ll get the rpms built, in the mean time please see <a href="http://www.xfce.org/">www.xfce.org</a></p>
<img src="http://www.linickx.com/wp/wp-content/themes/linickx_v2/images/nick_sig_bggrey.png" alt="Nick" /> <hr/>Copyright &copy; 2012 <strong><a href="http://www.linickx.com">[LINICKX].com</a></strong>. This Feed is for personal non-commercial use only. Please check my <a href="http://www.linickx.com/?page_id=63">Site Terms and Conditions</a> for full details on copyrights. If you have any concerns with the content of this feed you may <a href="http://www.linickx.com/contact">contact me here</a>.<br/><span style="float: right;font-size: 7pt"><a href="http://blog.taragana.com/index.php/archive/wordpress-plugins-provided-by-taraganacom/">WP Copyright Plugin</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.linickx.com/80/xfce-4231-i-have-a-problem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

