Prev: [Samba] [Ubuntu 10.04] Share not visible from XP?
Next: [Samba] how many samba daemons should be ?
From: Gilles on 29 Jul 2010 07:50 On Thu, 29 Jul 2010 12:23:41 +0100, Adam Stirk <Adam.Stirk(a)brantano.co.uk> wrote: >The correct way to restart the smbd and nmbd in Ubuntu 10.04 is > >sudo service smbd restart >sudo service nmbd restart Thanks Adam. I read somewhere on the Net that calling "restart" on a non-running process triggers an error. Can you confirm? Also, does the order in which we (re)start smbd and nmbd matter? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Leonardo Carneiro on 29 Jul 2010 08:00 On Thu, Jul 29, 2010 at 8:48 AM, Helmut Hullen <Hullen(a)t-online.de> wrote: > Hallo, Gilles, > > Du meintest am 29.07.10: > >> So what's the correct way on Ubuntu 10.04 to (re)start Samba, >> including smbd and nmbd? > > If the daemons run and only need to re-read the smb.conf: > > Â Â Â Â killall -HUP smbd > Â Â Â Â killall -HUP nmbd > > on Linux machines. I think that on ubuntu you could user just /etc/init.d/samba reload -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Helmut Hullen on 29 Jul 2010 08:00 Hallo, Gilles, Du meintest am 29.07.10: > So what's the correct way on Ubuntu 10.04 to (re)start Samba, > including smbd and nmbd? If the daemons run and only need to re-read the smb.conf: killall -HUP smbd killall -HUP nmbd on Linux machines. I know - there are some Unix machines beyond Linux where "killall" does work in a slightly other way than on Linux. Viele Gruesse! Helmut -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Gilles on 29 Jul 2010 08:10 On Thu, 29 Jul 2010 08:58:23 -0300, Leonardo Carneiro <chesterman86(a)gmail.com> wrote: >I think that on ubuntu you could user just /etc/init.d/samba reload Right... but that was until recently, while the latest Samba package is different ;-) ============ # /etc/init.d/samba restart -su: /etc/init.d/samba: No such file or directory ============ # /etc/init.d/nmbd restart Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service nmbd restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart(8) utility, e.g. restart nmbd nmbd start/running, process 1932 ============ # /etc/init.d/smbd restart Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service smbd restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart(8) utility, e.g. restart smbd smbd start/running, process 1941 ============ So it looks like the right way is # restart nmbd nmbd start/running, process 1951 # restart smbd smbd start/running, process 1955 It'd be easier to add "restart samba" which would take care of both smbd and nmbd. Thank you. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
From: Leonardo Carneiro on 29 Jul 2010 08:50 On Thu, Jul 29, 2010 at 9:07 AM, Gilles <gilles.ganault(a)free.fr> wrote: > On Thu, 29 Jul 2010 08:58:23 -0300, Leonardo Carneiro > <chesterman86(a)gmail.com> wrote: >>I think that on ubuntu you could user just /etc/init.d/samba reload > > Right... but that was until recently, while the latest Samba package > is different ;-) > > ============ > # /etc/init.d/samba restart > -su: /etc/init.d/samba: No such file or directory > ============ > # /etc/init.d/nmbd restart > Rather than invoking init scripts through /etc/init.d, use the > service(8) > utility, e.g. service nmbd restart > > Since the script you are attempting to invoke has been converted to an > Upstart job, you may also use the restart(8) utility, e.g. restart > nmbd > nmbd start/running, process 1932 > ============ > # /etc/init.d/smbd restart > Rather than invoking init scripts through /etc/init.d, use the > service(8) > utility, e.g. service smbd restart > > Since the script you are attempting to invoke has been converted to an > Upstart job, you may also use the restart(8) utility, e.g. restart > smbd > smbd start/running, process 1941 > ============ > > So it looks like the right way is > > # restart nmbd > nmbd start/running, process 1951 > # restart smbd > smbd start/running, process 1955 > > It'd be easier to add "restart samba" which would take care of both > smbd and nmbd. > > Thank you. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: Â https://lists.samba.org/mailman/options/samba > UU, tks for the info Gilles, i was not aware of this change at all. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 4 5 Prev: [Samba] [Ubuntu 10.04] Share not visible from XP? Next: [Samba] how many samba daemons should be ? |