Does listener log file need to be purged in Oracle 11g DB

We have the Oracle 11g database setup. I have a query as to if it is required to purge the listener log file in Oracle 11g database. I believe that the size of the listener log file is infinite and we need to manually purge the listener log file or is there an automatic log rotation of the listener log file?
I hope my query is clear that if it is required to manually purge the listener log file or is there an automatic log rotation for this file.
Please revert with the reply to my query.
Regards

972145 wrote:
Thanks for your answer but does it mean that there is no automatic log rotation for the listener log file in Oracle 11g database?
Regardshttp://uhesse.com/2011/06/01/adrci-a-survival-guide-for-the-dba/
set the listener home inside adrci and do
purge -age 2880 -type tracepurges all tracefiles older than 2 days I did not tried this but above link used same for alertlog trace file.

Similar Messages

  • Do trace files need to be purged in Oracle 11g DB

    We have the Oracle 11g database setup. I have a query as to if it is required to purge the trace files found in adump, Bdump & Cdump administration file subdirectories or there is automatic log rotation of the trace files?
    I hope my query is clear that if it is required to manually purge the trace files or is there an automatic log rotation for the trace files.
    Please revert with the reply to my query.
    Regards

    starting with 11g and ADRCI there are two Parameters which controls the purging of old log and / or trace files:
    SHORTP_POLICY (default 720 hours) and LONGP_POLICY (default 8720 hours). As with the Default most traces and logs stay an entire year it might be worth changing those values like follows:
    adrci> set control (SHORTP_POLICY = 168)
    adrci> set control (LONGP_POLICY = 720)
    you can verify the current values with
    adrci> show control
    Unfortunately those parameters are only valid for components managed with ADR (Automatic Diagnostic Repository). So adump or any log locations under $ORACLE_HOME are still not managed automatically.

  • Listener log file questions

    I have few queries regarding listener.log file.
    1) What is the use of listener.log file?
    2) Does listener.log file need to be purged?
    3) When is this Listener.log will be created?

    1009230 wrote:
    I have few queries regarding listener.log file.
    1) What is the use of listener.log file?
    take a look at what is IN the log file. Imagine how having access to that information might be useful. The use of the listener log is the same as any othe process log. 99% of the time you have no reason to even look at it. But that other 1%, it is invaluable.
    2) Does listener.log file need to be purged?
    Only if you need the disk space.
    3) When is this Listener.log will be created?Whenever the listener starts and finds it has not already been created.

  • Need to Create a New Listener Log file 9i

    Hi, I have a issue with a oracle 9i database.
    First the listener.log file is 1.2G not good on a 25G server..
    How do you create and delete the listener file? Windows 2000 OS...
    Second I also have an issue with the archive log files... I have about 150 file 102M each...Again Not good...
    Need HELP drowning in a sea of oracle... Given the Shrink command....
    At least the Listener issue first then the archive log problem..
    Thank you...

    carlo_sc wrote:
    yes, we normally do a full daily backup and the archive logs are then deleted..But the Job didn't finish
    last night. Also we had big Network issue yesterday and I believe that caused the issue with this server
    causing an excessive amount of log files to be created...
    So with simply thing with lister is just too:
    1) stop listener service
    2) delete Log file.... (that won't mess anything up on restart ) I'm very skittish about manually deleting stuff from oracle..
    Got burned in Sept of last year big timeIt's just a log file. It's for your own use if needed. oracle doesn't use it or require it. You even have an option in the listener to not even write to it in the first place.
    3) restart listener service
    The archive logs : What if I move some of the files to another location then perform the a full daily backup will the that
    solve my archive log issues....
    Thanks for all the quick responses
    Edited by: carlo_sc on Jan 15, 2010 10:09 AMYou say you already have a backup job that gets the archivelogs and deletes them after backup? And the only real problem here is that it failed? Fix the failure and run it again. You can, in a pinch, manually move the archivelogs, but then YOU are responsible for keeping up with them.
    Edited by: EdStevens on Jan 15, 2010 9:32 AM

  • Different listener log file  in RAC system

    we have 4 nodes 11.1.0.7 RAC at redhat 5.1 linux system.
    I just find there are two listener log file (listener.log; listener_nodename.log ) in each node.
    I want to know which difference function is in both listener.log and listener_nodename.log?
    When or which condition does node run( record data) in listener.log?
    When or which condition does node run( record data) in listener_nodename.log
    I saw the 3 node3 listener_nodename.log is wroking on and one node listener.log is workig on.
    why?
    Does some experts explain this point for me?
    Thanks

    I make some clears for this requirements.
    we have a schedule backup and stores in ASM diskgroup in SAN.
    As system admin and policy of SAN disaster recovery, we need to generate backup in a local file system.
    in this case, we only backup database plus archival files in external file system. but I still saw snapshot control file is still put into default linux location.
    I am not able to see this snapshot in external file system.
    For SAN disaster recovery, do we need to save a control file snapshot in external file?
    Can I apply BACKUP CURRENT CONTROLFILE TO DESTINATION "external file path" for SAN disaster recovery?
    Thanks in advance!
    Jin

  • I deleted listener.log file !!!!

    HELP !
    I was reading a book , and tried something stupid which is deleting the listener.log file because it was huge!
    and now I'm getting the following error message:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/oracle/oradata/work/redo102.log'
    I don't have a copy of the file , I just typed :
    rm '/oracle/oradata/work/redo102.log'
    and it's gone , and now I'm in trouble !
    it's 2:00 AM here , please help me out !

    Bomayed,
    I'm afraid, you are not very clear in what do you want to achieve. Open the db after loss a redolog file, or import ?
    appearantly I have deleted a redo log fie That's why I never use .log as extension name for a redolog file... this is not a log as alert.log or listener.log...
    Anyway, you don't need to restore whole database.
    SQL> select * from v$logfile;
        GROUP# STATUS  TYPE
    MEMBER
             3         ONLINE
    /data/ora/H89UCBAC/u03/redo/log03.dbf
             2         ONLINE
    /data/ora/H89UCBAC/u02/redo/log02.dbf
             1         ONLINE
    /data/ora/H89UCBAC/u01/redo/log01.dbf
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> !ls /data/ora/H89UCBAC/u0?/redo
    /data/ora/H89UCBAC/u01/redo:
    log01.dbf
    /data/ora/H89UCBAC/u02/redo:
    log02.dbf
    /data/ora/H89UCBAC/u03/redo:
    log03.dbf
    SQL> !mv /data/ora/H89UCBAC/u03/redo/log03.dbf /data/ora/H89UCBAC/u03/redo/_log03.dbf
    SQL> !rm /data/ora/H89UCBAC/u03/redo/log03.dbf
    rm: /data/ora/H89UCBAC/u03/redo/log03.dbf: A file or directory in the path name does not exist.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  562005496 bytes
    Fixed Size                   742904 bytes
    Variable Size             402653184 bytes
    Database Buffers          157286400 bytes
    Redo Buffers                1323008 bytes
    Database mounted.
    ORA-00313: open failed for members of log group 3 of thread 1
    ORA-00312: online log 3 thread 1: '/data/ora/H89UCBAC/u03/redo/log03.dbf'
    SQL> recover database until cancel;
    Media recovery complete.
    SQL> alter database open resetlogs;
    Database altered.
    SQL> !ls /data/ora/H89UCBAC/u0?/redo
    /data/ora/H89UCBAC/u01/redo:
    log01.dbf
    /data/ora/H89UCBAC/u02/redo:
    log02.dbf
    /data/ora/H89UCBAC/u03/redo:
    _log03.dbf  log03.dbf
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area  562005496 bytes
    Fixed Size                   742904 bytes
    Variable Size             402653184 bytes
    Database Buffers          157286400 bytes
    Redo Buffers                1323008 bytes
    Database mounted.
    Database opened.
    SQL> Nicolas.

  • Regarding listener.log file

    Hi,
    The listener.log file is showing the following code snippet.But when I put this code to my source file (Automation Plugin), it is giving error as 'FullPathToAlias' unrecognised symbol.
    // Move this to the top of the routine!
    Handle aliasValue = NULL;
    FullPathToAlias("C:\Test.jpg", aliasValue);
    Do I have to include any header file? Does any one have any idea? I am just wanting to dispaly an image preview on dialog box(Automation plugin).
    Please give any idea how can I get the image referrence for the first time from the Hard Disk?
    Can anyone help me out.....................?
    Thanks and Regards

    Mmh, so you're trying to do something like a file-preview?
    I don't know if this is possible, mainly because at the moment
    I can see no way getting any image data before you've loaded
    the image in photosphop (with just using the sdk and not any
    mac/win api)
    If you're developing only for windows targets, you might want to
    try to develop a mfc type plugin like the "mfcplugin" from the filter-
    plugin examples. It does give a preview of the result of an filter
    applied to an image, so I'd guess you can change this with the help of the win-api to preview some picture file. For MFC there are also some
    nice solutions on codeproject you could easily integrate in your plugin:
    a thumbnail control:
    http://www.codeproject.com/miscctrl/thumbnailctrl.asp
    and a picture control:
    http://www.codeproject.com/cs/miscctrl/ScalablePictureBox.asp
    Otherwise the "dissolve"-plugin from the filters example is for mac and win os's and offers also a preview (of a filter application), maybe this will give you some more insight.

  • Listener.log file message

    Hi Gurus
    I am using oracle 10g 10.2.0.1 database.
    In my listener log file frequently getting message '* service_update * ' .
    Is it indicating any error ?
    Please update me.
    Regards
    Rabi

    Hi;
    PMON is responsible for updating the listener with information about a particular instance such as load and dispatcher information. Maximum load for dedicated connections is determined by the PROCESSES parameter. The frequency at which PMON provides SERVICE_UPDATE information varies according to the workload of the instance.
    The maximum interval between these service updates is 10 minutes.
    The listener counts the number of connections it has established to the instance but does not immediately get information about connections that have terminated.
    Only when PMON updates the listener via SERVICE_UPDATE is the listener informed of current load. Since this can take as long as 10 minutes, there can be a difference between the current instance load according to the listener and the actual instance load.
    Source:
    DBconsole Initialization Fails Due To Error ORA-12516 [ID 458308.1]
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • Connection string in listener log file for loading balance/failover

    Hi Experts,
    I have 4 node RAC for oracle 10g2 in rad hate 5.0
    We creaed service dbsale ( sale1,2 as pr imary and sale3/4 as available) with loading balance/failover.
    The remote user created a local TNS as
    localmarket =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 155.206.xxx.xx)(PORT = 1521))
    (LOAD_BALANCE = OFF)
    (CONNECT_DATA = (SERVICE_NAME = dbsale))
    From server side, I saw that user send two request connection string. one fail and another is OK.
    It seems that fail connecting come from failover/loading balance from dbsale3?
    Why do we get two connection string in listener log file?
    Which difference is between two connection string?
    Where does system change these connection string?
    Thanks for your explaining.
    Jim
    ==============listener.log message
    [oracle@sale log]$ cat listener_sale.log|grep pmason
    15-SEP-2009 13:52:24 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54326)) * establish * dbsale * 0
    15-SEP-2009 13:52:25 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))(SERVER=dedicated)(INSTANCE_NAME=sale3)) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54327)) * establish * dbsale * 12520
    15-SEP-2009 13:52:30 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54329)) * establish * dbsale* 0
    15-SEP-2009 13:52:47 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54332)) * establish * dbsale * 0
    15-SEP-2009 13:52:47 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))(SERVER=dedicated)(INSTANCE_NAME=sale3)) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54333)) * establish dbsale 12520
    15-SEP-2009 13:52:49 * (CONNECT_DATA=(SERVICE_NAME=dbsale)(CID=(PROGRAM=oracle)(HOST=rock)(USER=test ))) * (ADDRESS=(PROTOCOL=tcp)(HOST=161.55.xxx.xx)(PORT=54334)) * establish * dbsale * 0
    Edited by: user589812 on Sep 16, 2009 7:21 AM

    Hi Jim,
    I think the best way on this case is create one service with one instance as primary and another 3 as available.
    Or use the connect string with two vip addresses, cause the service has two instances and the tnsnames.ora entry has only one.
    Cheers,
    Rodrigo Mufalani
    http://mufalani.blogspot.com

  • Listener log file trimming

    Hi all,
    I have a production database on HP-UX server. and in my /oracle directory, i have the listener.log and sqlnet.log files.
    as the size of the the oracle directory increased, i have trimmed the listener.log and sqlnet.log files. those are trimmed but,
    the percent used in the oracle drive has increased instead of decrease.
    i used this command to trim
    listener.log
    sqlnet.logtotal used free
    /dev/vgdb/lvol1 76808192 19619397 53615115 27% /oracle -- before trimming
    /dev/vgdb/lvol1 76808192 22306731 51095739 30% /oracle -- after trimming
    pls. advice me in this regard.

    hi,
    thanks for the reply.
    i trim the listener.log file, after trimming it is writing in the file. but, my used space in mount point is increased. what would be the possible reason for increase ?? . I checked the other files, but i didnot see any increase in size.
    pls. suggest me in this regard.
    thanks and regards.

  • Adobe 9.5 deletes log files - need to turn off creation of log files

    We have a bunch of files from SAS outputs that include a .sas, .rtf, .log extensions.
    When we try to convert a batch of the .rtf files to PDF by right clicking on them, the .log files are deleted. The originals are not Adobe .log files, but required files from the SAS output.
    I have unchecked "Delete Log Files for Successful jobs" in both Distiller and the Adobe printer preferences.
    It only deletes the .log with the same name as file types associated with Word. If I create .txt or xls files and .log files with the same name (i.e. test.txt and test.log) it does not delete the .log file, but it is overwritten by the Adobe log.
    This happens whether the file is local or on a mapped network drive.
    If I save to a different location, the .log is not deleted or overwritten, but that is really just a workaround. It's doable if it's the only option.
    They can also copy only the .rtf files to another folder and copy the .pdf files back after, but this is alot of extra work for high volumes
    This is an ongoing need involving lots of files, so moving or renaming is not an option, even with batch programs.
    What I really need to do is stop Adobe from creating AND deleting log files or force it to create the .log files in a different location than the original. Unless the problem is Word, but I cannot find any information on this problem.
    Thanks
    Mike

    Hi Shay,
    You are right, it would make perfect sense, however as you can see from the below forum, I was not able to solve this compilation issue..
    Oracle 10g Email Portlet - HELP PLEASE!!!
    (First post is the issue).
    If you have any ideas on how I could solve it, it would be great.
    Thanks
    Sam

  • Listener log file

    My database version is 11g Release 11.1.0.6.0.
    I need my listener to write to a specific log file, I've tried different things including setting the following parameters in listener.ora and restrarting the listener:
    LOG_DIRECTORY_LISTENER = /mydesireddirectory
    LOG_FILE_LISTENER =/mydesireddirectory/listener.log
    In spite of whatever I do, it puts the log file in :
    /ORACLE_HOME/log/diag/tnslsnr/hostname/listener/alert/log.xml
    can anyone tell me how to get round this please, I don't want an xml listener log and I don't want it in that directory.
    thank you.

    Hi,
    In Oracle 11g you have
    automatic diagnostic repository
    The automatic diagnostic repository (ADR) is a systemwide tracing and logging central repository. The repository is a file-based hierarchical datastore for depositing diagnostic information, including network tracing and logging information
    DIAG_ADR_ENABLED_listener_name
    The DIAG_ADR_ENABLED_listener_name parameter indicates whether ADR tracing is enabled. By default it is on. So Listener would be writing to the diag folder only.
    Since LOG_DIRECTORY_listener_name and LOG_FILE_listener_name is a non-ADR parameter. They both would be ignored if above parameter is set to on. To disable ADR, use
    DIAG_ADR_ENABLED_listener_name=off and then only non-ADR parameter would be in effect.
    Regards
    Anurag

  • LMS3.0.1 Log files' size are not purged.

    There is a LMS 3.0.1.
    Every day size of all log files only are increased.
    I have a 12G particion for log files but it's full every 2 weeks.
    In this case I have to stop LMS, delete all log files and start LMS manually every two weeks.
    Also, there is following message:
    CiscoWorks Folder Utilization is 8%Processes DFMCTMStartup, DataPurge are down.
    I tried to start these services several times but it failed all time.
    Hot to make LMS to prevent of increasing of log files over Recommended Size Limit?

    These two processes should be done in normal operation.  Do not try and start them manually.
    To rotate log files periodically, you will need to configure logrot.  Search the Common Services online help for "logrot", and you will get the instructions for configuring it.  Essentially, you will need to run NMSROOT/bin/perl NMSROOT/bin/logrot.pl -c, then walk through the menu prompts to configure the files you want to rotate.

  • B2B logs files needed

    Hi,
    We have configured oracle B2B to receive EDI transactions from trading partner. However trading partner is some times not able to post the EDI transaction. They are getting following error message.
    "HTTP Error Response(500 Internal Server Error"
    I would like to know which log files to check in B2B to find the root cause of the error. Any leads would be appreciated.
    thanks

    Hello,
    You can check the b2b.log file under $ORACLE_HOME/ip/log/b2b directory. You can also the HTTP Server (Apache) and opmn logs to see why you're getting an internal server error. The opmn logs are located under $ORACLE_HOME/opmn/logs directory. You can look at the B2B-B2BServer... file or the OC4J-home-default_island~1 file. Go to your $ORACLE_HOME/Apache/Apache/logs directory and look at the access_log.<xxx> and error_log.<xxx> to see if there is an http server issue.
    Hope this helps.
    Thanks,
    Ahmad

  • Where does NWAS log file resides

    Hello friends,
    Can anybody tell the location of NetWeaver log file, that contains runtime exception and other information regarding execution of J2EE project.
    I am using SAP NAWAS 7.10
    Thank you

    Hi,
    the default trace files present in the cluster folder are very useful.
    c:\usr\sap\sid\JC<XX>\j2ee\cluster
    inside this you have dispatcher and server nodes. under each such folder you have the log files. These log files contain the trace files. dispatcher\log will contain how he dispatcher is going to look for the server nodes.
    server\log will contain the real time problem.
    reward suitable points

Maybe you are looking for

  • Issue on display

    Hi guys, I'd like to ask you if it's normal this issue along the bottom of my MacBook's Pro high resolution Led display. The official Apple service provider told me that there isn't any problem at all but I'd like to know what you think about. MacBoo

  • Synchronizing on Process Instance Object

    Hi, We have a process web service, which is used to create, notify and update BPM process instances. This process web service is accessed from Java code. The java code uses a re-try mechanism to talk to the process web service. We want this to be cha

  • Flash player and IE6 problem

    I have a problem that occurs with IE6 when a user clicks on a button within a flash player (Flash player file being generated by Captivate 1.0). The user is asked to click on some button on the .swf file begin displayed in the player. Should only be

  • Ipad camera connect kit not working

    When I attach my iPod camea connect kit (the Appel one, not 3rd party) to my iPad 3, I get the message that the accessory is not supported.  What gives?  I pop in an SD card and it doesn't read anything.  All I get is the not supported message a few

  • Connection with SQL server 2000

    Hello.I could sure use help here :) I have JBuilder 9 and jdk1.4(OS Windows XP).I have downloaded from Microsoft the driver for Sql server and installed it.I fixed the classpath too.But when I try to connect I cant get it work. I have the next source