Author Topic: Default location for trace file?  (Read 1854 times)

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Default location for trace file?
« on: July 02, 2020, 09:57:53 AM »
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

  • Jr. Member
  • **
  • Posts: 14
    • View Profile
Re: Default location for trace file?
« Reply #1 on: July 02, 2020, 10:23:22 AM »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Default location for trace file?
« Reply #2 on: July 02, 2020, 11:22:10 AM »
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

  • Jr. Member
  • **
  • Posts: 57
    • View Profile
    • LinkedIn Profile
Re: Default location for trace file?
« Reply #3 on: July 02, 2020, 12:07:35 PM »
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

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Default location for trace file?
« Reply #4 on: July 02, 2020, 12: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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

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

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Default location for trace file?
« Reply #5 on: July 02, 2020, 01:00:09 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