RH9 Processes Failing

Reply

Join Date: Jan 2004
Posts: 5
Reputation: salvatore is an unknown quantity at this point 
Solved Threads: 0
salvatore salvatore is offline Offline
Newbie Poster

RH9 Processes Failing

 
0
  #1
Jan 12th, 2004
I have the following in /etc/inittab:
# Run webcam uploading utility - added by slp on 12/18/2003
cam:3:respawn:/home/salvatore/cam/runcam

runcam is:
[root@home cam]# ls -l runcam
-rwxr-xr-x 1 root salvatore 55 Dec 31 09:46 runcam

runcam contains:
[root@home cam]# cat runcam
webcam /home/salvatore/cam/.webcamrc >/dev/null 2>&1 &

[root@home cam]# uname -r
2.4.20-27.9

When the system is restarted, runcam doesnt appear in the process list. It also wont run if I type ./runcam. If I, as root, type the contents of runcam at the console, it runs just fine, and will run until killed or the system is restarted again. What is wrong with how I have this set up that it runs when I type the command out, but wont run from the script?

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 38
Reputation: Dominick is an unknown quantity at this point 
Solved Threads: 0
Dominick's Avatar
Dominick Dominick is offline Offline
Light Poster

Re: RH9 Processes Failing

 
0
  #2
Jan 20th, 2004
lsof | grep 'runcam'
it might be running already
kill -9 comes in handy in that case
Dominick@tech-lounge.com
www.tech-lounge.com
www.v-dommi.net
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 5
Reputation: salvatore is an unknown quantity at this point 
Solved Threads: 0
salvatore salvatore is offline Offline
Newbie Poster

Re: RH9 Processes Failing

 
0
  #3
Jan 21st, 2004
Thats how I know its not running; thanks for the reply though.

Postscript: Im still trying to figure this one out, so if anyone has suggestions, Im all ears.
Reply With Quote Quick reply to this message  
Join Date: Jan 2004
Posts: 38
Reputation: Dominick is an unknown quantity at this point 
Solved Threads: 0
Dominick's Avatar
Dominick Dominick is offline Offline
Light Poster

Re: RH9 Processes Failing

 
0
  #4
Jan 21st, 2004
instead of respawn can you try ondemand
Dominick@tech-lounge.com
www.tech-lounge.com
www.v-dommi.net
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



Tag cloud for *nix Software
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC