<?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>Linux-Girl.com &#187; Linux</title>
	<atom:link href="http://www.linux-girl.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linux-girl.com</link>
	<description>The web according to girl.</description>
	<lastBuildDate>Sun, 28 Mar 2010 15:44:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>cPanel and Apache &#8211; httpd failed to start</title>
		<link>http://www.linux-girl.com/linux/cpanel-and-apache-httpd-failed-to-start/</link>
		<comments>http://www.linux-girl.com/linux/cpanel-and-apache-httpd-failed-to-start/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 19:44:37 +0000</pubDate>
		<dc:creator>Asia</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.linux-girl.com/cpanel-and-apache-httpd-failed-to-start/</guid>
		<description><![CDATA[This morning I woke up to one of my servers not responding to SSL, immediately my thoughts went to expired certificates &#8211; I checked and found I had 2 months left on contract, I took the time to renew, just in case. I then went back to the WHM Manager and reconfigured Apache &#8211; even<a href="http://www.linux-girl.com/linux/cpanel-and-apache-httpd-failed-to-start/"><br/> read more..</a>]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.linux-girl.com/wp-content/uploads/apache_logo_medium.png' title='apache_logo_medium.png'><img src='http://www.linux-girl.com/wp-content/uploads/apache_logo_medium.thumbnail.png' alt='apache_logo_medium.png'  style="float: right; padding: 5px;"/></a>This morning I woke up to one of my servers not responding to SSL, immediately my thoughts went to expired certificates &#8211; I checked and found I had 2 months left on contract, I took the time to renew, just in case. I then went back to the WHM Manager and reconfigured Apache &#8211; even so far as reinstalling but still the message &#8220;httpd failed to start please contact your sysadmin&#8221; continued. </p>
<p>As most Linux Geeks, I attempted to read logs &#8211; but nothing to be found. There&#8217;s nothing worse than not having a problem physically eminent on logs. After hours of basic linux commands through various Apache and cPanel logs: grep, tail etc&#8230; I was unable to locate the root of this issue.  I manually started Apache from the command line and all went well &#8211; except there was still no SSL. ARGH!! </p>
<p>/usr/sbin/httpd configtest </p>
<p>Showed no errors, everything loaded fine. I went back to the WHM and reinstalled RPM packages &#8211; sat out the 20 minutes and still no SSL. httpd continued to fail on restart. </p>
<p>From here, it was evident that my httpd.conf was configured correctly &#8211; proof: Web Pages Loaded. SSL was the problem, and therefore I decided to shut down the ssl portion of Apache and try to debug from there. First I had to find the PID:</p>
<p>ps aux | grep httpd</p>
<p>What you are looking for here, is the PID for the SSL Apache Server. It&#8217;s easy to find this among all the other httpd lines. Simply look for the Ss. </p>
<p>kill -9 PID</p>
<p>I restarted this portion of the Apache Server</p>
<p>/usr/sbin/httpd sslstart</p>
<p>File Size Exceeds Limit&#8230;</p>
<p>Ah huh! Let&#8217;s find that offending file&#8230; </p>
<p>du -h /usr/local/apache/domlogs/*</p>
<p>This returned multiple files, at which 2 were way over 4 G. I issued the following commands for both files.</p>
<p>rm domainname.ssl_data_log</p>
<p>Restarted apache using the WHM: httpd restarted</p>
<p>So how do I avoid this in the future? I decided to alter my domain template by removing the ssl log file. This file is unnecessary in my opinion &#8211; never use it, and doubt I will require it any other time. </p>
<p>vim /usr/local/cpanel/etc/httptemplates/apache1/ssldefault</p>
<p>Found the line for ssl_data_log and removed it. </p>
<p>cd /usr/local/apache/domlogs<br />
rm *ssl_data_log</p>
<p>Restarted apache with peace of mind &#8211; of course, this is until WHM automatic update decides to rewrite my ssldefault file &#8211; but for now, I get to sleep comfortably. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-girl.com/linux/cpanel-and-apache-httpd-failed-to-start/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Powered by Debian Linux</title>
		<link>http://www.linux-girl.com/linux/powered-by-debian-linux/</link>
		<comments>http://www.linux-girl.com/linux/powered-by-debian-linux/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 14:56:15 +0000</pubDate>
		<dc:creator>Asia</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.linux-girl.com/powered-by-debian-linux/</guid>
		<description><![CDATA[During the lifetime of a self managed server, there comes a time when upgrading is a necessity. On the day Linux-Girl.com was purchased, she stood behind my desk in an old Pentium 2 computer running Debian Linux &#8220;Potato&#8221;. Since then she&#8217;s transferred through multiple datacenters and over the past 2 years she&#8217;s run Fedora and<a href="http://www.linux-girl.com/linux/powered-by-debian-linux/"><br/> read more..</a>]]></description>
			<content:encoded><![CDATA[<p>During the lifetime of a self managed server, there comes a time when upgrading is a necessity. On the day Linux-Girl.com was purchased, she stood behind my desk in an old Pentium 2 computer running Debian Linux &#8220;Potato&#8221;. Since then she&#8217;s transferred through multiple datacenters and over the past 2 years she&#8217;s run Fedora and RedHat. Now she&#8217;s back home on Debian and the server is running at full optimization. </p>
<p>The entire transfer took approximately 2 hours, moving client websites, email accounts, etc.. was a breeze with scp and other linux bash commands. No client website downtime, no reports of missing files and absolutely no complaints. </p>
<p>Linux-Girl.com is once again Powered by Debian, Welcome Home.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linux-girl.com/linux/powered-by-debian-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
