<?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>Admins Goodies &#187; centos</title>
	<atom:link href="http://adminsgoodies.com/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://adminsgoodies.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 23 May 2013 16:33:20 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>SCP transfer only modified files</title>
		<link>http://adminsgoodies.com/scp-transfer-only-modified-files/</link>
		<comments>http://adminsgoodies.com/scp-transfer-only-modified-files/#comments</comments>
		<pubDate>Thu, 23 May 2013 16:33:20 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[scp]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/scp-transfer-only-modified-files/</guid>
		<description><![CDATA[I&#8217;m using below command to transfer files cross server scp -rc blowfish /source/directory/* username@domain.net:/destination/directory Is there a way to transfer only files modified files just like update command for cp? Asked by Jae Choi rsync is your friend. rsync -ru /source/directory/* username@domain.net:/destination/directory If you want it to delete files at the destination that no longer exist at the source, add the --delete option. Answered by Flup Check more discussion of this question.]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;m using below command to transfer files cross server</p>
<pre class="prettyprint"><code>scp -rc blowfish /source/directory/* username@domain.net:/destination/directory
</code></pre>
<p>Is there a way to transfer only files modified files just like <code>update</code> command for <code>cp</code>?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/150250/jae-choi" target="_blank">Jae Choi</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p><code>rsync</code> is your friend.</p>
<pre class="prettyprint"><code>rsync -ru /source/directory/* username@domain.net:/destination/directory
</code></pre>
<p>If you want it to delete files at the destination that no longer exist at the source, add the <code>--delete</code> option.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/156599/flup" target="_blank">Flup</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/510278/scp-transfer-only-modified-files" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/scp-transfer-only-modified-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The XFS filesystem is broken in RHEL/CentOS 6.x &#8211; What can I do about it?</title>
		<link>http://adminsgoodies.com/the-xfs-filesystem-is-broken-in-rhelcentos-6-x-what-can-i-do-about-it/</link>
		<comments>http://adminsgoodies.com/the-xfs-filesystem-is-broken-in-rhelcentos-6-x-what-can-i-do-about-it/#comments</comments>
		<pubDate>Sat, 04 May 2013 16:33:45 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[filesystems]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[xfs]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/the-xfs-filesystem-is-broken-in-rhelcentos-6-x-what-can-i-do-about-it/</guid>
		<description><![CDATA[Recent versions of RHEL/CentOS (EL6) brought some interesting changes to the XFS filesystem I&#8217;ve depended on heavily for over a decade. I spent part of last summer chasing down an XFS sparse file situation resulting from a poorly-documented kernel backport. Others have had unfortunate performance issues or inconsistent behavior since moving to EL6. XFS was my default filesystem for data and growth-partitions, as it offered stability, scalability and a good performance boost over the default [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Recent versions of RHEL/CentOS (EL6) brought some interesting changes to the <a href="http://en.wikipedia.org/wiki/XFS" rel="nofollow">XFS filesystem</a> I&#8217;ve depended on <em>heavily</em> for over a decade. I spent part of last summer chasing down an <a href="http://serverfault.com/questions/406069/why-are-my-xfs-filesystems-suddenly-consuming-more-space-and-full-of-sparse-file">XFS sparse file situation</a> resulting from a poorly-documented kernel backport. Others have had <a href="http://serverfault.com/questions/483413/hp-dl380p-gen8-p420i-controller-i-o-oddity-on-xfs-partitions">unfortunate performance issues</a> or <a href="http://serverfault.com/questions/387918/centos-6-doing-lots-more-io-than-centos-5">inconsistent behavior</a> since moving to EL6.</p>
<p>XFS was my default filesystem for data and growth-partitions, as it offered stability, scalability and a good performance boost over the default ext3 filesystems. </p>
<p>There&#8217;s an issue with XFS on EL6 systems that surfaced in November 2012. I noticed that my servers were showing abnormaly-high system loads, even when idle. In one case, an unloaded system would show a constant load average of 3+. In others, there was a 1+ bump in load. The number of mounted XFS filesystems seemed to influence the severity of the load increase.</p>
<p><em>System has two active XFS filesystems. Load is +2 following upgrade to the affected kernel.</em><br />
<a href="http://i.stack.imgur.com/VI9ES.png" rel="nofollow"><img src="http://i.stack.imgur.com/VI9ES.png" alt="enter image description here"></a></p>
<p>Digging deeper, I found a few threads on the <a href="http://comments.gmane.org/gmane.comp.file-systems.xfs.general/49028" rel="nofollow">XFS mailing list</a> that pointed to an increased frequency of the <code>xfsaild</code> process sitting in the <strong>STAT D</strong> state. The corresponding <a href="http://bugs.centos.org/view.php?id=6087" rel="nofollow">CentOS Bug Tracker</a> and <a href="https://bugzilla.redhat.com/show_bug.cgi?id=883905" rel="nofollow">Red Hat Bugzilla</a> entries outline the specifics of the issue and conclude that this is not a performance problem; only an error in the reporting of system load in kernels newer than <strong>2.6.32-279.14.1.el6</strong>. </p>
<p><strong>WTF?!?</strong> </p>
<p>In a one-off situation, I understand that the load reporting may not be a big deal. Try managing that with your NMS and hundreds or thousands of servers! This was identified in <em>November 2012</em> at kernel <strong>2.6.32-279.14.1.el6</strong> under EL6.3. Kernels <strong>2.6.32-279.19.1.el6</strong> and <strong>2.6.32-279.22.1.el6</strong> were released in subsequent months (December 2012 and February 2013) with no change to this behavior. There&#8217;s even been a new minor release of the operating system since this issue was identified. EL6.4 was released and is now on kernel <strong>2.6.32-358.2.1.el6</strong>, which exhibits the same behavior.</p>
<p>I&#8217;ve had a new system build queue and have had to work around the issue, either locking kernel versions at the pre-November 2012 release for EL6.3 or just not using XFS, opting for <a href="http://en.wikipedia.org/wiki/Ext4" rel="nofollow">ext4</a> or <a href="http://zfsonlinux.org" rel="nofollow">ZFS</a>, at a <a href="http://i.stack.imgur.com/H83yt.png" rel="nofollow">severe performance penalty</a> for the specific custom application running atop. The application in question relies heavily on some of the XFS filesystem attributes to account for deficiencies in the application design.</p>
<p>Going behind Red Hat&#8217;s <a href="https://access.redhat.com/site/solutions/293493" rel="nofollow">paywalled knowledgebase site</a>, an entry appears stating:</p>
<blockquote>
<p>High load average is observed after installing kernel<br />
  2.6.32-279.14.1.el6. The high load average is caused by xfsaild going into D state for each XFS formatted device.</p>
<p>There is currently no resolution for this issue. It is currently being<br />
  tracked via Bugzilla #883905. Workaround Downgrade the installed<br />
  kernel package to a version lower then 2.6.32-279.14.1.</p>
</blockquote>
<p><em>(except downgrading kernels not an option on RHEL 6.4&#8230;)</em></p>
<p>So we&#8217;re 4+ months into this problem with no real fix planned for the EL6.3 or EL6.4 OS releases. There&#8217;s a proposed fix for EL6.5 and a kernel source patch available&#8230; But my question is:</p>
<p><strong>At what point does it make sense to depart from the OS-provided kernels and packages when the upstream maintainer has broken an important feature?</strong></p>
<p>Red Hat introduced this bug. They <em>should</em> incorporate a fix into an errata kernel. One of the advantages of using enterprise operating systems is that they provide a <a href="http://serverfault.com/questions/461271/how-should-an-it-department-choose-a-linux-distribution-technical-reasons/461332#461332">consistent and predictable platform target</a>. This bug disrupted systems already in production during a patch cycle and reduced confidence in deploying new systems. While I could apply one of the <a href="https://bugzilla.redhat.com/attachment.cgi?id=674895" rel="nofollow">proposed patches to the source code</a>, how scalable is that? It would require some vigilance to keep updated as the OS changes.</p>
<p>What&#8217;s the right move here?</p>
<ul>
<li>We know this could possibly be fixed, but not when.</li>
<li>Supporting your own kernel in a Red Hat ecosystem has its own set of caveats.</li>
<li>What&#8217;s the impact on support eligibility?</li>
<li>Should I just overlay a working EL6.3 kernel on top of newly-build EL6.4 servers to gain the proper XFS functionality?</li>
<li>Should I just wait until this is officially fixed?</li>
<li>What does this say about the lack of control we have over enterprise Linux release cycles?</li>
<li>Was relying on an XFS filesystem for so long a planning/design mistake?</li>
</ul>
<p>Edit:</p>
<p>This patch was incorporated into the most recent <a href="http://wiki.centos.org/AdditionalResources/Repositories/CentOSPlus/" rel="nofollow">CentOSPlus</a> kernel release (<strong>kernel-2.6.32-358.2.1.el6.centos.plus</strong>). I&#8217;m testing this on my CentOS systems, but this doesn&#8217;t help much for the Red Hat-based servers.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/13325/ewwhite" target="_blank">ewwhite</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<blockquote>
<p>At what point does it make sense to depart from the OS-provided kernels and packages when the upstream maintainer has broken an important feature?</p>
</blockquote>
<p>&#8220;At the point where the vendor&#8217;s kernel or packages are so horribly broken that they impact your business&#8221; is my general answer (coincidentally this is also about the point where I say it makes sense to start looking at ways to depart from the vendor relationship).</p>
<p>Basically as you and others have said, RedHat seems to not want to patch this in their distributed kernel (for whatever reason).  That pretty much leaves you in the situation of having to roll your own kernel (keeping it up to date on patches yourself, maintaining your own package and installing it on your systems with Puppet or similar, or running a package server that Yum or whatever they use today can reference), or taking your marbles and going home.</p>
<hr />
<p>Yes I know taking your marbles and going home is often an expensive proposition &#8212; switching OS vendors is a huge pain, especially in the Linux world where the flavors are radically different from an administrative standpoint.<br />
Other options like going totally CentOS are also unappealing (because you lose support, and you&#8217;re still getting essentially RedHat&#8217;s code built by someone else so you&#8217;d still have this bug).  </p>
<p>Unfortunately unless enough people (i.e. &#8220;huge companies) take their marbles and go home the vendor won&#8217;t care so much about screwing people over by shipping bad code and not fixing it.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/32986/voretaq7" target="_blank">voretaq7</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/497049/the-xfs-filesystem-is-broken-in-rhel-centos-6-x-what-can-i-do-about-it" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/the-xfs-filesystem-is-broken-in-rhelcentos-6-x-what-can-i-do-about-it/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>cannot use any yum command: no space left on device</title>
		<link>http://adminsgoodies.com/cannot-use-any-yum-command-no-space-left-on-device/</link>
		<comments>http://adminsgoodies.com/cannot-use-any-yum-command-no-space-left-on-device/#comments</comments>
		<pubDate>Fri, 22 Mar 2013 16:34:31 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[centos6]]></category>
		<category><![CDATA[dedicated-server]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/cannot-use-any-yum-command-no-space-left-on-device/</guid>
		<description><![CDATA[if i use any yum command, i get Loaded plugins: fastestmirror Traceback (most recent call last): File "/usr/bin/yum", line 29, in &#60;module&#62; yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 285, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 114, in main base.doLock() File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1791, in doLock while not self._lock(lockfile, mypid, 0644): File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1861, in _lock os.write(fd, contents) OSError: [Errno 28] No space left on device If i use the top command i see [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>if i use any yum command, i get</p>
<pre class="prettyprint"><code>Loaded plugins: fastestmirror
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in &lt;module&gt;
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 285, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 114, in main
    base.doLock()
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1791, in doLock
    while not self._lock(lockfile, mypid, 0644):
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1861, in _lock
    os.write(fd, contents)
OSError: [Errno 28] No space left on device
</code></pre>
<p>If i use the <code>top</code> command i see <a href="http://dpaste.com/1030556/" rel="nofollow">this</a>. If i use the <code>df -h</code> i see <a href="http://dpaste.com/1030552/" rel="nofollow">this</a>. </p>
<p>Is it yum error? python error? or what?</p>
<p><strong>EDIT</strong></p>
<p>the output of <code>find / -size +1G</code> is</p>
<blockquote>
<p>/var/log/squid/access.log-20130317<br />
  find: File system loop detected; `/var/named/chroot/var/named&#8217; is part of the same file system loop as /var/named&#8217;. </p>
<p>find: <code>/proc/31495/task/31495/fd/5': No such file or<br />
  directory find:</code>/proc/31495/task/31495/fdinfo/5&#8242;: No such file or<br />
  directory find: `/proc/31495/fd/5&#8242;: No such file or directory find:</p>
<p>/proc/31495/fdinfo/5&#8242;: No such file or directory</p>
</blockquote>
<div class="author">Asked by <a href="http://serverfault.com/users/155517/fischer" target="_blank">Fischer</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Looks like / is full</p>
<p>While you have almost 500GB in /home.</p>
<p>You might wanna reallocate some more space to / for system use. </p>
<p>Also, check /var/log as it resides on /</p>
<p>It is very possible you have some huge log files that could be pruned to clear up some space. 10G isnt much, but can be enough. </p>
<div class="author">Answered by <a href="http://serverfault.com/users/49993/david-houde" target="_blank">David Houde</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/490261/cannot-use-any-yum-command-no-space-left-on-device" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/cannot-use-any-yum-command-no-space-left-on-device/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iptables returns me “no chain/target/match by that name”</title>
		<link>http://adminsgoodies.com/iptables-returns-me-no-chaintargetmatch-by-that-name/</link>
		<comments>http://adminsgoodies.com/iptables-returns-me-no-chaintargetmatch-by-that-name/#comments</comments>
		<pubDate>Mon, 21 Jan 2013 17:33:58 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[iptables]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/iptables-returns-me-no-chaintargetmatch-by-that-name/</guid>
		<description><![CDATA[Been trying to run iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0:0 -j MASQUERADE and I keep getting the above error message. Trying to set up openvpn on my server. Does anyone have any idea how to solve this? Asked by laurenceputra firstly, venet0:0 is not valid, just use venet0, iptables does not care about interface labels. The error itself is down to the fact that either you do not have the nat table [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>Been trying to run</p>
<pre class="prettyprint"><code>iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0:0 -j MASQUERADE
</code></pre>
<p>and I keep getting the above error message. Trying to set up openvpn on my server. </p>
<p>Does anyone have any idea how to solve this?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/87598/laurenceputra" target="_blank">laurenceputra</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>firstly, venet0:0 is not valid, just use venet0, iptables does not care about interface labels.</p>
<p>The error itself is down to the fact that either you do not have the nat table kernel module loaded or you do, but don&#8217;t have MASQUERADE.</p>
<p>Since this is OpenVZ, you would need to ask your host to provide it.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/87988/olipro" target="_blank">Olipro</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/471007/iptables-returns-me-no-chain-target-match-by-that-name" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/iptables-returns-me-no-chaintargetmatch-by-that-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install CentOs 5.8 on 3TB disk with RAID 1 on Hetzner EX 4S (10 TB) server?</title>
		<link>http://adminsgoodies.com/how-to-install-centos-5-8-on-3tb-disk-with-raid-1-on-hetzner-ex-4s-10-tb-server/</link>
		<comments>http://adminsgoodies.com/how-to-install-centos-5-8-on-3tb-disk-with-raid-1-on-hetzner-ex-4s-10-tb-server/#comments</comments>
		<pubDate>Sun, 20 Jan 2013 17:35:01 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[parted]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/how-to-install-centos-5-8-on-3tb-disk-with-raid-1-on-hetzner-ex-4s-10-tb-server/</guid>
		<description><![CDATA[I have installed centos 5.8 with Hetzner server rescue mode but its disk parttion table is in MSDOS formate which does not support more than 2 TB space of disk so i need to change the partition table into GPT formate.but enable to install os in Gpt formate how can i cange parttion table formate from dos to gpt. Thanks in advance. Asked by user133916 You don&#8217;t. GPT support is available on EL6, but not [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have installed centos 5.8 with Hetzner server rescue mode but its disk parttion table is in MSDOS formate which does not support more than 2 TB space of disk so i need to change the partition table into GPT formate.but enable to install os in Gpt formate how can i cange parttion table formate from dos to gpt.<br />
Thanks in advance. </p>
<div class="author">Asked by <a href="http://serverfault.com/users/133916/user133916" target="_blank">user133916</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>You don&#8217;t. GPT support is available on EL6, but not on EL5.</p>
<p>So Hetzner should never have offered you this distribution.</p>
<p>To resolve the issue, install CentOS 6 instead.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/126632/michael-hampton" target="_blank">Michael Hampton</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/470652/how-to-install-centos-5-8-on-3tb-disk-with-raid-1-on-hetzner-ex-4s-10-tb-serve" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/how-to-install-centos-5-8-on-3tb-disk-with-raid-1-on-hetzner-ex-4s-10-tb-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apachectl Missing from Apache HTTPD Binary</title>
		<link>http://adminsgoodies.com/apachectl-missing-from-apache-httpd-binary/</link>
		<comments>http://adminsgoodies.com/apachectl-missing-from-apache-httpd-binary/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 17:33:39 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[httpd]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/apachectl-missing-from-apache-httpd-binary/</guid>
		<description><![CDATA[I extracted the httpd&#8230;tar.gz from here, but I don&#8217;t see apachectl. [vagrant@centos48 opt]$ ls httpd-2.2.23 httpd-2.2.23.tar.gz [vagrant@centos48 httpd-2.2.23]$ find . -name apachectl [vagrant@centos48 httpd-2.2.23]$ Asked by Kevin This is because you did not build the code. You downloaded the source code. So, you need to build it first to create the binaries and libraries. Answered by Khaled Check more discussion of this question.]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I extracted the httpd&#8230;tar.gz from <a href="http://mirror.nexcess.net/apache/httpd/" rel="nofollow">here</a>, but I don&#8217;t see <code>apachectl</code>.</p>
<pre class="prettyprint"><code>[vagrant@centos48 opt]$ ls
httpd-2.2.23  httpd-2.2.23.tar.gz
[vagrant@centos48 httpd-2.2.23]$ find . -name apachectl
[vagrant@centos48 httpd-2.2.23]$ 
</code></pre>
<div class="author">Asked by <a href="http://serverfault.com/users/132002/kevin" target="_blank">Kevin</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>This is because you did not build the code. You downloaded the source code. So, you need to build it first to create the binaries and libraries.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/58024/khaled" target="_blank">Khaled</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/469312/apachectl-missing-from-apache-httpd-binary" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/apachectl-missing-from-apache-httpd-binary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Yum Hangs on “Setting up repositories”</title>
		<link>http://adminsgoodies.com/yum-hangs-on-setting-up-repositories/</link>
		<comments>http://adminsgoodies.com/yum-hangs-on-setting-up-repositories/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 17:33:17 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/yum-hangs-on-setting-up-repositories/</guid>
		<description><![CDATA[When running the following command, yum hangs on Setting up repositories. [vagrant@centos48 yum.repos.d]$ sudo yum install emacs Setting up Install Process Setting up repositories yum.conf [vagrant@centos48 ~]$ cat /etc/yum.conf [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel kernel-largesmp kernel-largesmp-devel kernel-hugemem kernel-hugemem-devel distroverpkg=centos-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 plugins=1proxy= [intentionally not listed]# PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d CentOS-Base.repo Note that I got the same error as before [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>When running the following command, yum hangs on <code>Setting up repositories</code>.</p>
<pre class="prettyprint"><code>[vagrant@centos48 yum.repos.d]$ sudo yum install emacs
Setting up Install Process
Setting up repositories
</code></pre>
<p>yum.conf</p>
<pre class="prettyprint"><code>[vagrant@centos48 ~]$ cat /etc/yum.conf 
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
installonlypkgs=kernel kernel-smp kernel-devel kernel-smp-devel kernel-largesmp kernel-largesmp-devel kernel-hugemem kernel-hugemem-devel
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
plugins=1proxy= [intentionally not listed]# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
</code></pre>
<p>CentOS-Base.repo</p>
<p>Note that I got the same error as before when commenting out <code>[base]</code>&#8216;s <code>baseurl</code>, but leaving <code>mirrorlist</code> uncommented.</p>
<pre class="prettyprint"><code># CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#[base]
name=CentOS-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=os
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1#released updates
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=1
protect=1#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
priority=2
protect=1
</code></pre>
<div class="author">Asked by <a href="http://serverfault.com/users/132002/kevin" target="_blank">Kevin</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>This is because your server is running an <em>old</em> version of CentOS 4, which went <a href="http://lists.centos.org/pipermail/centos-announce/2012-February/018462.html" rel="nofollow">End-of-Life in February 2012.</a> The files have been moved to the <a href="http://vault.centos.org/" rel="nofollow">CentOS Vault</a>. Your repo files would need to be modified in order to continue to use this OS with the YUM framework.</p>
<p>You can update your <code>/etc/yum.repos.d/CentOS-Base.repo</code> file to point to the new location as so:</p>
<pre class="prettyprint"><code># CentOS-Base.repo
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=os
baseurl=http://vault.centos.org/4.9/os/$basearch
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4#released updates 
[update]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&amp;arch=$basearch&amp;repo=updates
baseurl=http://vault.centos.org/4.9/updates/$basearch
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
</code></pre>
<div class="author">Answered by <a href="http://serverfault.com/users/13325/ewwhite" target="_blank">ewwhite</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/469323/yum-hangs-on-setting-up-repositories" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/yum-hangs-on-setting-up-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>oidentd properly configured yet not properly working on CentOS 6</title>
		<link>http://adminsgoodies.com/oidentd-properly-configured-yet-not-properly-working-on-centos-6/</link>
		<comments>http://adminsgoodies.com/oidentd-properly-configured-yet-not-properly-working-on-centos-6/#comments</comments>
		<pubDate>Tue, 08 Jan 2013 17:33:54 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[ident]]></category>
		<category><![CDATA[spoofing]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/oidentd-properly-configured-yet-not-properly-working-on-centos-6/</guid>
		<description><![CDATA[I&#8217;ve been experiencing this problem with oidentd for a couple of days and I can&#8217;t seem to be able to find a solution to this yet. oidentd seems to give me headaches every time I want to get it work on different servers. I have to mention I&#8217;ve installed oidentd using rpm package (oidentd-2.0.8-8.el6.i686 more exactly) because directly typing yum install oidentd didn&#8217;t work for some unknown reason. I want to use it in order [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;ve been experiencing this problem with oidentd for a couple of days and I can&#8217;t seem to be able to find a solution to this yet.<br />
oidentd seems to give me headaches every time I want to get it work on different servers.</p>
<p>I have to mention I&#8217;ve installed oidentd using rpm package (oidentd-2.0.8-8.el6.i686 more exactly) because directly typing <code>yum install oidentd</code> didn&#8217;t work for some unknown reason.<br />
I want to use it in order to make ZNC on the server reply to ident requests with each username&#8217;s ident.</p>
<p>After finally installing it, I&#8217;ve done the configs and stuff (exactly the same configs I&#8217;ve done to the other server which seem to work fine):</p>
<p><code>$ nano /etc/oidentd.conf</code> to this:</p>
<pre class="prettyprint"><code>default {
        default {
            allow spoof
            deny spoof_all
            deny spoof_privport
            allow random_numeric
            allow numeric
            allow hide
        }
}user root {
        default {
            force reply "UNKNOWN"
        }
}
</code></pre>
<p>Installed ZNC 1.0 using the source tarball.<br />
I made a user called <code>znc</code> and then run ZNC from it.<br />
Then I went to my client and enabled the <code>identfile</code> module. Set the spoof file for the per user configuration to <code>~/.oidentd.conf</code> and the format to <code>global { reply "%ident%" }</code>.<br />
Made sure the user has chmod access to <code>~/.oidentd.conf</code> file. All perfect, like how it was configured on the other server.</p>
<p>Everything went great, no errors, *identfile even told me what would the format be expanded to, I was happy and excited to see nothing was going wrong.</p>
<p><strong>Until I reconnected to the server.</strong><br />
It gives an ident response (sign that oidentd is working?) but the problem is that it always replies with the username I&#8217;m running ZNC with (which would be <code>znc</code>)</p>
<p>Here&#8217;s a small output to make everything clear:</p>
<pre class="prettyprint"><code>[msg: *identfile]: getfile
(*identfile) File is set to: ~/.oidentd.conf
[msg: *identfile]: getformat
(*identfile) Format is set to: global { reply "%ident%" }
(*identfile) Format would be expanded to: global { reply "Tarmac" }Please wait while we process your connection.
*** Checking Ident
*** Got Ident response
</code></pre>
<p>Then I did a WHOIS on my nick:</p>
<pre class="prettyprint"><code>WHOIS Tarmac
[whois: Tarmac] (registered nick)
name: bri
address: znc@random.geek
</code></pre>
<p>    </p>
<p>I tried restarting oidentd and ZNC <em>n</em> times, but no result. Still the same replies.</p>
<p>I don&#8217;t really know what&#8217;s wrong here, but looks like there&#8217;s either a problem with ZNC or a problem with oidentd. The only suspicion I&#8217;ve got so far is that probably oidentd is not working as it should or *identfile module is not properly writing the format to the spoof file. </p>
<p>I&#8217;m so confused right now, so any suggestion on solving this would be highly appreciated.<br />
Thank you!</p>
<p><strong>Edit:</strong> another heads-up, it seems that they removed <code>oidentd</code> from the packages? I don&#8217;t know why though&#8230; if I install rpm does the linux kernel matter that much? I&#8217;ve been trying different rpm&#8217;s but none seems to give any result&#8230;</p>
<p><strong>Edit2:</strong> I&#8217;ve tried installing oidentd from the source. Install went OK, with no issues.</p>
<p>I tried disabling *identfile while I thought it was the issue, edited <code>/home/znc/.oidentd.conf</code> to <code>global reply { "testident" }</code> but it still replies with <code>znc</code> unless I add this to the <code>/etc/oidentd.conf</code> :</p>
<pre class="prettyprint"><code>user "znc" {
    default {
        force reply "testident"
    }
}
</code></pre>
<p>So basically I made an edit in <code>/etc/oidentd.conf</code> to force reply with a specific ident for the user <code>znc</code>&#8230;<br />
It seems to work, but when I go to the per-user config and try the same thing, then it doesn&#8217;t. I don&#8217;t even&#8230; !</p>
<p>It seems that there&#8217;s a problem with <em>reading</em> the per user configuration&#8230; but not sure what? I set the chmodes and stuff to the correct settings yet it doesn&#8217;t work as it should.</p>
<p>Thanks again.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/146937/bri" target="_blank">bri</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>It looks like I had to delete <code>/home/znc/.oidentd.conf</code> and let it make a new one alone&#8230;<br />
I don&#8217;t even know how this solved the problem because I tried the same thing earlier and I let it make the <code>~/.oidentd.conf</code> by itself after installing ZNC, but&#8230; I&#8217;m glad it finally works now haha!</p>
<div class="author">Answered by <a href="http://serverfault.com/users/146937/bri" target="_blank">bri</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/463046/oidentd-properly-configured-yet-not-properly-working-on-centos-6" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/oidentd-properly-configured-yet-not-properly-working-on-centos-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SFTP Access on CentOS Server</title>
		<link>http://adminsgoodies.com/sftp-access-on-centos-server/</link>
		<comments>http://adminsgoodies.com/sftp-access-on-centos-server/#comments</comments>
		<pubDate>Sat, 05 Jan 2013 17:33:29 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[sftp]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/sftp-access-on-centos-server/</guid>
		<description><![CDATA[I have a CentOS server with a plesk control panel installed, I used to login using SFTP with the root password to manage the files. However, and all of a sudden, I am not able to access the server using SFTP and I get this error when using CuteFTP ERROR:&#62; [4/18/2012 5:18:31 PM] Connection to the server was lost, and the operation could not be performed. ERROR:&#62; [4/18/2012 5:18:31 PM] Can't connect to localkicks.com:22. SFTP21 [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have a CentOS server with a plesk control panel installed, I used to login using SFTP with the root password to manage the files. However, and all of a sudden, I am not able to access the server using SFTP and I get this error when using CuteFTP</p>
<pre class="prettyprint"><code>ERROR:&gt;     [4/18/2012 5:18:31 PM] Connection to the server was lost, and the operation could not be performed.
ERROR:&gt;     [4/18/2012 5:18:31 PM] Can't connect to localkicks.com:22. SFTP21 error = #7. 0
</code></pre>
<p>I tried restarrting sshd on linux but with no luck, how do I troubleshoot this?</p>
<p>Appreciate the help.</p>
<p>Yehia A.Salam </p>
<div class="author">Asked by <a href="http://serverfault.com/users/47099/yehia-a-salam" target="_blank">Yehia A.Salam</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>I tried WinSCP and it works now, however i&#8217;m not sure why in the first place the sftp was not working</p>
<div class="author">Answered by <a href="http://serverfault.com/users/47099/yehia-a-salam" target="_blank">Yehia A.Salam</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/380734/sftp-access-on-centos-server" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/sftp-access-on-centos-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>stop Centos 6.3 loading &#8216;Text Mode Setup Utility&#8217; at restart</title>
		<link>http://adminsgoodies.com/stop-centos-6-3-loading-text-mode-setup-utility-at-restart/</link>
		<comments>http://adminsgoodies.com/stop-centos-6-3-loading-text-mode-setup-utility-at-restart/#comments</comments>
		<pubDate>Thu, 03 Jan 2013 17:33:00 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/stop-centos-6-3-loading-text-mode-setup-utility-at-restart/</guid>
		<description><![CDATA[I&#8217;ve just puppetted a virtual machine and from scratch (based on Centos 6.3 minimal). That install process does a variety of things, but one annoying side effect is that when the VM reboots, it automatically opens a tool called: Text Mode Setup Utility 1.19.9 (c) 1999-200 Red Hat, Inc. Is says &#8220;Choose a Tool&#8221; with options for &#8220;Authentication configuration&#8221;, &#8220;Firewall configuration&#8221;, &#8220;Keyboard configuration&#8221;, &#8220;Network configuration&#8221;. I don&#8217;t think it serves a purpose as the VM [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;ve just puppetted a virtual machine and from scratch (based on Centos 6.3 minimal).  That install process does a variety of things, but one annoying side effect is that when the VM reboots, it automatically opens a tool called:</p>
<pre class="prettyprint"><code>Text Mode Setup Utility 1.19.9    (c) 1999-200 Red Hat, Inc.
</code></pre>
<p>Is says &#8220;Choose a Tool&#8221; with options for &#8220;Authentication configuration&#8221;, &#8220;Firewall configuration&#8221;, &#8220;Keyboard configuration&#8221;, &#8220;Network configuration&#8221;.  I don&#8217;t think it serves a purpose as the VM is sufficiently well configured for what we need to use it for, but it&#8217;s annoying that it doesn&#8217;t restart to the normal login prompt.</p>
<p>Can anyone tell me how to stop this Text Mode Setup Utility running?  Is it a missing configuration option or a spurious package I&#8217;ve installed?</p>
<p>&#8212; Update 1 &#8212;</p>
<p>Here&#8217;s the output of chkconfig.  It looks like firstboot is running.  I didn&#8217;t know what that is, but now I&#8217;ve read:</p>
<p><a href="http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-sysconfig-firewall.html" rel="nofollow">http://www.centos.org/docs/5/html/5.1/Deployment_Guide/s2-sysconfig-firewall.html</a></p>
<p>so I&#8217;ll touch /etc/sysconfig/firstboot, which should stop it happening?</p>
<pre class="prettyprint"><code>NetworkManager  0:off   1:off   2:on    3:on    4:on    5:on    6:off
auditd          0:off   1:off   2:on    3:on    4:on    5:on    6:off
avahi-daemon    0:off   1:off   2:off   3:on    4:on    5:on    6:off
cgconfig        0:off   1:off   2:off   3:off   4:off   5:off   6:off
cgred           0:off   1:off   2:off   3:off   4:off   5:off   6:off
crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
csf             0:off   1:off   2:on    3:on    4:on    5:on    6:off
dnsmasq         0:off   1:off   2:off   3:off   4:off   5:off   6:off
firstboot       0:off   1:off   2:off   3:on    4:off   5:on    6:off
haldaemon       0:off   1:off   2:off   3:on    4:on    5:on    6:off
httpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
ip6tables       0:off   1:off   2:on    3:on    4:on    5:on    6:off
iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
lfd             0:off   1:off   2:on    3:on    4:on    5:on    6:off
lvm2-monitor    0:off   1:on    2:on    3:on    4:on    5:on    6:off
mdmonitor       0:off   1:off   2:on    3:on    4:on    5:on    6:off
memcached       0:off   1:off   2:on    3:on    4:on    5:on    6:off
messagebus      0:off   1:off   2:on    3:on    4:on    5:on    6:off
mysqld          0:off   1:off   2:on    3:on    4:on    5:on    6:off
netconsole      0:off   1:off   2:off   3:off   4:off   5:off   6:off
netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
ntpd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
ntpdate         0:off   1:off   2:off   3:off   4:off   5:off   6:off
postfix         0:off   1:off   2:on    3:on    4:on    5:on    6:off
puppet          0:off   1:off   2:off   3:off   4:off   5:off   6:off
rdisc           0:off   1:off   2:off   3:off   4:off   5:off   6:off
restorecond     0:off   1:off   2:off   3:off   4:off   5:off   6:off
rsyslog         0:off   1:off   2:on    3:on    4:on    5:on    6:off
saslauthd       0:off   1:off   2:off   3:off   4:off   5:off   6:off
spice-vdagentd  0:off   1:off   2:off   3:off   4:off   5:on    6:off
sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
svnserve        0:off   1:off   2:off   3:off   4:off   5:off   6:off
udev-post       0:off   1:on    2:on    3:on    4:on    5:on    6:off
wdaemon         0:off   1:off   2:off   3:off   4:off   5:off   6:off
wpa_supplicant  0:off   1:off   2:off   3:off   4:off   5:off   6:off
zend-server     0:off   1:off   2:on    3:on    4:on    5:on    6:off
</code></pre>
<p>&#8212; Update 2 &#8212;-</p>
<p>Alas no.  I also tried editing to /etc/sysconfig/firstboot to include the line RUN_FIRSTBOOT = no, as described at <a href="http://forum.eltechsupport.com/operating-system/run-firstboot-on-linux/" rel="nofollow">http://forum.eltechsupport.com/operating-system/run-firstboot-on-linux/</a> but another reboot and the tool is still popping up.  Can you tell me how to disable it?  Also, might you cast an expert eye down the list of services running and tell me if there&#8217;s anything else I shouldn&#8217;t be running on a production webserver please?</p>
<p>&#8212; Update 3 &#8212;</p>
<p>Thanks.  That worked a treat.  Marking as answer:</p>
<pre class="prettyprint"><code>sudo chkconfig firstboot off
</code></pre>
<div class="author">Asked by <a href="http://serverfault.com/users/144027/user1444233" target="_blank">user1444233</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Can you show the output of <code>chkconfig</code>? How about your kickstart file? Is firstboot enabled?</p>
<p>Make sure you haven&#8217;t activated the <code>sys-unconfig</code> functionality. This places a file in <code>/.unconfigured</code> <a href="http://www.cyberciti.biz/faq/redhat-rhel-centos-fedora-linux-sys-unconfig-command/" rel="nofollow">which can start the setup tool</a> you&#8217;re referring to.</p>
<p>The name of the package that the utility belongs to is <code>setuptool</code>.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/13325/ewwhite" target="_blank">ewwhite</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/462668/stop-centos-6-3-loading-text-mode-setup-utility-at-restart" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/stop-centos-6-3-loading-text-mode-setup-utility-at-restart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 2.009 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-05-23 14:17:03 -->
