From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e17dbf5217cf595c,start X-Google-Attributes: gidfee84,public From: s11976@net1.hkbu.edu.hk (P.M.Wong ) Subject: why /sbin/init.d/inetd start doesn't work Date: 1998/07/21 Message-ID: <6p1fu5$8pq$1@power42t.hkbu.edu.hk>#1/1 X-Deja-AN: 373438296 Organization: HONG KONG BAPTIST UNIVERSITY Newsgroups: comp.unix.osf.osf1 How do i restart inetd (after i change inetd.conf) I tried /sbin/init.d/inetd stop then /sbin/init.d/start But didn't seem to work WE rin DG Unix 3.2 -- __ / \_/ ) __ Pui Ming WONG (E-mail: pm@hkbu.edu.hk) / ( ------------- } System Support Programmer, ( =l=ll===============__} Computing & Telecomm. Services Centre \ _ ( Hong Kong Baptist University \_/ \__) 224 Waterloo Road, Hong Kong From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e17dbf5217cf595c X-Google-Attributes: gidfee84,public From: John Hill Subject: Re: why /sbin/init.d/inetd start doesn't work Date: 1998/07/21 Message-ID: <35B4571A.5B325872@hep.phy.cam.ac.uk>#1/1 X-Deja-AN: 373446577 References: <6p1fu5$8pq$1@power42t.hkbu.edu.hk> Content-Type: multipart/alternative; boundary="------------C3C0D184089AAEA1F68603D6" Organization: University of Cambridge Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 --------------C3C0D184089AAEA1F68603D6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit P.M.Wong wrote: > How do i restart inetd (after i change inetd.conf) > I tried /sbin/init.d/inetd stop > then /sbin/init.d/start > But didn't seem to work > WE rin DG Unix 3.2 > > -- > __ > / \_/ ) __ Pui Ming WONG (E-mail: pm@hkbu.edu.hk) > / ( ------------- } System Support Programmer, > ( =l=ll===============__} Computing & Telecomm. Services Centre > \ _ ( Hong Kong Baptist University > \_/ \__) 224 Waterloo Road, Hong Kong The proper way to signal inetd that the config file has been changed is to use kill -HUP Have a look at "man inetd.conf" and "man inetd". Regards, John Hill -- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Dr. John C. Hill University of Cambridge, + + E-mail: hill@hep.phy.cam.ac.uk Cavendish Laboratory, + + Phone: +44-1223-337243 Madingley Road, + + Fax: +44-1223-353920 Cambridge, CB3 0HE, U.K. + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --------------C3C0D184089AAEA1F68603D6 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit P.M.Wong wrote:
How do i restart inetd (after i change inetd.conf)
I tried /sbin/init.d/inetd stop
then /sbin/init.d/start
But didn't seem to work
WE rin DG Unix 3.2

--
        __
   / \_/  )             __   Pui Ming WONG (E-mail: pm@hkbu.edu.hk)
  /      ( -------------  }  System Support Programmer,
 (  =l=ll===============__}  Computing & Telecomm. Services Centre
  \   _  (                   Hong Kong Baptist University
   \_/ \__)                  224 Waterloo Road, Hong Kong

 The proper way to signal inetd that the config file has been changed is to use

kill -HUP <inetd pid>

Have a look at "man inetd.conf" and "man inetd".

Regards,
John Hill

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+  Dr. John C. Hill                  University of Cambridge,       +
+  E-mail: hill@hep.phy.cam.ac.uk    Cavendish Laboratory,          +
+  Phone:  +44-1223-337243           Madingley Road,                +
+  Fax:    +44-1223-353920           Cambridge, CB3 0HE, U.K.       +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  --------------C3C0D184089AAEA1F68603D6-- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e17dbf5217cf595c X-Google-Attributes: gidfee84,public From: s11976@net2.hkbu.edu.hk (Pui Ming WONG) Subject: Re: why /sbin/init.d/inetd start doesn't work Date: 1998/07/22 Message-ID: <6p3p0o$7r2$1@power42t.hkbu.edu.hk>#1/1 X-Deja-AN: 373731850 References: <6p1fu5$8pq$1@power42t.hkbu.edu.hk> <35B4571A.5B325872@hep.phy.cam.ac.uk> Organization: HONG KONG BAPTIST UNIVERSITY Newsgroups: comp.unix.osf.osf1 John Hill (hill@hep.phy.cam.ac.uk) wrote: : The proper way to signal inetd that the config file has been changed is : to use : kill -HUP : Have a look at "man inetd.conf" and "man inetd". But then when is the /sbin/init.d/inetd start is used (It seems other daemons can be started or stopped under the corresponding scripts in /sbin/init.d ) -- __ / \_/ ) __ Pui Ming WONG (E-mail: pm@hkbu.edu.hk) / ( ------------- } System Support Programmer ( =l=ll===============__} Computing & Telecomm. Services Centre \ _ ( Hong Kong Baptist University \_/ \__) 224 Waterloo Road, Hong Kong