<?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 Servers cPanel webhosting blog &#187; cPanel servers logs</title>
	<atom:link href="http://www.theperfectarts.com/tag/cpanel-servers-logs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theperfectarts.com</link>
	<description>Basics cPanel tutorials / issue,mysql,php errors etc</description>
	<lastBuildDate>Wed, 08 Feb 2012 05:58:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to empty cPanel Server  logs in one stroke?</title>
		<link>http://www.theperfectarts.com/2009/09/how-to-empty-cpanel-server-logs-in-one-stroke/</link>
		<comments>http://www.theperfectarts.com/2009/09/how-to-empty-cpanel-server-logs-in-one-stroke/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 02:26:22 +0000</pubDate>
		<dc:creator>Gunjan</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Linux Administrator Interview Questions]]></category>
		<category><![CDATA[cPanel access logs]]></category>
		<category><![CDATA[cPanel error logs]]></category>
		<category><![CDATA[cPanel exim logs]]></category>
		<category><![CDATA[cPanel logs]]></category>
		<category><![CDATA[cPanel servers logs]]></category>
		<category><![CDATA[exim logs]]></category>

		<guid isPermaLink="false">http://www.theperfectarts.com/?p=230</guid>
		<description><![CDATA[Its very easy question really.You can empty cPanel servers logs by using following commands Login into server as root root@admin[#]vi logs echo &#62; /usr/local/apache/logs/error_log echo &#62; /usr/local/apache/logs/access_log echo &#62; /usr/local/apache/logs/access_log echo &#62; /usr/local/apache/logs/error_log echo &#62; /usr/local/cpanel/logs/access_log echo &#62; /usr/local/cpanel/logs/error_log echo &#62; /var/log/exim_mainlog echo &#62; /var/log/exim_rejectlog echo &#62; /var/log/maillog echo &#62; /var/log/messages echo &#62; /var/log/messages.1 echo [...]]]></description>
			<content:encoded><![CDATA[<p>Its very easy question really.You can empty cPanel servers logs by using following commands</p>
<p>Login into server as root</p>
<p><span style="color: #800000;">root@admin[#]vi logs</span></p>
<p><span style="color: #800000;">echo &gt; /usr/local/apache/logs/error_log<br />
echo &gt; /usr/local/apache/logs/access_log<br />
echo &gt; /usr/local/apache/logs/access_log<br />
echo &gt; /usr/local/apache/logs/error_log<br />
echo &gt; /usr/local/cpanel/logs/access_log<br />
echo &gt; /usr/local/cpanel/logs/error_log<br />
echo &gt; /var/log/exim_mainlog<br />
echo &gt; /var/log/exim_rejectlog<br />
echo &gt; /var/log/maillog<br />
echo &gt; /var/log/messages<br />
echo &gt; /var/log/messages.1<br />
echo &gt; /var/log/maillog.1</span></p>
<p><span style="color: #800000;">:wq!</span></p>
<p><span style="color: #800000;">root@admin[#]chmod 755 logs</span></p>
<p><span style="color: #800000;">root@admin[#]./logs</span></p>
<p>It will empty all logs present on your server.</p>
<p><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-1685490665026631"; /* images */ google_ad_slot = "1433358698"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script></p>
<p><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></p>
<p>&copy;2012 <a href="http://www.theperfectarts.com">Linux Servers cPanel webhosting blog</a>. All Rights Reserved.</p>.]]></content:encoded>
			<wfw:commentRss>http://www.theperfectarts.com/2009/09/how-to-empty-cpanel-server-logs-in-one-stroke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

