Networking Forums

Networking Forums > Computer Networking > Linux Networking > xinted service starting automatically if not running

Reply
Thread Tools Display Modes

xinted service starting automatically if not running

 
 
jacek
Guest
Posts: n/a

 
      07-09-2004, 01:25 PM
I can't find an option for configuration file xinetd.conf to do this :
if some xinetd service, i.e. tftp, is running and then it stops, I
would like it to be started automatically again, without service
xinetd restart.

is there an option to do this?
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      07-09-2004, 06:15 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking jacek <(E-Mail Removed)> suggested:
> I can't find an option for configuration file xinetd.conf to do this :
> if some xinetd service, i.e. tftp, is running and then it stops, I
> would like it to be started automatically again, without service
> xinetd restart.


> is there an option to do this?


Perhaps I didn't understood you request, but that is exactly what
(x)inetd is about, listen on specified port(s) and start the
corresponding/configured service if there's a request.

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFA7uDCAkPEju3Se5QRAv4vAJ9XcyCj5HkQKEsiKjy1QJ dzzD++3ACfbMXk
j5K0kmfYMbtFBgMpBsjGKqY=
=6HD/
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      07-10-2004, 02:45 PM
Well, xinted is the mother of all those services. You have to restart
xinted should anyone needs a restart.

raqueeb hassan
congo (drc)
 
Reply With Quote
 
Michael Heiming
Guest
Posts: n/a

 
      07-10-2004, 02:58 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

In comp.os.linux.networking Raqueeb Hassan <(E-Mail Removed)> suggested:
> Well, xinted is the mother of all those services. You have to restart
> xinted should anyone needs a restart.


?? I don't get your point either, you can kill a process running
from (x)inetd. Upon next request (x)inetd will restart it, that's
what it's about.

Hint:
man xinetd

--
Michael Heiming (GPG-Key ID: 0xEDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFA8AQrAkPEju3Se5QRAsbEAJ0TTelLTwuey6RMbGf9mK gDCaMOnwCgstZv
84c6uK9++uBxSWf0LW2oAs0=
=/tjy
-----END PGP SIGNATURE-----
 
Reply With Quote
 
Gerard Wassink
Guest
Posts: n/a

 
      07-10-2004, 03:21 PM
On 9 Jul 2004 06:25:55 -0700, jacek scribbled:

> I can't find an option for configuration file xinetd.conf to do this :
> if some xinetd service, i.e. tftp, is running and then it stops, I
> would like it to be started automatically again, without service
> xinetd restart.
>
> is there an option to do this?


I'm not sure what you mean, because you talk about xinetd.conf to be able
to *do* something. It doesn't. It's just a configuration file controlling
the behaviour of the xinetd process.

When you change it, xinetd will act accordingly, provided it reads the info
you changed. You do not have te restart if. Undoubtedly xinetd has an
option by which you can tell it to reread it's config files, without having
to restart it.
In fact, I'm sure, look what http://www.hmug.org/man/8/xinetd.html says:

SIGHUP causes a hard reconfiguration, which means that xinetd
re-reads the configuration file and terminates the
servers for services that are no longer available.
Access control is performed again on running servers by
checking the remote location, access times and server
instances. If the number of server instances is lowered,
some arbitrarily picked servers will be killed to sat-
isfy the limit; this will happen after any servers are
terminated because of failing the remote location or
access time checks. Also, if the INTERCEPT flag was
clear and is set, any running servers for that service
will be terminated; the purpose of this is to ensure
that after a hard reconfiguration there will be no run-
ning servers that can accept packets from addresses that
do not meet the access control criteria.

When on the other hand you mean that when a client (let's say an ftp
client) stops using ftp, that you want to be able to see an ftp server
process waiting until the next client comes along, then you do not (yet)
fully understand the concept of xinetd.

Please tell us which of the questions you meant to ask...

HTH

--
GerardLinux ay tee filternet dee oo tee ann el

|
\ /
.---.
'-. | | .-'
___| |___
-= [ ] =-
`---. .---'
__||__ | | __||__
'-..-' | | '-..-'
|| | | ||
||_.-| |-,_||
.-"` `"`'` `"-.
.' '.

Jesus is alive, I spoke with Him this morning!
 
Reply With Quote
 
Abdullah Ramazanoglu
Guest
Posts: n/a

 
      07-10-2004, 09:13 PM
jacek wrote:

> I can't find an option for configuration file xinetd.conf to do
> this : if some xinetd service, i.e. tftp, is running and then it
> stops, I would like it to be started automatically again, without
> service xinetd restart.
>
> is there an option to do this?


No, xinetd is not a daemon watchdog.
Yes, the first service request will cause xinetd to (re)start the
service automatically.

Any chance that you are experiencing problems due to wrong "wait"
setting for a service (e.g. specifying wait=yes for a multi
threaded service)?

BTW I didn't quite understand what you mean by "without service
xinetd restart". If you mean "without having to restart xinetd in
order to start a service" then you need to read more about xinetd:
It never dies so does not need to be restarted.

--
Abdullah | aramazan@ |
Ramazanoglu | myrealbox |
________________| D O T cöm |
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network not starting properly, but running fine after restart inuy4sha Linux Networking 0 03-23-2008 10:20 PM
Error while starting Computer Browser service Hari.Sundararajan@gmail.com Windows Networking 0 01-20-2006 04:28 PM
Wireless Zero Configuration Service not starting up. Eddie Martin Wireless Networks 3 02-26-2005 05:01 AM
Wireless Zero Configuration service not starting. I need help Wireless Networks 13 11-07-2004 08:13 PM
Wireless Zero Configuration service not starting James Wireless Networks 1 11-03-2004 01:31 PM



1 2 3 4 5 6 7 8 9 10 11