<?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>Sys-Admin Information&#039;s &#187; Listener</title>
	<atom:link href="http://sysinfo.bascomp.org/tag/listener/feed/" rel="self" type="application/rss+xml" />
	<link>http://sysinfo.bascomp.org</link>
	<description></description>
	<lastBuildDate>Fri, 23 Apr 2010 09:43:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Backup Listener log</title>
		<link>http://sysinfo.bascomp.org/2008/03/backup-listener-log/</link>
		<comments>http://sysinfo.bascomp.org/2008/03/backup-listener-log/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 05:40:48 +0000</pubDate>
		<dc:creator>Hendrawan</dc:creator>
				<category><![CDATA[Backup & Recovery]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Listener]]></category>

		<guid isPermaLink="false">http://sysinfo.bascomp.org/2008/03/09/backup-listener-log/</guid>
		<description><![CDATA[In database production, the log of listener was grow rapidly, some times if you move the "listener.log" while the listener is up and running, listener will stop writing to log file after you move/delete the "listener.log", it won't create new log file.
The listener log status will be 'off', You need to start the "listener log" [...]]]></description>
			<content:encoded><![CDATA[<p>In database production, the log of listener was grow rapidly, some times if you move the "listener.log" while the listener is up and running, listener will stop writing to log file after you move/delete the "listener.log", it won't create new log file.<br />
The listener log status will be 'off', You need to start the "listener log" again manually. For this reason you must do this procedure.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> lsnrctl <span style="color: #c20cb9; font-weight: bold;">stat</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">LSNRCTL for Solaris: Version 9.2.0.6.0 - Production on 09-MAR-2008 12:43:22
&nbsp;
Copyright (c) 1991, 2002, Oracle Corporation.  All rights reserved.
&nbsp;
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Solaris: Version 9.2.0.6.0 - Production
Start Date                11-SEP-2007 03:34:17
Uptime                    180 days 9 hr. 9 min. 4 sec
Trace Level               off
Security                  OFF
SNMP                      OFF
Listener Parameter File   /oracle/app/product/9.2.0/network/admin/listener.ora
Listener Log File         /oracle/app/product/9.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=HOSTNAME)(PORT=1521)))
Services Summary...
Service &quot;PLSExtProc&quot; has 1 instance(s).
Instance &quot;PLSExtProc&quot;, status UNKNOWN, has 1 handler(s) for this service...
Service &quot;DB_SID.domain.com&quot; has 2 instance(s).
Instance &quot;DB_SID&quot;, status UNKNOWN, has 1 handler(s) for this service...
Instance &quot;DB_SID&quot;, status READY, has 1 handler(s) for this service...
The command completed successfully</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> lsnrctl</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">LSNRCTL<span style="color: #66cc66;">&gt;</span> <span style="color: #993333; font-weight: bold;">SET</span> log_status off
Connecting <span style="color: #993333; font-weight: bold;">TO</span> <span style="color: #66cc66;">&#40;</span>DESCRIPTION<span style="color: #66cc66;">=</span><span style="color: #66cc66;">&#40;</span>ADDRESS<span style="color: #66cc66;">=</span><span style="color: #66cc66;">&#40;</span>PROTOCOL<span style="color: #66cc66;">=</span>IPC<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">KEY</span><span style="color: #66cc66;">=</span>EXTPROC<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
LISTENER parameter <span style="color: #ff0000;">&quot;log_status&quot;</span> <span style="color: #993333; font-weight: bold;">SET</span> <span style="color: #993333; font-weight: bold;">TO</span> OFF
The command completed successfully</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">bash</span><span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>oracle<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>product<span style="color: #000000; font-weight: bold;">/</span>9.2.0<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>listener.log <span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>listener.log_9-March-<span style="color: #000000;">2008</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">LSNRCTL<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">set</span> log_status on
Connecting to <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">DESCRIPTION</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">ADDRESS</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">PROTOCOL</span>=IPC<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #007800;">KEY</span>=EXTPROC<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
LISTENER parameter <span style="color: #ff0000;">&quot;log_status&quot;</span> <span style="color: #000000; font-weight: bold;">set</span> to ON
The <span style="color: #7a0874; font-weight: bold;">command</span> completed successfully</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sysinfo.bascomp.org/2008/03/backup-listener-log/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
