Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mostly RedHat. Also Suse, Ubuntu, PHLAK etc.
Posts: 149
Rep:
Daemon bombed out, want to see why
Hi again buddies!
I have a daemon running on my server, daemon name ibmproxy.
For some strange reason it just stopped! I've checked the messages logfile in /var/log, but nothing of interest there. If anything, it just shows that it was stopped by a user and started up successfully again 1 minute later.
Going by that, it should have worked all the time, but 5 minutes later it just wasn't running any more and I can't figure out why...
- are all resources or processes it depends on available or running?
- does it support debug level output you could increase?
- can you run it manually from strace?
Distribution: Mostly RedHat. Also Suse, Ubuntu, PHLAK etc.
Posts: 149
Original Poster
Rep:
Hi unSpawn
I'm afraid your answers are a bit too advanced for my level of Nix-knowledge at this stage...
I'll try to answer as best I can though:
1. The process is fine now, but only after I started it up again
2. I have no idea if it supports debug level output, or even what debug level output is and how to use it
3. I'm not quite sure how strace works, but I can reseach it. One question for now about this: Is there a way to use this tool on already running processes?
I'm afraid your answers are a bit too advanced for my level of Nix-knowledge at this stage...
My apologies. Entirely my fault explaining enough.
1. The process is fine now, but only after I started it up again
I mean, reading the docs (/usr/share/doc/?), does it depend on other stuff? In other words: what is required for running this?
2. I have no idea if it supports debug level output, or even what debug level output is and how to use it
There's bound to be a man page and documentation for it. Maybe mosey on over to the IBM site?
3. I'm not quite sure how strace works, but I can reseach it. One question for now about this: Is there a way to use this tool on already running processes?
Sure: "man strace" and you'll notice the "-p" flag with which you can supply the process' PID. Best used with "-v -o /tmp/strace.log" which gives more verbose output and logs to a file for easy perusal.
Sure: "man strace" and you'll notice the "-p" flag with which you can supply the process' PID. Best used with "-v -o /tmp/strace.log" which gives more verbose output and logs to a file for easy perusal.
I would also add the flag -f which can help understand child processes communication
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.