<?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>dennis henry &#187; CentOS</title>
	<atom:link href="http://dennishenry.net/category/linux/centos-linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://dennishenry.net</link>
	<description>ramblings of an IT professional</description>
	<lastBuildDate>Mon, 26 Sep 2011 16:50:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Install Yum on minimal CentOS</title>
		<link>http://dennishenry.net/2011/07/05/install-yum-on-minimal-centos/</link>
		<comments>http://dennishenry.net/2011/07/05/install-yum-on-minimal-centos/#comments</comments>
		<pubDate>Wed, 06 Jul 2011 01:41:40 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[centos5]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://dennishenry.net/?p=142</guid>
		<description><![CDATA[Hello all! I ran into an interesting issue with a &#8220;minimal&#8221; CentOS installation and had to help a colleague install Yum on a server where only rpm existed. Here&#8217;s the final RPM line I used: rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/rpm-python-4.4.2.3-22.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/rpm-4.4.2.3-22.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/rpm-libs-4.4.2.3-22.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/popt-1.10.2.3-22.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/m2crypto-0.16-8.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-2.6.26-2.1.12.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/logrotate-3.7.4-12.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/expat-1.95.8-8.3.el5_5.3.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/nss-3.12.8-4.el5_6.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/nspr-4.8.6-1.el5_5.x86_64.rpm This]]></description>
			<content:encoded><![CDATA[<p>Hello all!</p>
<p>I ran into an interesting issue with a &#8220;minimal&#8221; CentOS installation and had to help a colleague install Yum on a server where only rpm existed. Here&#8217;s the final RPM line I used:</p>
<pre>rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/rpm-python-4.4.2.3-22.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/rpm-4.4.2.3-22.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/rpm-libs-4.4.2.3-22.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/popt-1.10.2.3-22.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/m2crypto-0.16-8.el5.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/libxml2-2.6.26-2.1.12.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/logrotate-3.7.4-12.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/expat-1.95.8-8.3.el5_5.3.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/nss-3.12.8-4.el5_6.x86_64.rpm http://mirror.centos.org/centos/5/os/x86_64/CentOS/nspr-4.8.6-1.el5_5.x86_64.rpm</pre>
<p>This should install Yum and all the required depedancies for CentOS 5 x86_64 (at the time of this writing). Once this is ran, yum should be available to install any other software needed.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://dennishenry.net/2011/07/05/install-yum-on-minimal-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSSH won&#8217;t start</title>
		<link>http://dennishenry.net/2011/06/18/openssh-wont-start/</link>
		<comments>http://dennishenry.net/2011/06/18/openssh-wont-start/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 17:19:56 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[MAKEDEV]]></category>
		<category><![CDATA[missing]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[urandom]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://dennishenry.net/?p=146</guid>
		<description><![CDATA[I ran into an issue with OpenSSH Server would not start after fresh installation of it on a minimal CentOS 5 x86_64 VPS: [root@vps ~]# /etc/init.d/sshd restart Stopping sshd: [FAILED] Generating SSH1 RSA host key: [FAILED] I delved a little further and discovered that ssh-keygen was failing: [root@vps ~]# ssh-keygen cannot read from /dev/urandom, No]]></description>
			<content:encoded><![CDATA[<p>I ran into an issue with OpenSSH Server would not start after fresh installation of it on a minimal CentOS 5 x86_64 VPS:</p>
<pre>[root@vps ~]# /etc/init.d/sshd restart
Stopping sshd:                                             <span style="color:red; font-weight:bold;">[FAILED]</span>
Generating SSH1 RSA host key:                              <span style="color:red; font-weight:bold;">[FAILED]</span></pre>
<p>I delved a little further and discovered that ssh-keygen was failing:</p>
<pre>[root@vps ~]# ssh-keygen
cannot read from /dev/urandom, No such file or directory</pre>
<p>And finally, from there, I generated the urandom file:</p>
<pre>/sbin/MAKEDEV urandom</pre>
<p>Also, to ensure on restarts the urandom file (as well as pty and tty) are created, I added the following to /etc/rc.d/rc.local:</p>
<pre>/sbin/MAKEDEV pty
/sbin/MAKEDEV tty
/sbin/MAKEDEV urandom</pre>
<p>Hopefully this helps if you run into a similar issue down the line!</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://dennishenry.net/2011/06/18/openssh-wont-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common Issues &#8211; No Networking on new OpenVZ VPS</title>
		<link>http://dennishenry.net/2011/03/23/common-issues-no-networking-on-new-openvz-vps/</link>
		<comments>http://dennishenry.net/2011/03/23/common-issues-no-networking-on-new-openvz-vps/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 22:42:21 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Common Issues]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[OpenVZ]]></category>
		<category><![CDATA[interface]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[resolv.conf]]></category>
		<category><![CDATA[venet0]]></category>

		<guid isPermaLink="false">http://dennishenry.net/?p=129</guid>
		<description><![CDATA[Hello all, Today I ran into an interesting issue where a VPS had no networking either inbound or outbound after setup. This is the error that would present when restarting network via init.d: Bringing up interface venet0: SIOCADDRT: Network is unreachable SIOCADDRT: Network is unreachable This issue also presented in that cPanel licenses could not]]></description>
			<content:encoded><![CDATA[<p>Hello all,</p>
<p>Today I ran into an interesting issue where a VPS had no networking either inbound or outbound after setup. This is the error that would present when restarting network via init.d:</p>
<pre>
Bringing up interface venet0:
SIOCADDRT: Network is unreachable
SIOCADDRT: Network is unreachable
</pre>
<p>This issue also presented in that cPanel licenses could not activate not could any ping or host commands work properly. I eventually narrowed down the issue to the fact that the IPs that had been added to the VPS were not properly set to ARP by checking with the following command (run on the node):</p>
<pre>
arp | grep [INSERT IP HERE]
</pre>
<p>In order to resolve this, all I needed to do was add the arp entries for the IPs on the actual virtual environment by running the following commands on the node:</p>
<pre>
arp -s [INSERT IP HERE] `ifconfig eth0 | grep eth0 | awk '{print $5}'` pub
</pre>
<p>Make sure you run the command above for every IP on the VPS. This resolved the issue and all networking started working again properly.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://dennishenry.net/2011/03/23/common-issues-no-networking-on-new-openvz-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Xen 3.4.3 on CentOS 5.x</title>
		<link>http://dennishenry.net/2010/09/10/install-xen-3-4-3-on-centos-5-x/</link>
		<comments>http://dennishenry.net/2010/09/10/install-xen-3-4-3-on-centos-5-x/#comments</comments>
		<pubDate>Fri, 10 Sep 2010 18:30:45 +0000</pubDate>
		<dc:creator>dennis</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[3.4.3]]></category>
		<category><![CDATA[5.x]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://dennishenry.net/?p=103</guid>
		<description><![CDATA[So I have had to install Xen 3.4.3 recently 3 different times so I thought I&#8217;d make a quick post regarding the best route I have found to do this. Please note, this may not be the most optimal route but it has worked well for me 3 times now: yum install xen PyXML mesa-libGL]]></description>
			<content:encoded><![CDATA[<p>So I have had to install Xen 3.4.3 recently 3 different times so I thought I&#8217;d make a quick post regarding the best route I have found to do this. Please note, this may not be the most optimal route but it has worked well for me 3 times now:</p>
<pre>
yum install xen PyXML mesa-libGL
yum remove xen python-virtinst libvirt-python libvirt xen-libs
mkdir rpms
cd rpms
wget http://www.gitco.de/repo/xen3.4.3/libvirt-0.7.0-6.el5.x86_64.rpm
wget http://www.gitco.de/repo/xen3.4.3/libvirt-client-0.7.0-6.el5.x86_64.rpm
wget http://www.gitco.de/repo/xen3.4.3/libvirt-python-0.7.0-6.el5.x86_64.rpm
wget http://www.gitco.de/repo/xen3.4.3/python-virtinst-0.500.0-1.el5.noarch.rpm
wget http://www.gitco.de/repo/xen3.4.3/xen-3.4.3-1.el5.x86_64.rpm
wget http://www.gitco.de/repo/xen3.4.3/xen-libs-3.4.3-1.el5.x86_64.rpm
wget http://www.gitco.de/repo/xen3.4.3/glusterfs-client-2.0.8-1.el5.x86_64.rpm
wget http://www.gitco.de/repo/xen3.4.3/glusterfs-common-2.0.8-1.el5.x86_64.rpm
wget http://www.gitco.de/repo/xen3.4.3/fuse-2.7.4-1.rf.x86_64.rpm
wget http://www.gitco.de/repo/xen3.4.3/libibverbs-1.1-1.x86_64.rpm
rpm -ivh *.rpm
</pre>
<p>After that block, make sure you edit /etc/grub.conf to set the following lines:</p>
<pre>
---snip---
default = 0
---snip---
kernel /xen.gz-3.4.3 dom0_mem=512m
---snip---
</pre>
<p>The first will set the xen kernel as the default and the second will limit dom0 to only be able to use 512m of memory, leaving the rest for your VEs. After these changes, go ahead and reboot. Let me know if this route works for you!</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://dennishenry.net/2010/09/10/install-xen-3-4-3-on-centos-5-x/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
