1833462 Members
2817 Online
110052 Solutions
New Discussion

Xinetd question

 
SOLVED
Go to solution
uadm26
Super Advisor

Xinetd question

Hi,
I am installing and making tests with xinetd and so far I did not have any problem, but I was alerted that both applications could not run in simultaneous, but the truth is that already I tested and the system functions with one of them, or with the two. Well, my question is the following one, it will be that xinetd came to substitute inetd, or I can commute services between the two? Will exist some inconvenience in the use only of xinetd?
Thanks.
4 REPLIES 4
Geoff Wild
Honored Contributor

Re: Xinetd question

On linux, I only use xinetd.

FAQ: http://www.xinetd.org/faq.html

So, as far as your question - can you use both - maybe, but I doubt it - as xinetd is a replacement for inetd.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Bill Thorsteinson
Honored Contributor
Solution

Re: Xinetd question

You can run both at the same time. However
you can' have them both listening for the
same service.

If I were switching from inetd to xinetd, I
would add services to xinetd one at a time.
- update xinetd.conf to add the service
- update inetd.conf to disable the servive.
- send inetd a HUP signal to reload the new config.
- send xinetd a HUP signal to reload the configuration.

I would start with less critical services and
move up to more critical services.

It would appear from the FAQ that there can
be multiple xinetd processes running. This
allows users to configure their own xinetd
process on unprivileged ports (>1024).

Ivan Ferreira
Honored Contributor

Re: Xinetd question

You should have no problems running only xinetd. As stated before, xinetd has replaced entirely to inetd in Linux. The xinetd daemon has a lot of more features than inetd, so, you should try using only one of these daemons, the xinetd daemon.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
uadm26
Super Advisor

Re: Xinetd question

Thanks for all!!