943,728 Members | Top Members by Rank

Ad:
Jan 12th, 2004
0

RH9 Processes Failing

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
salvatore is offline Offline
5 posts
since Jan 2004
Jan 20th, 2004
0

Re: RH9 Processes Failing

lsof | grep 'runcam'
it might be running already
kill -9 comes in handy in that case
Reputation Points: 11
Solved Threads: 0
Light Poster
Dominick is offline Offline
38 posts
since Jan 2004
Jan 21st, 2004
0

Re: RH9 Processes Failing

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
salvatore is offline Offline
5 posts
since Jan 2004
Jan 21st, 2004
0

Re: RH9 Processes Failing

instead of respawn can you try ondemand
Reputation Points: 11
Solved Threads: 0
Light Poster
Dominick is offline Offline
38 posts
since Jan 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Linux Applications and Software Forum Timeline: Security Issues
Next Thread in Linux Applications and Software Forum Timeline: having trouble with vmware 4 and redhat 8





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC