<?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>Oracle Database Tips blog &#187; listener</title>
	<atom:link href="http://oracle-database-tips.com/wp/tag/listener/feed" rel="self" type="application/rss+xml" />
	<link>http://oracle-database-tips.com/wp</link>
	<description>News for Oracle professionals</description>
	<lastBuildDate>Fri, 11 May 2012 12:12:40 +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>Get rid of large listener.log file while the listener is still running.</title>
		<link>http://oracle-database-tips.com/wp/oracle-scripts/get-rid-of-large-listenerlog-file-while-the-listener-is-still-running</link>
		<comments>http://oracle-database-tips.com/wp/oracle-scripts/get-rid-of-large-listenerlog-file-while-the-listener-is-still-running#comments</comments>
		<pubDate>Sun, 13 Sep 2009 08:10:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle Scripts]]></category>
		<category><![CDATA[listener]]></category>
		<category><![CDATA[listener log]]></category>
		<category><![CDATA[listener.log]]></category>
		<category><![CDATA[oracle environment]]></category>
		<category><![CDATA[parameter log]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[running log]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://oracle-database-tips.com/wp/?p=54</guid>
		<description><![CDATA[Your listener.log file can get quite large if you do not make it part of your housekeeping scripts, and renaming it while the listener is running is not a good idea.

Here is the method to follow to clean it up while your listener is still running.]]></description>
			<content:encoded><![CDATA[<p>Your listener.log file can get quite large if you do not make it part of your housekeeping scripts, and renaming it while the listener is running is not a good idea.</p>
<p>Here is the method to follow to clean it up while your listener is still running.</p>
<p>Log into your listener from the command prompt (make sure your Oracle environment is set to that of where the listener is started from, the commands below assume there is only one (default)  listener running ) :</p>
<p>$<span style="color: #ff9900;">lsnrctl </span></p>
<p>..</p>
<p>LSNRCTL&gt; <span style="color: #ff9900;"> set log_status off</span><br />
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))<br />
LISTENER parameter &#8220;log_status&#8221; set to OFF<br />
The command completed successfully</p>
<p><span style="color: #3366ff;">(Now go delete/rename $ORACLE_HOME/network/log/listener.log to something else in another OS session )</span><br />
LSNRCTL&gt; <span style="color: #ff9900;">set log_status on</span><br />
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))<br />
LISTENER parameter &#8220;log_status&#8221; set to ON<br />
The command completed successfully<br />
LSNRCTL&gt; <span style="color: #ff9900;">quit</span></p>
]]></content:encoded>
			<wfw:commentRss>http://oracle-database-tips.com/wp/oracle-scripts/get-rid-of-large-listenerlog-file-while-the-listener-is-still-running/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

