CIFS and Web UI not responding

Status
Not open for further replies.

Zorin1

Dabbler
Joined
Jan 13, 2016
Messages
29
I need some help figuring out what my problem is. About once a week my CIFS shares and Web UI do not respond. I also have Plex installed and I can connect to this. When I look at /var/log/message I see bunch of these messages:
Feb 15 16:43:43 nas2 smbd[94510]: [2016/02/15 16:43:43.232203, 0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Feb 15 16:43:43 nas2 smbd[94510]: matchname failed on 192.168.1.153
Feb 15 16:44:28 nas2 smbd[94541]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.153 != (NULL)

Feb 15 21:18:04 nas2 smbd[2170]: [2016/02/15 21:18:04.745253, 0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
Feb 15 21:18:04 nas2 smbd[2170]: matchname failed on 192.168.1.153
Feb 15 21:18:43 nas2 smbd[2187]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.153 != (NULL)

This is from log.smdb:
[2016/02/15 16:43:33.342929, 1] ../source3/smbd/service.c:1130(close_cnum)
jcifs0_1_5a (ipv4:192.168.1.153:40127) closed connection to service Volume_1
STATUS=daemon 'smbd' finished starting up and ready to serve connectionsmatchname: host name/name mismatch: 192.168.1.153 != (NULL)
[2016/02/15 16:43:43.232203, 0] ../source3/lib/util_sock.c:1199(get_remote_hostname)
matchname failed on 192.168.1.153

Can anyone tell me what is going on where I need to look?

thanks
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215

Zorin1

Dabbler
Joined
Jan 13, 2016
Messages
29
In [Network] - [Global Configuration], do you have any DNS Servers added there? They are the "NameServer" entries...

No, it is using DHCP to setup the network. Do I need to put something in there?
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
I would recommend that you should have at least one entry for your DNS Server (which may/should be your router IP). Your router may be providing this, but I am not sure how you have it setup.

Also, it is better to either assign FreeNas a static IP that is outside of your DHCP Range or a Reservation (based on MAC) on your router.

If you assign a static, then you will want to enter a "IPv4 Default Gateway" as well. This is usually the same IP as your router as well.
 

Zorin1

Dabbler
Joined
Jan 13, 2016
Messages
29
I would recommend that you should have at least one entry for your DNS Server (which may/should be your router IP). Your router may be providing this, but I am not sure how you have it setup.

Also, it is better to either assign FreeNas a static IP that is outside of your DHCP Range or a Reservation (based on MAC) on your router.

If you assign a static, then you will want to enter a "IPv4 Default Gateway" as well. This is usually the same IP as your router as well.

I do have it set to a static IP, the DHCP always gives it the same ip address. I did not see where you set the static IP address. Do you have to do this from the console?
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
I do have it set to a static IP, the DHCP always gives it the same ip address. I did not see where you set the static IP address. Do you have to do this from the console?
I usually do it from the console from the start (not from the shell). It can be done in the GUI: [Network] - [Interfaces] as well.
 
Status
Not open for further replies.
Top