Core File Executable & Libraries Collection

In case of session failure or environment crash & when the root cause of the failure is unknown Informatica support team might ask you to get the core file executable & all the libraries. Below is the command which creates a zipped bundle containing the core file executable and all of the required libraries to open the core file on another machine. The command would take couple of minutes to gather the required binaries & generates the file core_~~~~_libs_all.tar.gz

Script Location : $INFA_HOME/tools/debugtools/infaCoreFileDepPackager/
Command Format : ./libscollector.sh $INFA_HOME/server/bin/pmdtm $INFA_HOME/server/bin/core_96500027_605_1457493245_6516

sh-4.1$ cd $INFA_HOME/tools/debugtools/infaCoreFileDepPackager/
sh-4.1$ ./libscollector.sh $INFA_HOME/server/bin/pmdtm $INFA_HOME/server/bin/core_96500027_605_1457493245_6516
sh: ./libscollector.sh: /bin/sh^M: bad interpreter: No such file or directory
sh-4.1$ dos2unix libscollector.sh
dos2unix: converting file libscollector.sh to UNIX format ...
sh-4.1$ pwd
/app/infa_shared/ge
sh-4.1$ ./libscollector.sh $INFA_HOME/server/bin/pmdtm $INFA_HOME/server/bin/core_96500027_605_1457493245_6516
checking for $INFA_HOME/server/bin/pmdtm
executable: $INFA_HOME/server/bin/pmdtm exists

Checking for core file: $INFA_HOME/server/bin/core_96500027_605_1457493245_6516
core file: $INFA_HOME/server/bin/core_96500027_605_1457493245_6516 exists

