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

Similar Messages

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

  • Mailaccess.log file - How do I control size/create new mailaccess.log file

    I am running an IMAP/SMTP server on a G5 Xserve. My mailaccess.log file is getting rather large. When I mv then touch to create a new mailaccess.log file the old file that was mv'd continues to get updated while the new mailaccess.log file remaile at 0 with not entries.
    How to refresh my log file?
    thanks
    Jeff

    Hi,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/ee4f58ff1bce41b4dc6d2612fae211/frameset.htm
    and More here..
    Problem with system.log
    Regards,
    N.

  • How do I move all my files from one User Profile (account) into another? I needed to create a new account and want all of my files accessible in the new one.

    How do I move all my files from one User Profile (account) into another?
    I needed to create a new account and want all of my files accessible in the new one.

    ok, what you're learning right now is 101 unix, which is good. Unix is a good thing
    now: the way unix works, and macos (which uses unix underneath) the files and folders work like a hierarchy.
    the start of that tree is /
    so, if you were to do:
    cd /
    (cd means change directory)
    it will bring you at the highest branch of the file system.
    cd /Users
    will bring you to where all the users are.
    to see whats in /Users you can use your friend ls command
    ls means list files/directories
    so:
    cd /Users
    ls -la
    (the -la here means show all (even hidden) and long format (very verbose))  this flag is very optional.
    you will see
    fred
    user2
    for example.
    if you want to see the desktop of user2 you would change directory to it then list the files.
    for example:
    cd /Users/user2/Desktop
    Note that the files and directory are case sensitive, so, desktop is NOT the same as Desktop, or DESKTOP
    ls -la
    you should then be able to see everything in users2 desktop
    you could have done as well the same thing in smaller steps, for example:
    cd /
    cd Users
    cd user2
    cd Desktop
    this is the equivalent of cd /Users/user2/Desktop
    So, for your file, i don't know where it was, but know that if you log in as user2, it will directly put you in
    /Users/user2
    which most likely the file you had created from the other user was in /Users/user1
    if you copied all the files from /Users/original_user to /Users/secondUser
    most likely yes, all your mail, bookmarks etc would be copied over.
    so in your case.
    sudo chown -R seconduser:staff /Users/secondUser
    should work
    Remember that if you start a path with the character /  it means start from the root of the file system, at the highest top you can ever get.
    so
    cd /Users/fred
    is not the same as
    cd Users/fred
    unless you were in / already
    i know it may be confusing at first but it's actually very logical if you play with it.
    to simplify, think of it that / means C:\  on windows
    you can't go any higher than C:\  (in a way)
    if you're unsure which directory you're currently in, you can always type:
    pwd
    it will tell you where you are.
    for example:
    cd /
    pwd
    this shows  /
    cd Users
    pwd
    this now shows /Users
    cd /System/Library
    pwd will show /System/Library
    cd /
    cd /Users
    cd fred
    cd Library
    pwd will show /Users/fred/Library
    unix can look very scary but it's actually vital and very necessary to do tasks sometimes that would take for ever to do via the windows. This is good learning.
    so for the myfile you had created, i can't tell you where it is, at the time you created, if you can do a pwd command you'll know the path,
    ls -la  (this shows all the files where you are)
    if you see myfile in the list
    do a pwd
    whatever is return, the real location of the file would be:
    whatever pwd returned / myfile
    I hope that makes sense.

  • Please help me creating a new listener with different port#.

    I have two instances in a server. both have different homes. I want to create a seperate listener for the second one i created.
    But that is not happening.
    here i tried to give name from LISTENER TO LISTENER1 & Port# from 1521 to 1524.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /apps2/oracle)
    (PROGRAM = extproc)
    LISTENER1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = aixth53)(PORT = 1524))
    When I check lsnrctl status with LISTENER1 , it still shows the other instance home with port#: 1521
    Please help me creating a new listener with different port#.
    Thanks,

    marist89 wrote:
    sb92075 wrote:
    marist89 wrote:
    sybrand_b wrote:
    The listener is a broker only and doesn't play any role in normal communications.
    It just forks a process or a thread, and that's it.And the listener is a single point of failure. Listener goes down, you can't connect to the db. That's why you need two listeners.If listener one goes down, then listener two goes down for exact same reason since it is a single executable file.I'm not playing tit-for-tat with you. Fact is, there are situations where people who are not you might want to use more than one listener.Some folks might want to jab a sharp pencil into their eye, too.
    Just because you can do something, it does not necessarily mean it should be done.

  • How to create and manage the log file

    Hi,
    I want to trace and debug the program process.
    I write the code for creating log file and debugging the process.
    But i am not able get the result.
    please help me how to create and manage the log file.
    Here i post sample program
    package Src;
    import java.io.*;
    import org.apache.log4j.*;
    import java.util.logging.FileHandler;
    public class Mylog
         private static final Logger log = Logger.getLogger("Mylog.class");
         public static void main(String[] args) throws Exception {
         try {
           // Create an appending file handler
            boolean append = true;
            FileHandler handler = new FileHandler("debug.log", append);
            // Add to the desired logger
            Logger logger = Logger.getLogger("com.mycompany");
            System.out.println("after creating log file");     
              catch (IOException e)
                   System.out.println("Sys Err");
            }Please give the your valuable suggesstion... !
    Thanks
    MerlinRoshina

    Just i need to write a single line in log 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.

  • I know my Apple Id (not .mac) and password but I can't logon to ichat.  I keep getting a message of password not matched.  Do I need to create a new account for Ichat?

    I know my Apple Id (it isn't ".mac") and password but I can't log on to ichat.  I keep getting a message of password not matched.  I saw somewhere that my Apple id is the same as my ichat account.  Do I need to create a new account for Ichat?  I've already reset my Apple id password 3 times in the last 2 days.  What am I doing wrong?

    Hi,
    At one time only Email IDs from Apple (when it was just @Mac.com) were referred to as "Apple IDs"
    Other IDs such as to log in to Discussions were know as Discussion IDs
    Things like the Online Store and iTunes and Apple realising that people would prefer one ID to have access to Everything tended to move things together.
    There can be a variety of combos now
    iChat Name
    @mac.com before MobileMe
    @mac.com post MobileMe
    AIM Names
    AIM names current
    MobileMe (@Me.com)
    Style
    Email Address valid with the .Mac service prior MobileMe Note 1
    Email style Name Valid with AIM
    May or may not be an Email address
    Can be AIM issued or third party Email address
    Valid Email with MobileMe Service
    Other Abilities
    May also be Currently valid email linked to a MobileMe account
    Maybe Valid Apple ID
    Is a Valid AIM Screen Name
    May Not be a Valid Apple ID (was an option choice at one stage)
    Is a Valid AIM Screen Name
    May not look like an Email (No @whatever.com) but may be linked to either an AOL email account or AIM one
    Current Registration seems to be pushing Email registration (@AIM.com)or asking to use another you currently use.
    Trial Accounts are limited to the Trial Period Only as Emails, Valid AIM Screen Names and Apple IDs.
    Apple ID
    Possibly (likely)
    Possibly (depends when Registered)
    More currently Yes.
    No
    No
    Yes
    Glad I could help.
    8:39 PM      Thursday; September 15, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Not able to create a new listener

    Tried to create a new 11g grid infrastructure standalone and it failed at configuration assistant and thereby asm was not created.
    I tried the netca manually to create the listener but not giving the error " the information provided for this listener is currently in use"
    I deleted the old listener running at 1521 and tried to create a new listener but still getting the same error. I am installing 11.2.0.2 release in linux box.
    using vmware player. I searched various forums but find that there are some issues with /etc/hosts file, hence posting my file
    ::1 localhost6.localdomain6 localhost6
    192.168.10.100 srv1
    Thanks,
    B

    850462 wrote:
    Tried to create a new 11g grid infrastructure standalone and it failed at configuration assistant and thereby asm was not created.
    I tried the netca manually to create the listener but not giving the error " the information provided for this listener is currently in use"
    I deleted the old listener running at 1521 and tried to create a new listener but still getting the same error. I am installing 11.2.0.2 release in linux box.
    using vmware player. I searched various forums but find that there are some issues with /etc/hosts file, hence posting my file
    ::1 localhost6.localdomain6 localhost6
    192.168.10.100 srv1
    post results from following OS commands using COPY & PASTE
    id
    uname -a
    ps -ef | grep -i lsnr
    lsnrctl status
    lsnrctl service
    env | sort

  • 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 wanted to send some photos out but was told I need to create a new profile, use mail icon in control panel no icon there how do I get it done?

    I want to send some photos from Firefox, when I tried it said I need to create a new profile, use mail icon in control panel. I went to control panel and do not know what to do.'''bold text'''

    As all of the msuic came from your computer in the first place it should still be there.  Is it not?
    EVERYTHING on your ipod should also be on your computer and should be included in your regular backup copy of your computer.
    Make sure that everything is on your computer.  You can transfer itunes purchases from the ipod.  Without syncing:  File>Transfer Purchases.
    When everything is on your computer, then it can be synced back to the ipod after updating.

  • When moving countries, do we then need to create a new apple id?

    When moving countries, do we then need to create a new apple id to purchase from our new country?
    I have logged into my apple id in a browser (not itunes) to change my country details so that I can register my CC information to purchase from my new country. "Changing countries option" is not provided.
    The only solution I can see is creating a new apple id for my new country.  Which means loosing purchased apps on my phone as well as not being able to access music purchased in my previous apple id (unless manually burning to CD and importing again that way).
    Can anyone confirm or provide a solution to a common senario of moving to another country to live?

    Hi,
    I'm desperately trying to solve my problem to Buy Book, using Aperture 3 and MacBook Pro. I have tried using re-entering my current account and creating another account (created in Apple Store and not Apperture), used the Aperture Library First Aid (repaired permissions and databases), transfered the preferences to the desktop etc., only did not restore the library and reinstalled Aperture (bought it over the Mac App Store).
    Please help, I realy wish this book.
    Thanks!
    Lanika, SI

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

  • 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 want to Facetime my Ipad from my Iphone but they are both set up with the same Apple id.  Do I need to create a new id for one of them in order to facetime with the other?

    I want to Facetime my Ipad from my Iphone but they are both set up with the same Apple id.  Do I need to create a new id for one of them in order to facetime with the other?

    You should be able to call the iPad using your Apple ID from the iPhone. When calling from iPad use the iPhone's phone number to initiate the call.

Maybe you are looking for

  • Final Cut Crashes on any EXPORT

    Turned on the computer today and needed to Export some projects through Compressor. About 2 minutes into the encoding Final Cut "Quit Unexpectedly". Tried several times with the same results. Final Cut also Quits when I export to "Quicktime Movie" &

  • Help find the Driver CREATIVE LABS CT4810 chipset ES1373 for Win 2000. E-mail dirpt@mail.

    Help find the Driver CREATIVE LABS CT480 chipset ES373 for Win 2000. E-mail [email][email protected]][email protected][/url].

  • Moving site page from Dev to production - DVWP from SQL server datasource

    Hey everyone I have seen a lot of resources online about something similar to my issue but nothing came to concrete help (content is old or not quite relevant) so I appreciate some help. situation - used SP designer 2013 to develop webpart site page

  • Creating dynamic form fields

    I am trying to create a form with an input box, but also want to be able to have a link below it to be able to add another input box on demand. Does anyone know where i can find an example of this, i searched on google but wasn't able to find anythin

  • How are the third party apps for the iPhone?

    Being a long time Palm user, then moved to BlackBerry I watched the quality of third party apps really plummet due to a more restrictive development agreement. Now considering an iPhone, I'm curious about how healthy the 3rd party app community is fo