Core file generation

All questions about Control-M jobs definitions
Post Reply
User avatar
anirudhrh
Nouveau
Nouveau
Posts: 48
Joined: 21 Sep 2013 12:00

Core file generation

Post by anirudhrh » 11 Nov 2013 8:19

I have a core file getting generated on one of the system on a daily basis. we have plenty of SAP related jobs running on it . I am unable to find the job as there are huge numbers of jobs running at the same time .

Would the core file contain any information about the job or the reason as to why it was generated. Information relevant to us ..
Anirudh

User avatar
Moti_reshef
Nouveau
Nouveau
Posts: 10
Joined: 05 Mar 2009 12:00

Post by Moti_reshef » 17 Nov 2013 10:42

Hi anirudhrh,

All you need to do is the following:
1 - identify the process that crash, by running the "file" command, for example:
% file core
core: ELF 64-bit MSB core file SPARCV9 Version 1, from 'ctmorder'

*** In the above example the core file was generated by the 'ctmorder' utility.

2 - run gdb/dbx (depend on your UNIX type)in order to query the stack and type 'where' to query the stack:
% file core.TR
core.TR: AIX core file fulldump 64-bit, p_ctmtr

dbx exe_AIX/p_ctmtr core.TR
...
(dbx) where
.() at 0x80000000076ae08 [inaccessible: missing /u01/local/controlmsvr/oracle/pr oduct/10.2.0.1/lib/libclntsh.so]
.() at 0x800000000963340 [inaccessible: missing /u01/local/controlmsvr/oracle/pr oduct/10.2.0.1/lib/libclntsh.so]

Then - open a ticket for BMC support

Post Reply