smb problems

tv.debian at tv.debian at
Fri Dec 16 11:15:53 UTC 2011

16/12/2011 11:01, Leslie Anne Chatterton wrote:
> I use gadmin-Samba to configure my network shares etc., and it lets me
> disconnect Samba. This its not the command line part, although I'm sure
> it can be done from that - I just don't know how. It used to be "sudo
> /etc/init.d samba restart" or something similar but that doesn't work
> now. When restarted in gadmin-Samba a message appears that winbindd is
> inactive. At that point I open a terminal window and type "sudo
> winbindd" which starts winbindd and then everything works.
> I wonder if there is some kind of time limitation bug in Samba that
> won't let it run continually...
> Sent from my Motorola Xoom Android tablet
> On Dec 16, 2011 3:56 AM, "O. Sinclair" <o.sinclair at
> <mailto:o.sinclair at>> wrote:

Shockingly simple:

sudo restart [service]

where [service] is to be replaced by the actual service you want to
start/restart. Use double [tab] (tabulation) in place of [service] to
see list of services that can be restarted this way.

Substitute "restart" by "status" to get service current status, this can
be done without root privileges over dbus, use:

status --system [service]

"man initctl" is your friend.

Otherwise the "old" way that still works is:

sudo invoke-rc.d [service] restart

Hope it helps.

More information about the kubuntu-users mailing list