LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 06-08-2006, 06:11 AM   #1
kinetik
Member
 
Registered: Dec 2005
Location: The most beautiful city in the world.
Distribution: Mostly RedHat. Also Suse, Ubuntu, PHLAK etc.
Posts: 149

Rep: Reputation: 15
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...

Any ideas please?

Thanks!
 
Old 06-08-2006, 06:41 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
- 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?
 
Old 06-08-2006, 07:46 AM   #3
kinetik
Member
 
Registered: Dec 2005
Location: The most beautiful city in the world.
Distribution: Mostly RedHat. Also Suse, Ubuntu, PHLAK etc.
Posts: 149

Original Poster
Rep: Reputation: 15
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?


Thanks for your reply!
 
Old 06-08-2006, 11:06 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 06-08-2006, 11:14 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by unSpawn
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
Code:
strace -f -v -o /tmp/strace.log -p <pid>
 
Old 06-09-2006, 02:50 AM   #6
kinetik
Member
 
Registered: Dec 2005
Location: The most beautiful city in the world.
Distribution: Mostly RedHat. Also Suse, Ubuntu, PHLAK etc.
Posts: 149

Original Poster
Rep: Reputation: 15
unSpawn, nx5000, thanks alot for your input up to now.


I will give this a try and post my findings a bit later.


To unSpawn:

No need to apologize buddy! If anything it's me that should apologize for my ignorance

Thanks again for your help friend, I really do appreciate it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
at daemon monideepa Linux - Software 4 02-16-2006 09:26 PM
Daemon arunachalam Linux - Newbie 1 09-08-2005 06:22 AM
I bombed my beautiful new Debian :( Bruce Hill Linux - Newbie 7 07-31-2003 02:20 AM
WTF!?!, linux just bombed big time saturn_vk Linux - General 3 02-27-2003 04:40 PM
What is a daemon? nutshell Linux - General 3 02-26-2002 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration