Page 1 of 1

Core file generation

Posted: 11 Nov 2013 8:19
by anirudhrh
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 ..

Posted: 17 Nov 2013 10:42
by Moti_reshef
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