Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Listener.log not been updated

RE: Listener.log not been updated

From: Mercadante, Thomas F (LABOR) <>
Date: Wed, 26 Sep 2007 11:14:08 -0400
Message-ID: <ABB9D76E187C5146AB5683F5A07336FFE08FE0@EXCNYSM0A1AJ.nysemail.nyenet>

Let me say it again:  

If you have a need to audit database connections, then all of Oracle's auditing capabilities are fine - even the default ones that are turned on for you.  

If you do not need auditing capabilities, then all of these default ones are just a nuisance - something else that a DBA needs to manage so that the files do not consume all available disk.

The original poster is a prime example of this. He ignored the listener.log file until it grew to 4 Gig in size. It is something he needs to manage so that the file becomes useful. A 4 Gig log file is of no use to anyone. Try opening it up in notepad and see what happens.  

And while he is deciding whether and why he should do that, I suggested that he could turn logging off if he did not have a need to audit listener connections.  


[] On Behalf Of Ian MacGregor
Sent: Wednesday, September 26, 2007 11:02 AM To:; oracle-l
Subject: Re: Listener.log not been updated  

When it comes down to it, nearly all auditing is useless until there's a problem . Do you ever look at the $ORACLE_HOME/rdbms/audit files? Have you turned the auditing of sys operation on and perhaps changed audit_file_dest to point somewhere else.

If an intrusion occurs, I hate to explain that I had turned off something which might of helped us detect that intrusion or provide an audit trail of it.

On 9/26/07 6:25 AM, "Paul Drake" <> wrote:

On 9/26/07, Mercadante, Thomas F (LABOR) <> wrote:


I agree with John except for one thing. I leave listener_log status in the off position. Unless I need to debug something (or some folks have a need for auditing connections), this is a useless file, and it's just one more thing that needs to be managed.

Oracle has a bad habit of creating audit log files and growing them all over the server with no option of turning them off. You don't know about them until the disk is full and you go searching for them. Whenever I have the option of turning one off, I usually do.

Hope this helps.


From: [mailto: <> ] On Behalf Of John Hallas
Sent: Wednesday, September 26, 2007 3:52 AM To:; Subject: RE: Listener.log not been updated

It must be an internal 4Gb limit within Oracle if you can create a larger file on the same server.

TBH having a 4Gb is poor management anyway. Why not create a new one every week or so. It will be a lot easier to manage and if you do need to view it I think a 4Gb will be almost unreadable.

From: [mailto: <> ] On Behalf Of Steeve Bisson
Sent: 26 September 2007 02:20
Subject: Listener.log not been updated

I am on Linux x86 OEL4 using Oracle <> <> .

My listener.log is not been updated since the 30 May.

cd /opt/oracle/app/oracle/product/10.2.0/db_1/network/log
[oracle_at_juk-prod log]$ ll

total 4203424
-rw-r--r-- 1 oracle oinstall 4294967428 May 30 21:49 listener.log

If I do status in lsnrctl:
Listener Parameter File
/opt/oracle/app/oracle/product/10.2.0/db_1/network/admin/listener.ora Listener Log File

Everything else seems fine. I connect to the database with no problem. Any idea why the listener would stop writing log?

To solve the problem, I did the following in lsnrctl: SET LOG_FILE list.log

Now I get information in list.log
[oracle_at_juk-prod log]$ ll

total 4222736
-rw-r--r-- 1 oracle oinstall 4294967428 May 30 21:49 listener.log -rw-r--r-- 1 oracle oinstall 511462 Sep 16 19:41 list.log

Any idea why it would stop logging info once the log was at 4gig? I have 32GIG datafile on that machine.
Is there a thresholds where oracle stop to log, so it is possible to vi the log?
Anyone has documentation on this? Or a link on that subject?

Either a full log or turning the listener logging off will leave one completely blind to a remote dictionary-based attack (guessing passwords).

As far as maximum file size, the block size has something to do with that.
You mentioned that you have a 32 GB datafile. Perhaps the db_block_size=8192 bytes?
I'm guessing that the block size for the filesystem on which the file listener.log resides is 1024 bytes.

Sorry, I'm not supposed to guess.
Would you mind supplying the database db_block_size and the filesystem block size for the file listener.log (under /opt/oracle/app)?



Received on Wed Sep 26 2007 - 10:14:08 CDT

Original text of this message