SMB share not working?

Status
Not open for further replies.

tmacka88

Patron
Joined
Jul 5, 2011
Messages
268
Hi,

For some reason my SMB share has stopped working. I am not sure if an update stopped something from working.

I have 1 volume that store my media (which is not in a dataset). AFP share works fine with this, but on XBMC when I select SMB shares FreeNAS doe not show up at all.

I turned the CIFS off then on again and notice this in the log in the footer.

Sep 25 17:19:21 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Sep 25 17:19:22 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Sep 25 17:19:22 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Sep 25 17:19:22 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmp8ODWbU -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Sep 25 17:19:22 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list
Sep 25 17:19:22 FreeNAS notifier: Performing sanity check on Samba configuration: FAILED
Sep 25 17:19:29 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Sep 25 17:19:29 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Sep 25 17:19:29 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Sep 25 17:19:29 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpV0cRoK -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Sep 25 17:19:29 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list
Sep 25 17:19:29 FreeNAS notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Sep 25 17:19:29 FreeNAS notifier: smbd not running? (check /var/run/samba/smbd.pid).
Sep 25 17:19:29 FreeNAS notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Sep 25 17:19:34 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc'
Sep 25 17:19:34 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint,name
Sep 25 17:19:34 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: zfs list -H -o mountpoint
Sep 25 17:19:34 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpggCtNf -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb
Sep 25 17:19:34 FreeNAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list
Sep 25 17:19:34 FreeNAS notifier: winbindd not running? (check /var/run/samba/winbindd.pid).
Sep 25 17:19:34 FreeNAS notifier: smbd not running? (check /var/run/samba/smbd.pid).
Sep 25 17:19:34 FreeNAS notifier: nmbd not running? (check /var/run/samba/nmbd.pid).
Sep 25 17:19:34 FreeNAS notifier: Performing sanity check on Samba configuration: FAILED

Any help would be great.

Thanks
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
The failed sanity check means that Samba isn't going to start. I'd recommend you look and see if your OS is corrupt. If possible install FreeNAS to a new USB stick and import your config file. ;
)
 

tmacka88

Patron
Joined
Jul 5, 2011
Messages
268
The failed sanity check means that Samba isn't going to start. I'd recommend you look and see if your OS is corrupt. If possible install FreeNAS to a new USB stick and import your config file. ;
)

Hey,

Yeah I have done this already. Could it be something in my config file affecting it when I load it back on?

thanks
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Its very possible. Maybe try doing a fresh reconfig from scratch?
 

tmacka88

Patron
Joined
Jul 5, 2011
Messages
268
actually, this was with the same drive. ill try with another.

cheers
 

tmacka88

Patron
Joined
Jul 5, 2011
Messages
268
actually, this was with the same drive. ill try with another.

cheers
 

tmacka88

Patron
Joined
Jul 5, 2011
Messages
268
ok so I did a fresh install and got SMB working again. Now I am having more issues I think are different though.

Here is my errors:

