strace is a very useful/powerful tool for trouble shoot , not just limited to Netcool. I've shown some examples before such as folllowing:
Integrating OMNIBus with Active Directory via PAM on 64bits Linux?
Configuring PAM authentication for OMNIBus Gateways
I will show another example of trouble shooting using strace, again, this is for a Netcool issue, since I don't know anything else.
I encountered this issue few weeks back. I've setup a Alcatel-Lucent SAM 5620 probe on a Redhat 5.6 64bits server, the probe worked fine, except it was taking 98~99% of CPU.
first I ran strace against the PID of the probe as root user:
#strace -f -o /tmp/strace.out -p <PID>
after couple of seconds, I send Ctrl-C to STDIN then check the contents /tmp/strace.out , I found following lines :
O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EACCES (Permission
O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0644) = -1 EACCES (Permission denied)
from this I knew that the probe was trying to open those file and failed.
I stopped the probe, removed /tmp/.com_ibm_tools_attach directory then restarted the probe. it has been running happily since then.
the root cause of this issue was that I had run the probe as root before by accident, and the temporary directory was not removed when probe quit.
I will raise an APAR when I am free.
with Tags: strace X