Platform Linux
Missing separate debuginfo for $ORACLE_HOME/lib/libclntsh.so.10.1
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/af/93f2821c9d443728c32fca4fe0b150e08b7d5e
Missing separate debuginfo for
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/20/c5cf84b53811b4d8dd34cdde046e34b4d66282
collecting corefile and executable ...
$INFA_HOME/server/bin/pmdtm
$INFA_HOME/server/bin/core_96500027_605_1457493245_6516
collecting libraries...
/lib64/libpthread.so.0
$INFA_HOME/server/bin/libpmcef.so
$INFA_HOME/server/bin/libpmmqcmn.so
$INFA_HOME/server/bin/libpmcmnexpr.so
$INFA_HOME/server/bin/libpmcmnxcontext.so
$INFA_HOME/server/bin/libpmsrvexpr.so
$INFA_HOME/server/bin/libpmsrvxcontext.so
$INFA_HOME/server/bin/libpcsflog.so
$INFA_HOME/server/bin/libpmdec.so
$INFA_HOME/server/bin/libnsort.so
$INFA_HOME/server/bin/libpmcuti.so
$INFA_HOME/server/bin/libpmcrypto.so.0.9.7
$INFA_HOME/server/bin/libpmuti.so
$INFA_HOME/server/bin/libpmasrt.so
$INFA_HOME/server/bin/libpmsdksrv.so
$INFA_HOME/server/bin/libpmrepsdk.so
$INFA_HOME/server/bin/libpmsdkcmn.so
$INFA_HOME/server/bin/libpmtx.so
$INFA_HOME/server/bin/libpmser.so
$INFA_HOME/server/bin/libpmi18n.so
$INFA_HOME/server/bin/libpmprepare.so
$INFA_HOME/server/bin/libpmmq.so
$INFA_HOME/server/bin/libpmxmlrdrutil.so
$INFA_HOME/server/bin/libpmxml.so
$INFA_HOME/server/bin/libpmwrtfile.so
$INFA_HOME/server/bin/libpmldrgen.so
$INFA_HOME/server/bin/libpmcmnvari.so
$INFA_HOME/server/bin/libpmwrtfile.so
$INFA_HOME/server/bin/libpmldrgen.so
$INFA_HOME/server/bin/libpmcmnvari.so
$INFA_HOME/server/bin/libpmcmnvar.so
$INFA_HOME/server/bin/libpmvar.so
$INFA_HOME/server/bin/libpmlmapi.so
$INFA_HOME/server/bin/libpmdbopt.so
$INFA_HOME/server/bin/libpmparopt.so
$INFA_HOME/server/bin/libpmcrep.so
$INFA_HOME/server/bin/libpmodl.so
$INFA_HOME/server/bin/libpmcmnrep.so
$INFA_HOME/server/bin/libpmesapi.so
$INFA_HOME/server/bin/libpminfapi.so
$INFA_HOME/server/bin/libpmxmlrowblkmgr.so
$INFA_HOME/server/bin/libpmxmlrdrmdinfo.so
$INFA_HOME/server/bin/libpcsfcmn.so
$INFA_HOME/server/bin/libpcsfprtcl.so
$INFA_HOME/server/bin/libpmproctasklib.so
$INFA_HOME/server/bin/libpmlicense.so
$INFA_HOME/server/bin/libACE.so.5.4.7
$INFA_HOME/server/bin/libpmICE.so
$INFA_HOME/server/bin/libpmxerces-c.so.27
$INFA_HOME/server/bin/libpmcurl.so.3
$INFA_HOME/server/bin/libpmssh2.so.1
$INFA_HOME/server/bin/libpmpcsfconfigsvc.so
$INFA_HOME/server/bin/libpmsso.so
/lib64/librt.so.1
$INFA_HOME/server/bin/libpmtl.so
/lib64/libnsl.so.1
/lib64/libdl.so.2
/usr/lib64/libstdc++.so.6
/lib64/libm.so.6
/lib64/libc.so.6
/lib64/libgcc_s.so.1
/lib64/ld-linux-x86-64.so.2
$INFA_HOME/server/bin/libpmz.so.1
$INFA_HOME/server/bin/libpmicudata.so.32
$INFA_HOME/server/bin/libpmicui18n.so.32
$INFA_HOME/server/bin/libpmicuio.so.32
$INFA_HOME/server/bin/libpmicuuc.so.32
/lib64/libcrypt.so.1
/lib64/libidn.so.11
$INFA_HOME/server/bin/libpmssl.so.0.9.7
/lib64/libfreebl3.so
/lib64/libnss_files.so.2
$INFA_HOME/server/bin/libpmtxrelrdr.so
$INFA_HOME/server/bin/libpmora8.so
$ORACLE_HOME/lib/libclntsh.so.10.1
$ORACLE_HOME/lib/libnnz11.so
/lib64/libaio.so.1
/lib64/libnss_centrifydc.so.2
/lib64/libresolv.so.2
/usr/lib64/libnuma.so.1
/lib64/libnss_dns.so.2
$INFA_HOME/server/bin/libpmwrtrel.so
$INFA_HOME/server/bin/libpmrelrdr.so
$INFA_HOME/server/bin/libpmxerces-c.so.27
$INFA_HOME/server/bin/libpmcurl.so.3
$INFA_HOME/server/bin/libpmssh2.so.1
$INFA_HOME/server/bin/libpmpcsfconfigsvc.so
$INFA_HOME/server/bin/libpmsso.so
/lib64/librt.so.1
$INFA_HOME/server/bin/libpmtl.so
/lib64/libnsl.so.1
/lib64/libdl.so.2
/usr/lib64/libstdc++.so.6
/lib64/libm.so.6
/lib64/libc.so.6
/lib64/libgcc_s.so.1
/lib64/ld-linux-x86-64.so.2
$INFA_HOME/server/bin/libpmz.so.1
$INFA_HOME/server/bin/libpmicudata.so.32
$INFA_HOME/server/bin/libpmicui18n.so.32
$INFA_HOME/server/bin/libpmicuio.so.32
$INFA_HOME/server/bin/libpmicuuc.so.32
/lib64/libcrypt.so.1
/lib64/libidn.so.11
$INFA_HOME/server/bin/libpmssl.so.0.9.7
/lib64/libfreebl3.so
/lib64/libnss_files.so.2
$INFA_HOME/server/bin/libpmtxrelrdr.so
$INFA_HOME/server/bin/libpmora8.so
$ORACLE_HOME/lib/libclntsh.so.10.1
$ORACLE_HOME/lib/libnnz11.so
/lib64/libaio.so.1
/lib64/libnss_centrifydc.so.2
/lib64/libresolv.so.2
/usr/lib64/libnuma.so.1
/lib64/libnss_dns.so.2
$INFA_HOME/server/bin/libpmwrtrel.so
$INFA_HOME/server/bin/libpmrelrdr.so

Collected all the libs, executable and core.

upload $INFA_HOME/server/bin/core_96500027_605_1457493245_6516_libs_all.tar.gz

Popular Posts

Featured Post

Basic unix commands used in Administration

ls –ltr                Shows all the files and sub directories in the  current directory. ls –la                  Shows all the hidden...