Hi all, having these issue with samba,
after random time (it can be after 20 min or after 5-8min) my client mashine on windows 7 disconnects from opensuse 11.4 kde server. When i refresh disk on windows I am getting message that local device is already in use and that connection has not been restored.
I need to go to my suse and type service smb restart but these command usualy dont work I need to retype it for few times until windows can reconnect.
it happen quite offen, hapend while wathing movie from shared disc…
Are you sure you have to restart the service several times? And are you sure you have to restart the service at all? What happens if you just wait? And before restarting the service, can you type:
The command “service smb status” does require that you have root authority and I might add a couple more commands to that with the terminal command sequence:
You will type in the commands shown in bold (password you type not shown) and then copy and past the results of the three last commands here in a message for us to see. Use the advance message editor, highlight the text you paste into the message from your terminal session and put it into a code (#) field as I did above.
Also look for logs in /var/log/samba and if you find a file with the name or ip of your Windows client (maybe prefixed with “log.”), look in this file for useful information. I’m not sure about the path though. That’s what I’m using but I don’t remember if it’s the default or if I added it myself (as for many things actually).
This is the option I use in the global section (meaning, if it’s the default - which a samba guru that I’m not could confirm - you don’t need to specify it):
log file = /var/log/samba/log.%m
Now, next time you lose your connection:
check on the server if the smb and nmb daemons are running
look in /var/log/samba/log.
ping server and client in both directions (however I don’t know if Windows responds to pings).
thanks for pointing to missing workgroup, I found somewhere on forums that no workgroup can be an issue with firewall and as a matter of fact I have lost firewall config for samba, somehow.
just accepted the broadcast reply for External Zone and it works.
thanks for pointing to missing workgroup, I found somewhere on forums that no workgroup can be an issue with firewall and as a matter of fact I have lost firewall config for samba, somehow.
just accepted the broadcast reply for External Zone and it works.
thanks for your posts
So you added Samba to your Firewall allowed services, which is very important, and added in a Workgroup name and all is working properly now?