Skip to Content
Product Information
Author's profile photo Janos Mucsi-Besze

Log collector that helps an SAP/Oracle administrator to provide logs to SAP Support

Hi Community Members,

 

I just created a script for Oracle databases under SAP, that collects different logfiles. It helps either you or SAP Support to analyze issues and get the required details about it.

The tool is called Logca (Log Collector Assistant).

 

Features of this tool is:

– No user interaction is needed

– Reads some env. variables of the actual user (sidadm and orasid or even oracle) like ORACLE_HOME,ORACLE_BASE,ORACLE_SID

– based on the env. variables all the logs are compressed into logca<…>.zip

 

Benefits of this tool:

– easy usage

– all required logfiles are available, so no missing logfiles during your/our analyze

 

General usage:

– copy file to the /tmp or %TMP% directory

– execute the script as <sid>adm

– check or attach logca.zip to the incident

– decompress it on your company machine

– enjoy having all the required logfiles 😉

 

Works in AIX,Linux,HP-UX,Solaris and Windows environments and 12c,18c,19c compliant.

 

The script itself is attached in below KBA:

2090832 – Log Collector Assistant (Logca)

 

Regards,

János

Assigned Tags

      9 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Olivier BOULET
      Olivier BOULET

      Hello János

      Uname -r command does not work on all U*x, on Aix for instance you should use

      oslevel -s

      Regards

      Author's profile photo Reagan Benjamin
      Reagan Benjamin

      Well, on AIX uname works. You can use uname -a on AIX which will display the OS type, hostname with the release.

      Author's profile photo Janos Mucsi-Besze
      Janos Mucsi-Besze
      Blog Post Author

      Thank you for the updates. I will change the uname command.
      The content of the INFO.txt severs just as a preliminary overview. The other Oracle logfiles contains the Os information anyway.

      But thank you for the update again. I am happy to listen all comments.

      Author's profile photo Sadik Iqbal Siddiqui
      Sadik Iqbal Siddiqui

      Hi Janos

      This is realy very good tool and waiting for windows version as well,

      Thanks

      Author's profile photo Janos Mucsi-Besze
      Janos Mucsi-Besze
      Blog Post Author

      Hi Sadiq.

      I just finished the Windows version and uploaded the BAT file to the KBA.

      It is not so sophisticated as the SHELL script, but it does the Job well.

      Regards,

      János

      Author's profile photo Sadik Iqbal Siddiqui
      Sadik Iqbal Siddiqui

      Hello Mucsi

      I just checked its really nice. Thanks

      Thanks

      Author's profile photo Janos Mucsi-Besze
      Janos Mucsi-Besze
      Blog Post Author

      welcome. 🙂

      Author's profile photo Pritam Mulay
      Pritam Mulay

      Awesome it is really....

      Author's profile photo Janos Mucsi-Besze
      Janos Mucsi-Besze
      Blog Post Author

      Thank you Pritam