Code:
Oct 11 18:02:47 FreeNAS smbd[19109]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 18:02:47 FreeNAS smbd[19109]: [2014/10/11 18:02:47.555845,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 18:02:47 FreeNAS smbd[19109]:   matchname failed on 192.168.1.140
Oct 11 18:02:47 FreeNAS winbindd[2981]: [2014/10/11 18:02:47.728287,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 18:02:47 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 18:02:47 FreeNAS smbd[19110]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 18:02:47 FreeNAS smbd[19110]: [2014/10/11 18:02:47.921846,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 18:02:47 FreeNAS smbd[19110]:   matchname failed on 192.168.1.140
Oct 11 18:02:47 FreeNAS winbindd[2981]: [2014/10/11 18:02:47.992795,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 18:02:47 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 19:22:34 FreeNAS smbd[19923]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 19:22:34 FreeNAS smbd[19923]: [2014/10/11 19:22:34.025664,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 19:22:34 FreeNAS smbd[19923]:   matchname failed on 192.168.1.140
Oct 11 19:22:34 FreeNAS winbindd[2981]: [2014/10/11 19:22:34.056808,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 19:22:34 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 19:22:34 FreeNAS smbd[19924]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 19:22:34 FreeNAS smbd[19924]: [2014/10/11 19:22:34.126799,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 19:22:34 FreeNAS smbd[19924]:   matchname failed on 192.168.1.140
Oct 11 19:22:34 FreeNAS winbindd[2981]: [2014/10/11 19:22:34.156573,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 19:22:34 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 19:39:21 FreeNAS smbd[20067]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 19:39:21 FreeNAS smbd[20067]: [2014/10/11 19:39:21.221399,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 19:39:21 FreeNAS smbd[20067]:   matchname failed on 192.168.1.140
Oct 11 19:39:21 FreeNAS winbindd[2981]: [2014/10/11 19:39:21.336371,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 19:39:21 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 19:39:21 FreeNAS smbd[20068]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 19:39:21 FreeNAS smbd[20068]: [2014/10/11 19:39:21.472687,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 19:39:21 FreeNAS smbd[20068]:   matchname failed on 192.168.1.140
Oct 11 19:39:21 FreeNAS winbindd[2981]: [2014/10/11 19:39:21.535325,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 19:39:21 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 19:43:16 FreeNAS smbd[20113]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 19:43:16 FreeNAS smbd[20113]: [2014/10/11 19:43:16.261367,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 19:43:16 FreeNAS smbd[20113]:   matchname failed on 192.168.1.140
Oct 11 19:43:16 FreeNAS winbindd[2981]: [2014/10/11 19:43:16.427749,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 19:43:16 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 19:43:16 FreeNAS smbd[20114]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 19:43:16 FreeNAS smbd[20114]: [2014/10/11 19:43:16.495646,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 19:43:16 FreeNAS smbd[20114]:   matchname failed on 192.168.1.140
Oct 11 19:43:16 FreeNAS winbindd[2981]: [2014/10/11 19:43:16.536430,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 19:43:16 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 20:46:03 FreeNAS smbd[20793]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 20:46:03 FreeNAS smbd[20793]: [2014/10/11 20:46:03.532570,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 20:46:03 FreeNAS smbd[20793]:   matchname failed on 192.168.1.140
Oct 11 20:46:03 FreeNAS winbindd[2981]: [2014/10/11 20:46:03.568617,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 20:46:03 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 20:46:03 FreeNAS smbd[20794]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.140 != (NULL)
Oct 11 20:46:03 FreeNAS smbd[20794]: [2014/10/11 20:46:03.662072,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 20:46:03 FreeNAS smbd[20794]:   matchname failed on 192.168.1.140
Oct 11 20:46:03 FreeNAS winbindd[2981]: [2014/10/11 20:46:03.701137,  0] ../source3/winbindd/winbindd_samr.c:769(sam_rids_to_names)
Oct 11 20:46:03 FreeNAS winbindd[2981]:   sam_rids_to_names: possible deadlock - trying to lookup SID S-1-5-21-3890831176-1760727510-4219815161
Oct 11 22:21:16 FreeNAS nmbd[2971]: [2014/10/11 22:21:16.557314,  0] ../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
Oct 11 22:21:16 FreeNAS nmbd[2971]:   *****
Oct 11 22:21:16 FreeNAS nmbd[2971]:  
Oct 11 22:21:16 FreeNAS nmbd[2971]:   Samba name server FREENAS is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.141
Oct 11 22:21:16 FreeNAS nmbd[2971]:  
Oct 11 22:21:16 FreeNAS nmbd[2971]:   *****
Oct 11 23:10:28 FreeNAS smbd[22295]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.52 != (NULL)
Oct 11 23:10:28 FreeNAS smbd[22295]: [2014/10/11 23:10:28.832564,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 23:10:28 FreeNAS smbd[22295]:   matchname failed on 192.168.1.52
Oct 11 23:10:28 FreeNAS smbd[22296]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.52 != (NULL)
Oct 11 23:10:28 FreeNAS smbd[22296]: [2014/10/11 23:10:28.839522,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 23:10:28 FreeNAS smbd[22296]:   matchname failed on 192.168.1.52
Oct 11 23:43:30 FreeNAS smbd[22599]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.52 != (NULL)
Oct 11 23:43:30 FreeNAS smbd[22599]: [2014/10/11 23:43:30.216273,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 23:43:30 FreeNAS smbd[22599]:   matchname failed on 192.168.1.52
Oct 11 23:43:30 FreeNAS smbd[22600]:   STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.52 != (NULL)
Oct 11 23:43:30 FreeNAS smbd[22600]: [2014/10/11 23:43:30.232995,  0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Oct 11 23:43:30 FreeNAS smbd[22600]:   matchname failed on 192.168.1.52

Oct 12 07:49:20 FreeNAS smbd[2974]: [2014/10/12 07:49:20.724162,  0] ../lib/util/become_daemon.c:136(daemon_ready)
Oct 12 07:49:20 FreeNAS smbd[2974]: dnssd_clientstub ConnectToServer: connect()-> No of tries: 1
Oct 12 07:49:21 FreeNAS smbd[2974]: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
Oct 12 07:49:22 FreeNAS smbd[2974]: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
Oct 12 07:49:23 FreeNAS smbd[2974]: dnssd_clientstub ConnectToServer: connect() failed Socket:33 Err:-1 Errno:2 No such file or directory

Oct 12 07:49:43 FreeNAS nmbd[2971]:   STATUS=daemon 'nmbd' finished starting up and ready to serve connections*****
Oct 12 07:49:43 FreeNAS nmbd[2971]:  
Oct 12 07:49:43 FreeNAS nmbd[2971]:   Samba name server FREENAS is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.141
Oct 12 07:49:43 FreeNAS nmbd[2971]:  
Oct 12 07:49:43 FreeNAS nmbd[2971]:   *****

Oct 12 07:50:57 FreeNAS nmbd[2971]: [2014/10/12 07:50:57.653852,  0] ../source3/nmbd/nmbd_incomingdgrams.c:311(process_local_master_announce)
Oct 12 07:50:57 FreeNAS nmbd[2971]:   process_local_master_announce: Server OPENELEC at IP 192.168.1.140 is announcing itself as a local master browser for workgroup WORKGROUP and we think we are master. Forcing election.
Oct 12 07:50:57 FreeNAS nmbd[2971]: [2014/10/12 07:50:57.654258,  0] ../source3/nmbd/nmbd_become_lmb.c:150(unbecome_local_master_success)
Oct 12 07:50:57 FreeNAS nmbd[2971]:   *****
Oct 12 07:50:57 FreeNAS nmbd[2971]:  
Oct 12 07:50:57 FreeNAS nmbd[2971]:   Samba name server FREENAS has stopped being a local master browser for workgroup WORKGROUP on subnet 192.168.1.141
Oct 12 07:50:57 FreeNAS nmbd[2971]:  
Oct 12 07:50:57 FreeNAS nmbd[2971]:   *****
Oct 12 07:51:06 FreeNAS ntpd[2663]: time reset -0.174748 s


Any ideas?

Cheers
 
Status
Not open for further replies.
Top