Paul Branon
2010-Jun-28 18:04 UTC
[Samba] How can Samba both work, and, suddenly stop working, simultaneously?
Samba, (smbd version 3.0.20) has been working splendidly on my machine for more than four years. It has run without a hitch. And then suddenly, today, it has stopped working. I haven't changed anything, I haven't installed anything on the server and I haven't removed anything. So I'm at a loss to know what's wrong with it. I can only interact with the server from the local command line. (I haven't altered the allow hosts in the config file. I haven't changed anything) I used to be able to reach it from all the machines on my network with windows \\10.10.10.1 ERROR: the network path \\10.10.10.1 was not found The machines can all reach each other remotely, (it's not a connection or cabling issue. And I can't connect to the samba server from any of my clients since this morning) But I can access all the other servers running on the same host.) The samba server is running root 243 0.0 1.9 4784 2356 ?? Is 9:24PM 0:00.02 /usr/ local/samba/sbin/smbd -D root 245 0.0 1.9 4784 2356 ?? I 9:24PM 0:00.00 /usr/ local/samba/sbin/smbd -D root 246 0.0 1.3 3104 1624 ?? Ss 9:24PM 0:00.05 /usr/ local/samba/sbin/nmbd -D smbclient -L SambaServer1 -U% Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.20] --then it lists my shares----------- netstat -an|grep 137 udp4 0 0 192.168.1.22.137 *.* udp4 0 0 *.137 *.* netstat -an|grep 445 tcp4 0 0 *.445 *.* LISTEN Any thoughts would be appreciated, Paulb
Christian PERRIER
2010-Jun-29 04:50 UTC
[Samba] How can Samba both work, and, suddenly stop working, simultaneously?
Quoting Paul Branon (paulbranon at googlemail.com):> I can only interact with the server from the local command line. (I > haven't altered the allow hosts in the config file. I haven't changed > anything) I used to be able to reach it from all the machines on my > network with windows \\10.10.10.1 > ERROR: the network path \\10.10.10.1 was not foundA few more information might help getting the whole picture. For instance, the ouput of "testparm -s" (better that just sending out smb.conf as it skips settings that have their default value). Also, you should check what's appearing in samba log files when you're trying to connect to the server. As of now, it is more sounding like you have an external cause and your problem looks like a browsing problem. Didn't one of the windows machines steal the samba server IP address?
Paul Branon
2010-Jun-29 09:53 UTC
[Samba] How can Samba both work, and, suddenly stop working, simultaneously?
testparm -s Load smb config files from /usr/local/samba/lib/smb.conf Processing section "[tmp]" Loaded services file OK. [global] workgroup = WORKGROUP server string = Samba Server security = SHARE log file = /usr/local/samba/var/log.%m [tmp] comment = Temporary data On Samba Server path = /tmp read only = No guest ok = Yes ===========================Thanks for getting back to me guys. No, it's not an ipaddress conflict issue. I can ssh onto the server, I can access the server on port 80, etc. It's not a cabling issue. Samba has just stopped exporting its file systems. It's running on the server itself and I can access the share(s) but only locally. I can't understand it. I have no access/deny restrictions in the config. (You can see the config above.) ==============================As for logfiles [2010/06/20 22:31:24, 0] nmbd/nmbd.c:main(718) Netbios nameserver version 3.0.20 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2010/06/20 22:37:02, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server SambaServer1 is now a local master browser for workgroup WORKGROUP on subnet 10.10.10.22 ***** [2010/06/20 22:37:02, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server SambaServer1 is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.22 ***** [2010/06/20 23:51:34, 0] nmbd/nmbd.c:terminate(58) Got SIGTERM: going down... [2010/06/21 12:41:12, 0] nmbd/nmbd.c:main(718) Netbios nameserver version 3.0.20 started. Copyright Andrew Tridgell and the Samba Team 1994-2004 [2010/06/21 12:46:50, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server SambaServer1 is now a local master browser for workgroup WORKGROUP on subnet 10.10.10.22 ***** [2010/06/21 12:46:50, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) ***** Samba name server SambaServer1 is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.22 *****