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

Similar Messages

  • 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

  • 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.

  • How to create the log file in remote system using log4j.

    Hi,
    How to create the log file in remote system using log4j. please give me a sample code or related links.The below example i used for create the log file in remote system but it return the below exception.Is there any authandication parameter for accessing the remote path? Please help.
    public class Logging
    Logger log=null;
    FileAppender fileapp=null;
    public Logging(String classname)
    try
    log = Logger.getLogger(classname);
    String path=" [\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt|file://\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt]";
    fileapp = new FileAppender(new PatternLayout("%r [%t] %-5p %c %x - %m%n"),path, true);
    log.addAppender(fileapp);
    log.info("Logger initilized");
    }catch(Exception ex)
    ex.printStackTrace();
    java.io.FileNotFoundException: \\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt (The network path was not found)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
    at org.apache.log4j.FileAppender.<init>(FileAppender.java:109)
    at annwyn.logger.BioCapLogger.<init>(Logging.java:23)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Please help.
    Thanks in advance.
    Saravanan.K

    Sorry path is missing for the above request.
    path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
    please help.
    Saravanan.K

  • Dates appear different in log file vs. debug page for Deferred Task

    I added a deferred task and in the log file, the date appeared correctly as
    Mon Dec 15 16:34:11 PST 2008
    But when I viewed the user in the debug page, the date appeared as
    <Date>2008-12-16T00:34:11.430Z</Date>
    I called an external java class that return a Date object
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='addDeferredTask'/>
    <Argument name='date'>
    <invoke name='addWeekDays' class='MyDateUtil'/>
    </Argument>
    </Action>
    Do you have any ideas?

    IDM commonly stores dates in a Java or JDBC date format (which is what your debug date is) but often formats the date differently for log files and for web pages. It's annoying if you're trying to line two different outputs up.

  • Could not open error log file ''. Operating system error = 5(failed to retrieve text for this error. Reason: 15105).

    Hello
    When I try to start the SQl server service i get the following error:
    Event id 17058
    Could not open error log file ''. Operating system error = 5(failed to retrieve text for this error. Reason: 15105).
    As a test I have made sure the errorlog file ,and the entire drive it is, has everyone full control permissions, but to no avail. Does anyone have any ideas to resolve this issue?
    Thank you

    Hi,
    Try running:
    SELECT SERVERPROPERTY('ErrorLogFileName')
    Then verify that the account being used to run the SQL Server service account has access to the path output above.  If possible, you could try logging onto the server with the same account used to run SQL Server then navigate to the errorlog folder.
    Thanks,
    Andrew Bainbridge
    SQL Server DBA
    Please click "Propose As Answer" if a post solves your problem, or "Vote As Helpful" if a post has been useful to you

  • Tnsname.ora and listener.ora files in RAC environment.

    Want to clear my concept regarding
    tnsname.ora and listener.ora files in RAC environment. Is there any good notes on Metalink for that?

    Check this metalink note, it covers specific RAC issues:
    Configuration of Load Balancing and Transparent Application Failover
    Note:226880.1
    Werner

  • 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 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.

  • 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

  • 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

  • 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.

  • 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.

  • 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

  • Questions on sqlnet.ora, listener.ora files in RAC environment.

    Experts,
    I've some confusion with below files in RAC environment.
    sqlnet.ora
    listener.ora
    These files are available in two locations: <GRID_HOME> & <DB_HOME>.
    My questions:
    1. Why do we have two versions of files ?
    2. When I query lsnrctl status from BOTH the homes, it says it is using listener.ora from <GRID_HOME> as shown below.
    Listener Parameter File D:\app\11.2.0\grid\network\admin\listener.ora
    3. What is the use of files which are in <DB_Home>
    4. If you make some changes to listener using "Netmgr" tool, we expect it will update listener.ora in <GRID_HOME>. Interestingly, it is changing the contents of listener.ora in <DB_HOME> .
    Can anyone please clarify it ?
    Thanks in advance.

    859875 wrote:
    1. Why do we have two versions of files ? In the past, the CRS s/w did not include ASM (ASM did not provide support for cluster voting and registration disks). Thus the networking components such as SQL*Net and the Listener were not part of the CRS installation.
    With Grid Infrastructure, ASM supports cluster voting and registration disks and is recommended to be used for that (as oppose to the old style of raw disks or using an external cluster-based cooked file system like <i>ocfs</i>). And with ASM comes the SQL*Net networking layer and s/w (such as the Listener). As ASM ships with Grid Infrastructure, it now also includes the same networking layer as what the RDBMS installation will. Thus both <GRID_HOME> and <DB_HOME> will contain the same networking components.
    However, only a single Listener is for example needed. And that can only run from a single base location. So for operational use, only one version will be actively in use.

Maybe you are looking for

  • What iPhoto version is compatible with Lion OSX 10.7.5 and will it let me make photo calendars?

    What iPhoto version is compatible with Lion OSX 10.7.5 and will it let me make photo calendars? I have just upgraded from Leopard to Lion (via Snow Leopard) because I could no longer order photo calendars with iphoto 7.1.5.  However, I still have iph

  • Regarding certification in oracle apps

    Hello, Please guide me the certification in oracle apps, which modules are available in oracle apps? and which previous certifications are required for oracle apps certi? Also tell me which apps modules are in demand ? Thanks in advance, Omkar

  • Exchange Server 2013 CU3 Update

    Hello All, I need to upgrade Exchange server 2013 CU1 to CU3. I need the details procedure. Please suggest regarding this issue. Thanks

  • Behaviors - 1 button = multiple image sequence...how?

    I have a portofolio I want to show on my site, I want one button to click through all the images. I've tried doing this in behaviors but it won't sequence. Everytime I click on the button only the first image shows up, it will not click through all m

  • CS6 Photoshop saving problem

    Hi, I have master CS6 on Mac Pro, and I have trouble saving the photo to JPG, as it seems there is no option as to save JPG, GIF or PNG - and even the save to web is greyed out. How can I fix this? I would like to save in these mentioned formats as a