Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: tns log files

Re: tns log files

From: Dave Hill <HILLD_at_COUGAR.BARTON.CC.KS.US>
Date: Thu, 28 Dec 1995 02:14:19 -0500
Message-Id: <9512280840.AA14501@alice.jcc.com>


Leng-

No idea as to why, however -- To limit the number of files, you can (or the system admin) set a version limit on the directory ... of like 7..

VMS command is SET DIR/VER=7 DISK:[FULL.PATH]

If my memory serves correctly, you will need to dispose of all of the files once and then the limit will be enforced.

Dave

At 02:32 PM 12/28/95 EST, you wrote:
>Env: VMS6.1; Oracle7.1; SQL*Net 2.1; DECNet and TCP/IP Adapters 2.1
>
>Hi guys,
>
>I've got a lot of tns*.log and tns*.com files in my tns_admin directory.
>Each file contains around 5 lines and have essentailly the same data. I'd
>like to know if you've got the same thing. What caused their generation? And
>is it safe to remove them? It's annoying - clusters up my output, as well as
>eating disk space. I seem to get at least 2 of these files a day. The tns
>prefix seems to indicate some kind of TNS work.
>
>TIA,
>Leng.
> --------------------------------------------
>Leng Kaing
>DBA - Directory Technology P/L
>Tel: +61-3-9892-9081 Fax: +61-3-9892-9344
>Email: lkaing_at_ventnds1.telecom.com.au
>WWW : http://www.vut.edu.au/~leng/oracle/voug.html
>
>
>Part of my directory listing (there many more):
>
>TNS20600257_OUT.LOG;1 TNS20604F84.COM;1
>TNS20604F84_OUT.LOG;1 TNS2080024A.COM;1
>TNS2080024A_OUT.LOG;1 TNS208034AD.COM;1
>TNS208034AD_OUT.LOG;1 TNS4020053F.COM;1
>TNS4020053F_OUT.LOG;1 TNS40203DA1.COM;1
>TNS40203DA1_OUT.LOG;1 TNS40400257.COM;1
>TNS40400257_OUT.LOG;1 TNS40400A2E.COM;1
>TNS40400A2E_OUT.LOG;1 TNS4040ED57.COM;1
>TNS4040ED57_OUT.LOG;1 TNS40600235.COM;1
>TNS40600235_OUT.LOG;1 TNS406004EB.COM;1
>
>Here's one of many .LOG files:
>$ SET NOCONTROL=Y
>$ on control_y then LOGOUT
>$ Set Noverify
>
>
>Here's one of the many .COM files:
>$ old_privs =
>f$setprv("prmmbx,log_io,tmpmbx,netmbx,sysnam,detach,cmkrnl,world")
>$ define/nolog ora_root YPPRORA33:[ORACLE7.V7132.]
>$ define/nolog ora_network $10$DUA141:[ORACLE7.V7132.NETWORK]
>$ define/nolog tns_admin $10$DUA141:[ORACLE7.V7132.NETWORK.ADMIN]
>$ tnslsnr = "$$10$DUA141:[ORACLE7.V7132.NETCONFIG]TNSLSNR.EXE;4"
>$ tnslsnr LISTENER_DVAX
>$ delete $10$DUA141:[ORACLE7.V7132.NETWORK.ADMIN]TNS6020024B.com;
>


Dave Hill                                   HILLD_at_cougar.barton.cc.ks.us
DBA/Systems Analyst/Programmer
BCCC, Great Bend, KS, USA  67530                A great place to work!
------------------------------------------------------------------------

Received on Thu Dec 28 1995 - 03:40:05 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US