× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Readynas 104 SMB won't activate

PeterW2017
Aspirant

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

Model: RN104|ReadyNAS 100 Series
Message 1 of 7

Accepted Solutions
evan2
NETGEAR Expert

Re: Readynas 104 SMB won't activate

@PeterW2017

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

 

View solution in original post

Message 7 of 7

All Replies
evan2
NETGEAR Expert

Re: Readynas 104 SMB won't activate

 

@PeterW2017

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

 

Message 2 of 7
PeterW2017
Aspirant

Re: Readynas 104 SMB won't activate

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?

 

Message 3 of 7
evan2
NETGEAR Expert

Re: Readynas 104 SMB won't activate

@PeterW2017

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.

Message 4 of 7
PeterW2017
Aspirant

Re: Readynas 104 SMB won't activate

Good, I just got in.

Still trying to find how to check the permission. 

As for installed apps, I did install a BT app few months ago, but uninstalled yersterday when I had the issue with SMB. and yesterday after I find the SMB is not working I installed a SMB plus.

Message 5 of 7
PeterW2017
Aspirant

Re: Readynas 104 SMB won't activate

Hi the command is not working...


root@NETGEARnass:~# /var/lib/samba# ls -l
-bash: /var/lib/samba#: No such file or directory

Message 6 of 7
evan2
NETGEAR Expert

Re: Readynas 104 SMB won't activate

@PeterW2017

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

 

Message 7 of 7
Top Contributors
Discussion stats
  • 6 replies
  • 2719 views
  • 0 kudos
  • 2 in conversation
Announcements