Samba server did not respond after 20000 milliseconds
FedoraThis forum is for the discussion of the Fedora Project.
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.
Samba server did not respond after 20000 milliseconds
I'm tearing my hair out here and need some help. I recently built a new Fedora 8 box on an old Dell that was previously running FC5. I have a second hard disk mounted under /mnt/store that holds all my pictures, music, videos, etc and I have an NFS mount point on /mnt/store that I connect to from 2 other Fedora boxes and also need to share Pictures, Music & Videos folders underneath /mnt/store for a couple of Windows boxes. This configuration was working fine in FC5. I made sure I punched a hole in the firewall but just for good measure I disabled iptables and selinux. Whenever I try to connect to the server (that is, either directly to a share or just to the server to list shares), I just get timeouts. On Linux when running:
Code:
smbclient -L <server>
the response I get is
Code:
Receiving SMB: Server stopped responding
session setup failed: Call timed out: server did not respond after 20000 milliseconds
I've searched and searched looking for an answer to this but all I've managed to find is people asking the same question. I'm using Fedora 8 (2.6.23.1-42.fc8) and Samba 3.0.27a-0.fc8. Client is either Samba 3.0.27a-0.fc8 or Windows XP SP2. The Samba logs tell me absolutely nothing other than when the service started. From the F8 machine I'm trying to use as a client, I can successfully connect to shares on the Windows boxes so I'm happy the client does actually work. I've created users and set passwords via system-config-samba and smbpasswd. I've tried the client with name and IP with the same result (I'm happy name resolution works in my network anyway). I have tried stopping NFS because I heard there can be conflicts but had the same result.
You shoudl try the command "testparm". This will check your samba configuration and hopefully provide some feedback as to possible errors. Also remember to restart the deamon after you've made changes.
You shoudl try the command "testparm". This will check your samba configuration and hopefully provide some feedback as to possible errors. Also remember to restart the deamon after you've made changes.
I've seen reference to this before but the command doesn't exist on my system. I installed Samba with the base F8 install and have since upgraded it with Yum.
If it is running, then you should see some good messages in the output from dmesg. There should also be interesting messages in the log files in "/var/log". Files of interest are "messages" and "samba/smbd.log".
You can also stop the samba daemon and run it interactively with "-i" and with a debug level "-d". That is probably the easiest way to debug problems with a samba server.
Well apparently the problem is with encrypted passwords. I set
Code:
encrypt passwords = no
and it all sprang into life. I felt sure I had tried this previously but maybe I missed it.
I am running samba on FC4 with "encrypt passwords" set to "yes". You may want to try the debugging suggestions I mentioned above before you give up on this option. Otherwise you are just masking the real problem by giving up a layer of security.
I am running samba on FC4 with "encrypt passwords" set to "yes". You may want to try the debugging suggestions I mentioned above before you give up on this option. Otherwise you are just masking the real problem by giving up a layer of security.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.