Default location for trace file?

Previous topic - Next topic

jsquizz

We are running trace, and I'm trying to figure out where the file is output to. It's set to -

    [TRACE]
TRACE_FILE=ARCHIVE.trace.log
TRACE_LEVELS=DB=3,SOCKET=3,SRVR=3

I verified it's running. But Can't find the file. In reading the documentation (if i understand it correctly), it shold goto ARS_TMP..which It's not.

It's also not in /config and /bin .. My thoughts are its writing somewhere and it might fill up a file system. We have to run arsmaint to purge 100mil+ docs, and that smells like trouble to me.

anyone have any thoughts?
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

LairFilho

Did you search in /tmp ?

Usually the trace files is wrote in /tmp when is not set on trace.settings

Lair Martins
IBM Brazil

jsquizz

Quote from: LairFilho on July 02, 2020, 05:23:22 PM
Did you search in /tmp ?

Usually the trace files is wrote in /tmp when is not set on trace.settings

Lair Martins
IBM Brazil

Yeah, It's not there. I thought the same thing. There's no trace file at all being generated.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Mehmet S Yersel

if you have root access, maybe:

find / -type f | grep "trace.log"

....or some variant of this command could help to traverse all directories.
#zOS #Multiplatforms
#DB2 #OAM
#AFP #RiCOH AFP2PDF #SnowBound
#Finance #Telecom #Airlines
#ICN #IHS #WAS ND #Cert and Key Management
#Migrations #Data Modeling #RACF-2-CMOD Synch
#FileTek AMMO #ABI #RMDS #RADAR

Justin Derrick

Without specifying a full path, I would expect the trace log to be generated in the directory you were in when you ran the arssockd command.

Why not just change the file to include a full path?  :)  Somewhere with wide open permissions like /arstmp or /tmp.

If it's not able to create the trace file, it probably doesn't have permissions to write the file there.

-JD.
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Webinars:  https://CMOD.Training/
IBM CMOD Professional Services: https://CMOD.cloud

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

jsquizz

Quote from: Justin Derrick on July 02, 2020, 07:21:11 PM
Without specifying a full path, I would expect the trace log to be generated in the directory you were in when you ran the arssockd command.

Why not just change the file to include a full path?  :)  Somewhere with wide open permissions like /arstmp or /tmp.

If it's not able to create the trace file, it probably doesn't have permissions to write the file there.

-JD.

I figured that too. We need to turn trace off because for some reason it's been running in production. I'm just really curious as to where the trace file is being generated.
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING