Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: E-mail



>>>>> Dave Gutteridge writes:  (on 16 Nov 98)

> What i'm stuck on is that if "kill -HUP inetdpid" restarts the service,
> what do i type if it's not already running?

Inetd should always be running.  You're confusing restarting the service
in question (POP) with inetd itself.

Inetd is just a sort of superserver that listens on all the ports you
tell it to in /etc/inetd.conf.  If it sees an incoming request on the
POP port, say, it forks off a pop daemon to process the request.  When
the pop daemon is done processing the request it dies a graceful death.
When inetd sees the next request it forks off another daemon (ad
infinitum).

"kill -HUP <inetdpid>" will not restart a service, it will just tell
inetd to reread its configuration file.  Whenever you make a change to
inetd.conf you need to send this hangup signal.

If you make any changes to the _pop_ configuration you need to kill any
running pop processes ("kill <poppid>"), then when inetd sees another
incoming request it will start up a new pop daemon which reads its
new configuration info and away you go.

Should always be running while you are in multi-user mode (else you
won't be able to telnet, rlogin, or ftp, much less pop or whatever).

Regards,
-- 
Rex
----------------------------------------------------------------
Next Nomikai: 20 November, 19:30   Tengu TokyoEkiMae 03-3275-3691
Next Technical Meeting: 12 December, 12:30 HSBC Securities Office
----------------------------------------------------------------
more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links