Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[Solved] Windows 7 freeze when copy files to Samba
Hello Folks,
I really need your help. I have the following issue:
I run a samba fileserver on an Ubuntu server for doing backups for about one year. I never ever had a problem. I run many linux and one Windows XP client on it.
A few weeks ago, I upgraded my fathers computer from Windows XP Home 32-Bit to Windows 7 Home Premium 64-Bit and I didn't change anything on the server. Since that, he get's the following problem:
Whenever he tries to copy files from his local harddrive to the samba network share, his computer freezes completly and needs to get restard (by pressing the reset button). It's not a permission problem, because rightlick->new textfile works on the network drive without any problems. Of course, also the user loggin works (network storage gets connected).
Here's the /var/log/syslog from the server:
Code:
[2012/04/21 14:34:11, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[2012/04/21 14:49:08, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[2012/04/21 15:04:18, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[2012/04/21 15:19:17, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
And here's the part of the sambalog:
Code:
[2012/04/21 14:34:11, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[2012/04/21 14:49:08, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[2012/04/21 15:04:18, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[2012/04/21 15:19:17, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
And here's my /etc/samba/smb.conf:
Code:
[global]
workgroup = WORKGROUP
wins support = yes
os level = 33
local master = yes
;wins server = w.x.y.z
unix password sync = yes
passwd program = /usr/bin/passwd %u
[backup]
path = /media/backup
writeable = yes
browseable = yes
valid users = tectu,stefan
force directory mode = 660
force create mode = 660
Do you have any guesses where the problem can be? Do you need any additional informations?
I may try that registry stuff in a few days.
Here's just one more strange thing: I run a Windows 7 Ultimate N 64-bit on my machine too, and it works without any problems out of the box!
Is that helpful?
It's making it just more strange, isn't it?
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
I don't find that strange at all. It's likely some option disabled or crippled in the Home Premium version that isn't so in the Ultimate version. That is typical business for Microsoft to promote sales of the more expensive versions which typically have more options.
Once you have it downloaded you should be able to right click on it and "merge" it to the registry. This may or may not correct your problem, but it's a minor change that can easily be reversed if it doesn't help.
I did upgrade my ubuntu 10.04 / samba 3.4.7 to ubuntu 12.04 / samba 3.5
That didn't work. So I did the registry patch and there! After a restard I could copy a whole folder to the samba share!
Sadly, a few hours later, the same problem as described in the first post occoured again.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
If the registry patch worked and corrected your issue then it should continue working. Have there been any other updates or changes on the Linux side? How about the Windows side? Firewall enabled, anything different than when it worked? Any VPN's or any change to the network at all? Assuming there have been no other changes, have you tired a reboot of the Windows box?
Well, within the same time, I got a new router. But I didn't made any special things beside ssh forwarding in the old one, so all I did is the ssh forwarding in the new one. No other option were changed.
I also didn't change anything between the time when it worked and when it didn't work again. All I did was:
1. make registry patch
2. reboot
3. successfully file copy
4. reboot
5. nothing worked again.
I'll check the windows firewall today, but I didn't do any special settings.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
I would check the registry to be sure the keys set by the patch are still there and still the same. Have you tried mapping the drive by IP instead of NetBios name and tried copying?
I checked the firewall stuff etc. and also I checked that the registry settings still were the same.
I did check every singel thing I could think of, but it didn't work at all.
Then, I decided to reinstall the whole Windows 7 HomePremium 64-Bit operation system and there - whitout any changes in the registry or any other windows option, it worked without any problem.
I guess the problem was some virus or something similar.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.