1844465 Members
4032 Online
110233 Solutions
New Discussion

Daemon control

 
Ignacio Javier
Regular Advisor

Daemon control


Hello:

I would like to control within a package, the inetd daemon.
If I call this program from a start script, this script finishes and ServiceGuard thinks that is not runnig and halts the package when of course inetd is running.

How do you control services that runs in "background", apart from then sell ??


Thanks in advance
2 REPLIES 2
Stephen Doud
Honored Contributor

Re: Daemon control

inetd is fundamental to Serviceguard.
Check the hacl lines in /etc/services and /etc/inetd.conf.
If you kill inetd, future Serviceguard commands will not succeed.

What exactly do you want to do with inetd to control it? Start it when you want to start a package? That cannot be done since Serviceguard relies on inetd to operate properly.
Ignacio Javier
Regular Advisor

Re: Daemon control

Thanks for answering:

What i would like to do is to make a package that would start the crítical services of the system, so if one fails, halt the node and make the the other application packages fail over to another node.

What do you thing of this ?


Thanks a lot