<?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>EZ Linux Admin &#187; free /usr space</title>
	<atom:link href="http://www.ezlinuxadmin.com/tag/free-usr-space/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ezlinuxadmin.com</link>
	<description>Making Linux Easier</description>
	<lastBuildDate>Sun, 05 Sep 2010 01:22:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Free /usr partition space by a symlink to domlogs</title>
		<link>http://www.ezlinuxadmin.com/2010/02/free-usr-partition-space-symlink-domlogs/</link>
		<comments>http://www.ezlinuxadmin.com/2010/02/free-usr-partition-space-symlink-domlogs/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 00:04:15 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[domlog]]></category>
		<category><![CDATA[free /usr space]]></category>
		<category><![CDATA[symlink]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=422</guid>
		<description><![CDATA[First move the domlogs folder to the backup partition: mv /usr/local/apache/domlogs /backup Then create a symbolic link to it: ln -s /backup/domlogs /usr/local/apache/domlogs]]></description>
			<content:encoded><![CDATA[<p>First move the domlogs folder to the backup partition:</p>
<blockquote><p>mv /usr/local/apache/domlogs /backup</p></blockquote>
<p>Then create a symbolic link to it:</p>
<blockquote><p>ln -s /backup/domlogs /usr/local/apache/domlogs</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/02/free-usr-partition-space-symlink-domlogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to reduce or free space in /usr partition</title>
		<link>http://www.ezlinuxadmin.com/2010/01/reduce-free-space-usr-partition/</link>
		<comments>http://www.ezlinuxadmin.com/2010/01/reduce-free-space-usr-partition/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 19:39:02 +0000</pubDate>
		<dc:creator>EZ linux</dc:creator>
				<category><![CDATA[Cheat Sheets]]></category>
		<category><![CDATA[Linux Tricks]]></category>
		<category><![CDATA[free /usr space]]></category>
		<category><![CDATA[reduce /usr space]]></category>
		<category><![CDATA[remove /usr files]]></category>

		<guid isPermaLink="false">http://www.ezlinuxadmin.com/?p=368</guid>
		<description><![CDATA[1. Restart the httpd service. This might free a little space some times. 2. Check for apache logs like error_log, access_log , suexec_log in /usr/local/apache/logs . These can either be cleared off or if you need the logs then you can take a zipped copy and keep it aside. 3. Same can be done for [...]]]></description>
			<content:encoded><![CDATA[<p>1. Restart the httpd service. This might free a little space some times.</p>
<p>2. Check for apache logs like error_log, access_log , suexec_log in /usr/local/apache/logs . These can either be cleared off or if you need the logs then you can take a zipped copy and keep it aside.</p>
<p>3. Same can be done for the files in cPanel logs (/usr/local/cpanel/logs) as well .</p>
<p>4. Domlogs – Get into the /usr/local/apache/domlogs/ directory. Run the following command :-</p>
<p># ls -al -SR | head -10 —&gt; It will list 10 files in the decreasing order according to their size</p>
<p>If the domlog file is too large for a domain then it is possible that awstats is not running . Check whether cpanellogd is running on the server using pstree . If not, restart it .<br />
Else, it is possible that awstats for only that particular domain is not updating. Get into the directory /usr/local/cpanel/base and check if any file as ‘awstats.domainname.com.conf’ exists. If yes , delete that file.</p>
<p>Now, run /scripts/runweblogs for that user. It will update the awstats and automatically clear the domlogs file thereafter. Do not delete the domlogs file itself.</p>
<p>5. Remove old and unwanted backups of ‘apache’ that might have been taken long ago. Also, check for any other duplicate folders that can be removed safely.</p>
<p>6. Remove core files, if any . Normally, some core files (like core.1234) might be present in /usr/local/cpanel/whostmgr/docroot . Check for these and remove them.</p>
<p>7. Restart your server, the quota might be off for that partition and reboot will correct it. Keep in mind if there is a harddrive error this can leave the server offline while the system or admin tuns a FSDK.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ezlinuxadmin.com/2010/01/reduce-free-space-usr-partition/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
