Siduction Forum
Siduction Forum => Software - Support => Topic started by: vayu on 2014/10/03, 05:51:00
-
A few du's ago my system started taking 5+ minutes to shutdown. After shutting down from kdm I was able to see the message: A stop job is running for LSB: ensure Samba daemons ...min 43s / 5min)
Searching for that I found a bug but no solution I could discern. There was one suggestion to change in /etc/init.d/samba but it was already set that way.
From reading I think the problem is something with smbd or nmbd not shutting down but it seems like there should be a way to adjust that 5 min timeout limit. I don't mind forcing samba shut if I power down. Does anyone know about this problem? Any ideas about changing that 5 min setting?
Here are the bugs I found:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762087 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762087)
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740942 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740942)
-
I have the same Problem since some weeks. It seems to be a problem of Samba AND systemd. My workarround is to stop samba if I need it no more, but that the stoptime is also 5 minutes. The bug is from february and I have not much hope that someone fix it. :-(
-
Your problem is clearly https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740942. Remove the symlinks mentioned there and you should be fine.
greetz
devil
-
Your problem is clearly https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740942 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740942). Remove the symlinks mentioned there and you should be fine.
Thanks, I couldn't come to that on my own. It worked.
Gypsy, the exact steps I took were:
# update-rc.d -f samba remove
# update-rc.d -f samba-ad-dc remove
# update-rc.d -f smbd remove
# update-rc.d -f nmbd remove
ps. before I did that I quickly copied all the /etc/rc*.d folders into a backup folder.
-
if i understand the bugreport correctly you shouldn't delete all four services. Because now samba isn't started at all. You should only remove the samba service:
# update-rc.d -f samba remove
-
# update-rc.d -f samba remove
Very much thanks! That works for me.
-
if i understand the bugreport correctly you shouldn't delete all four services. Because now samba isn't started at all. You should only remove the samba service:
# update-rc.d -f samba remove
The post right after he says he also had to remove smbd and nmbd links.
The four statements worked for me, Samba starts and works the same as it had before.