LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 03-30-2004, 11:21 AM   #1
Arron
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Post Custom inetd daemon


I want to run a daemon called webcam_server from inetd. Currently it runs no problem by itself, but when i put it into the inetd.conf file, first connection opens for a second then says closed connection, then any connections are refused untill i restart the inetd.

I have tried nowait wait and so forth. this is my entry (webcam1 is in services file)

webcam1 stream tcp nowait *username* /usr/bin/webcam_server -args

should it be raw instead? should the args be in ""? For the last 2 feilds i ahve tried;

/usr/bin/webcam_server /usr/bin/webcam_server -args
/usr/bin/webcam_server -args
/usr/bin/webcam_server webcam_server -args

I assume it should be
/usr/bin/webcam_server webcam_server -args

The documents dont go into it to far... does the daemon need to close itself when the connection is closed, or does inetd monitor this? And what else should i be looking for?

Thanks

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
custom install cd base-config custom mithereal Debian 6 09-11-2005 04:48 PM
custom geforce video card--custom module? bandofmercy Linux - Hardware 3 10-14-2004 07:52 PM
How to run a tftpd server as a daemon without using any of these (inetd or xinetd ) sansk Linux - Networking 1 03-21-2004 07:01 AM
chrooting or jailing inetd or inetd started daemons ? MasterC Linux - Security 2 07-15-2003 06:28 PM
Daemon (inetd.conf) mikeshn Linux - General 2 08-23-2002 12:51 PM


All times are GMT -5. The time now is 08:55 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration