Re: [netatalk-admins] Restarting daemons on Linux


Subject: Re: [netatalk-admins] Restarting daemons on Linux
From: Nicolai Langfeldt (janl@math.uio.no)
Date: Fri Feb 20 1998 - 16:47:17 EST


Jonathan Peterson <jon@amxdigital.com> tastet:
> I looked into this a while ago and I got the impression that it was a well
> known problem with no solution.
>
> Bascially, If I stop all the various netatalk daemons (with killall, or
> kill), and then try and start them again, I get the error:
> Appletalk not up! Child exited with 1
...

I have found that with this stop section in my SysV style atalk rc script:

  stop)
        print -n 'Killing appletalk daemons: '
        rm -f /var/lock/subsys/atalk

        for p in atalkd afpd; do # papd timelord
                print -n "$p "
                killall $p 2>/dev/null
                sleep 1
        done
        print
        sleep 2

        print Removing appletalk kernel module
        rmmod appletalk

and running the stop procedure *twice* appletalk will be dead afterwards
and can be restarted. It is only works when appletalk is a module.

Nicolai



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