Product Information
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
Hello János
Uname -r command does not work on all U*x, on Aix for instance you should use
oslevel -s
Regards
Well, on AIX uname works. You can use uname -a on AIX which will display the OS type, hostname with the release.
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.
Hi Janos
This is realy very good tool and waiting for windows version as well,
Thanks
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
Hello Mucsi
I just checked its really nice. Thanks
Thanks
welcome. 🙂
Awesome it is really....
Thank you Pritam