Tracing a script in Unix/Linux

Its been a while since i posted on my blog, Since now my other Project went live and we had a smooth first month end close, I am going to post a series of articles on learnings, new tools and tips and tricks on troubleshooting and tuning which i learnt.

I had this situation many times where i try to start a process ex: database listener, apache process etc… the process errors out because of some permissions problem or port conflict issue. I have been working on environments where we have several applications running on the same server and its pretty hard to identify what port/subport or directory is causing the issue.

error:

After some research i came across a different usage of tool strace (Linux) or truss (UNIX),

    strace lsnrctl start DEV

fix:

References

Link to the original site

Tags: , , , , , , , , , , , , , , , ,

Related posts

Leave a Reply