Re: How to kill and restart?


Subject: Re: How to kill and restart?
From: Julian Elischer (julian@whistle.com)
Date: Fri Jun 27 1997 - 10:35:19 EDT


Thomas Lamy wrote:
>
> >Is there a way to kill the netatalk processes and restart them without
> >requiring a reboot of the system? I ran across some documentation that
> >indicates this should be fixed with 1.4 but I haven't seen anything
> >about it in the release notes.
> >
> >David Leach
>
> You simply can't kill off atalkd and restart it. With linux, this is possible by first killing all netatlk daemons, unloading the appletalk kernel module, reload it and restarting netatalk. Dunno how to do this on other systems.
>
> Thomas
>
> Thomas Lamy Vision Connect GmbH Telefon: (089) 356256-35
> Database Development Division Taunusstraße 51 Telefax: (089) 356256-56
> mailto:thomas@v-connect.com 80807 München http://www.v-connect.com/

do a PS to detirmine the afpd parent process (it forks children)
then send it a normal kill signal
it will shut down all it's children gracefully

If you send a SIGHUP
it gives them 10 minutes grace, and a popup appears on teh clients to
tell them
to log off.

once the afpds are down
then just send a kill signal to atalkd

it should clean up pretty well
(depending on your OS, it may do a better job on some)
then just restart it.

In FreeBSD ifconfig ,route and netstat know about
netatalk so yu can clean up any thing that migh tbe left behind but
there
usuallyisn't much if anything.
then just restart atalkd and afpd as before..



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:14 EST