NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
PeterW2017
Sep 26, 2017Aspirant
Readynas 104 SMB won't activate
Been using it for almost 2 years and no problem.
All of suddent I can't enalbe SMB and SSH. Just now I can enable SSH but SMB still not activating. Did a OS reinstallation, and upgrade to 6.8.1, non of them helped.
I did some research and the only way is to factory reset, but with almost 5TB data stored on my 3 hard drives, I really hate to do that.
Please help me as this is a really common problem and I have no idea why can't I just fix it with simple reset on the settings.
Please let me know if you need any log files
Remote check your NAS, permission changed to guest, so smb can't start,
I chenged them to root, then SMB start successfully.
Please try to access your NAS again via SMB.
root@NETGEARnass:/var/lib/samba# ls
account_policy.tdb group_mapping.tdb private registry.tdb share_info.tdb
root@NETGEARnass:/var/lib/samba# ls -al
total 1772
drwxr-xr-x 3 root root 4096 Nov 27 2012 .
drwxr-xr-x 23 root root 4096 Sep 26 23:12 ..
-rw------- 1 guest guest 421888 Oct 2 2015 account_policy.tdb
-rw------- 1 guest guest 430080 Oct 4 2015 group_mapping.tdb
drwxr-xr-x 3 root root 4096 Nov 21 2012 private
-rw------- 1 guest guest 528384 Oct 2 2015 registry.tdb
-rw------- 1 guest guest 421888 Oct 2 2015 share_info.tdb
6 Replies
Replies have been turned off for this discussion
- evan2NETGEAR Expert
I saw below error in logs,
Sep 26 23:20:00 NETGEARNAS systemd[1]: Starting Samba SMB Daemon... Sep 26 23:20:00 NETGEARNAS systemd[1]: Started WSD/LLMNR Discovery/Name Service Daemon. Sep 26 23:20:00 NETGEARNAS wsdd2[5174]: starting. Sep 26 23:20:01 NETGEARNAS systemd[1]: smb.service: Main process exited, code=exited, status=1/FAILURE Sep 26 23:20:01 NETGEARNAS systemd[1]: Failed to start Samba SMB Daemon. Sep 26 23:20:01 NETGEARNAS systemd[1]: smb.service: Unit entered failed state. Sep 26 23:20:01 NETGEARNAS systemd[1]: smb.service: Failed with result 'exit-code'.
Which apps did you install on your NAS?
Could do you please check below file's permission, check if they change to guest, they should be root, the issue is caused by some apps installed on NAS.
root@ReadyNAS:/var/lib/samba# ls -l
total 1764
-rwxrwxrwx 1 guest guest 421888 Jan 19 2017 account_policy.tdb
-rwxrwxrwx 1 guest guest 430080 Sep 9 23:42 group_mapping.tdb
drwxr-xr-x 3 root root 4096 Nov 21 2012 private
-rwxrwxrwx 1 guest guest 528384 Jan 19 2017 registry.tdb
-rwxrwxrwx 1 guest guest 421888 Jan 19 2017 share_info.tdb
root@ReadyNAS:/var/lib/samba# cd private/
root@ReadyNAS:/var/lib/samba/private# ls -l
total 836
drwxrwxrwx 2 guest guest 4096 Aug 23 00:22 msg.sock
-rwxrwxrwx 1 guest guest 421888 Sep 7 22:06 passdb.tdb
-rwxrwxrwx 1 guest guest 430080 Jan 19 2017 secrets.tdb
- PeterW2017Aspirant
Thank you so much for reply!
But I have no idea how to check the files' permission. Do I have to use Putty and connect SSH?
- evan2NETGEAR Expert
Yes, SSH access via putty,
You need to eable SSH in Admin GUI->System->Settings,
SSH login username is root, password is the password you login admin GUI.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!