Unable to write from Windows 7 & 10 via NFS. SMB service cannot start

TrumanHW

Contributor
Joined
Apr 17, 2018
Messages
197
Neither Windows 7 nor 10 can write to FreeNAS (NFS nor SMB)

Help would be greatly appreciated

I've spent more time than I even have for this issue with misadventures solving issues which wound up being dead-ends.
All of MY computers can read and write to my shared folders between them.
NFS works from OS X --> FreeNAS
Tried same users unable to write to FN from Win via OS X to verify if it was permissions specific to the user.


1. FreeNAS' SMB service will not start.
- Tried to reset permissions of smbd.tmp to 700

2. NFS share via Win 7 & 10 unable to write to FreeNAS
- 10 says the file already exists (when it doesn't)
- 7 says I don't have permission


grateful if you happen to know the solution..
 
D

dlavigne

Guest
Which version of FreeNAS?

Are there any errors in /var/log/messages when SMB does not start?
 

TrumanHW

Contributor
Joined
Apr 17, 2018
Messages
197
Which version of FreeNAS?

Are there any errors in /var/log/messages when SMB does not start?

11.2 u5

I hope I've given you the info you were asking for - I'm really not sure which files there are of particular use...
 

Attachments

  • SS 2019-09-19 at 6.44.23 PM.png
    SS 2019-09-19 at 6.44.23 PM.png
    1.1 MB · Views: 5
  • SS 2019-09-19 at 6.57.02 PM.png
    SS 2019-09-19 at 6.57.02 PM.png
    899.6 KB · Views: 6
  • SS 2019-09-19 at 6.56.42 PM.png
    SS 2019-09-19 at 6.56.42 PM.png
    918.8 KB · Views: 6

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,543
Please upgrade to 11.2-U6. There was a bug in Samba in 11.2-U5 related to how guest accounts were initialized that in some circumstances could lead to samba failing to start.
 

TrumanHW

Contributor
Joined
Apr 17, 2018
Messages
197
Please upgrade to 11.2-U6. There was a bug in Samba in 11.2-U5 related to how guest accounts were initialized that in some circumstances could lead to samba failing to start.

AWESOME!!! I've been hoping this would be the result!!! THANKS!

UPDATE:

Couldn't update to 11.2 u6 initially ...
figured out that FreeNAS 11.2 u5 has a (in addition to the SMB problem) ... a problem with DNS

Couldn't ping google.com from shell ... modified /etc/resolv.conf
modifying it's reference to [my] IP address -- to 1.1.1.1 and a 2nd of 8.8.8.8

That TEMPORARILY fixes the ability to resolve DNS ..... until you reboot.

At that point I was able to update to 11.2 u6 ...

However, SMB is still unable to start and (as I'd read from others) the DNS issue persists, as well.

If anyone has ideas of when an update will come out which addresses those issues I'll be checking back periodically with hope.

Thanks!
 
Last edited:

TrumanHW

Contributor
Joined
Apr 17, 2018
Messages
197
Please upgrade to 11.2-U6. There was a bug in Samba in 11.2-U5 related to how guest accounts were initialized that in some circumstances could lead to samba failing to start.

Any ideas as to why this one doesn't work either? Or when perhaps u7 (fingers crossed SMB works in it, also) may be cooked ?

Thanks
 

eshwayri

Dabbler
Joined
May 29, 2016
Messages
18
Also the Samba log files are in /var/log/samba4; that's where you need to look for a clue as to why it won't start.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,543
Usually you can get pretty good clues for failures to start by using "testparm" and reviewing for error messages at the top of the output, and starting smbd in an interactive session with logging turned up (this will cause error messages to be printed to stdout). "smbd -d 5 -i".
 
Top