[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Nov 17 09:16:25 2004 -->
- <!--x-from-r13: wfurrgf ng lnubb.pbz (Xrenyq Eurrgf) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Three d[a]emonic questions -->
- <li><em>date</em>: Wed Nov 17 09:16:25 2004</li>
- <li><em>from</em>: jsheets at yahoo.com (Jerald Sheets)</li>
- <li><em>in-reply-to</em>: <<a href="msg00749.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Three d[a]emonic questions</li>
Jerald M. Sheets jr.
Sr. UNIX Systems Administrator
Datatrac, Inc
770.552.3866 x2494
*****************
> su -
Password:
# cat /dev/flood > /dev/earth
# rdev noah+beasts
# dd if=noah+beasts of=/dev/earth
> -----Original Message-----
> From: ale-bounces at ale.org [<a rel="nofollow" href="mailto:ale-bounces">mailto:ale-bounces</a> at ale.org] On
> Behalf Of Michael D. Hirsch
> Sent: Wednesday, November 17, 2004 9:07 AM
> To: John Mills; Atlanta Linux Enthusiasts
> Subject: Re: [ale] Three d[a]emonic questions
>
> On Tuesday 16 November 2004 10:51 pm, John Mills wrote:
> > ALErs -
> >
> > I'm doing preliminary debug on a simple server I've written.
> >
> > 1) A few months ago (<=12), someone asked how to set things
> up so one
> > instance of a service could be kept going, and promptly be
> restarted when
> > it died or was killed. There were a couple of replies, but
> I can't refind
> > the thread. Could anyone please remind me where to find this?
>
> I can't recall exactly, but searching for inittab would be a
> good start.
>
> > 2) If I use xinetd to start my server, I need to ensure
> that, if a running
> > instance of the server exist, that is the one used. If not,
> a new one
> > should be started. 'man xinetd' suggests this is a 'single_threaded'
> > service. How do I designate a service to be this type?
>
> I was doing this just last week. Look at the wait attribute
> in the man page
> for xinetd.conf. This does exactly what you want.
>
> > 3) My server needs to listen on two ports. I want a
> connection on either
> > port to use the same, single, running server, or start one
> if none is
> > running at the moment. Can I achieve this with duplicate entries in
> > /etc/services against the two port numbers? If not, how?
>
> This I don't know about. It's easy enough for one server to
> listen on two
> ports, but if you are also using xinetd it gets much
> trickier. Xinetd would
> need to know that the two ports are associated, too, and I
> don't know how to
> do that. I can't swear that it isn't possible, however.
>
> Michael
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00749" href="msg00749.html">[ale] Three d[a]emonic questions</a></strong>
<ul><li><em>From:</em> mhirsch at nubridges.com (Michael D. Hirsch)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00749.html">[ale] Three d[a]emonic questions</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00751.html">[ale] Binary Grep</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00749.html">[ale] Three d[a]emonic questions</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00754.html">[ale] Three d[a]emonic questions</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00750"><strong>Date</strong></a></li>
<li><a href="threads.html#00750"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>