Hi Matt,

If I remember correctly, I did use 'cp /dev/null listener.log'  as my last straw
to get my listner log regenerated, but without success.

My question is : what is the difference between 'cp /dev/null listener.log' and
'cat /dev/null > listener.log' ?

I know I still have lots to learn...unix, NT, oracle 8i, 9i, ....20i

Thanks,

Eveleen



Please respond to [EMAIL PROTECTED]


Matthew Bixler <[EMAIL PROTECTED]> on 02/14/2001 09:11:49 AM

                                                                                
  Message - From: Matthew Bixler <[EMAIL PROTECTED]> on 02/14/2001 03:11   
 PM GMT                                                                         
                                                                                



                                                              
                                                              
                                                              
 To:      Multiple recipients of list ORACLE-L                
          <[EMAIL PROTECTED]>                              
                                                              
 cc:      (bcc: Eveleen Xu/NNIB/NNNG)                         
                                                              
                                                              
                                                              
 Subject: Re: listner.log cannot be generated                 
                                                              






After moving and compressing the listener.log file do
a

    cat /dev/null > listener.log

This will start a new listener.log with a zero size
and will still be written to without starting the
listener.

-Matt

--- [EMAIL PROTECTED] wrote:
>
> I ran into the same problem a few days back.  The
> listener.log was created
> once I stopped and restarted the listener.
>
> Ana Choto
> American University
> Washington DC
>
>
>
>
>
>
>                     [EMAIL PROTECTED]
>
>
>                     Sent by:             To:
> Multiple recipients of list ORACLE-L
> <[EMAIL PROTECTED]>
>                     root@fatcity.        cc:
>
>
>                     com                  Subject:
>  listner.log cannot be generated
>
>
>
>
>
>
>
>                     02/13/01
>
>
>                     03:29 PM
>
>
>                     Please
>
>
>                     respond to
>
>
>                     ORACLE-L
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi list,
>
> About a month ago, I moved and compressed
> listener.log file to a different
> directory because
> this file accumulated to a huge size over past year
> or two.
>
> Since that point, nothing is able to write to
> listenr.log file even though
> i did
>  not change an writing permission
> of this file and its parent directory. The file size
> is keeping 0 over one
> month
>  period. I do not know how to make
> this file writeable.
>
> I issued 'lsnrctl status command' to check the
> destination of this file:
>
> Listener Parameter File
>
/u01/app/oracle/product/8.0.5/network/admin/listener.ora
> Listener Log File
>
/u01/app/oracle/product/8.0.5/network/log/listener.log
> Services Summary...
>   extproc               has 1 service handler(s)
>   idms          has 1 service handler(s)
>   orac          has 3 service handler(s)
>   tsp           has 1 service handler(s)
>   vign          has 2 service handler(s)
> The command completed successfully
>
> Then I go to corresponding directory and find the
> size of this file is 0.
>
>
> nnidb1:/export/home/oracle@orac> cd
> /u01/app/oracle/product/8.0.5/network/log
>
nnidb1:/u01/app/oracle/product/8.0.5/network/log@orac>
> ls -laF
> total 4488
> drwxr-xr-x   4 oracle   dba          512 Jan 23
> 09:51 ./
> drwxr-xr-x  16 oracle   dba          512 May 13
> 1999 ../
> drwxr-xr-x   2 oracle   dba          512 Jan  5
> 10:09 2000/
> drwxr-xr-x   2 oracle   dba          512 Jan  5
> 09:57 2001/
> -rw-rw-rw-   1 oracle   dba            0 Jan  5
> 14:24 listener.log
> -rw-rw-rw-   1 oracle   dba      2278569 Jan 23
> 09:55 sqlnet.log
>
>
> Will someone in the list enlight me?
>
> Thanks
>
> Eveleen
>
>
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author:
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California        -- Public Internet
> access / Mailing Lists
>
--------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).
>
>
>
>
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author:
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services    -- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California        -- Public Internet
> access / Mailing Lists
>
--------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Matthew Bixler
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to