NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
CRPearce
May 25, 2016Aspirant
RN 2120 Active Directory "Import Error"
I have two office locations, each of which has a ReadyNAS 2120 set up for storing location-based backups as well as serving up home folders for users. Both devices have been live for over a year and...
kohdee
May 31, 2016NETGEAR Expert
I don't recommend leaving/rejoining the domain... You could just have something strange cached.
This might help from SSH -- use at your own risk.
# systemctl stop readynasd
# sqlite3 /var/readynasd/db.sq3 'delete from "$home_folder";'
# net cache flush
# systemctl start readynasd
- SCPJun 01, 2016Guide
Hello, i have got the same problem of everybody here on the same version (6.5.0)..
I have got twice NAS 314, with the same configuration.
In one all is ok, and in the second, same problem, it could not connect...
It happen aftter the maj to the 6.5.0 all was ok before
If i try what you say, i have got an error from the sqlite commande:"Error: no such table"
But in fact i have found a solution that work a time, but will not work if you refresh an other time the accout.If i do that:
# systemctl stop readynasd
# cd /var/readynasd
# mv db.sq3 db.sq3.old
# systemctl start readynasdFrom this time i get the list of all the account.
But if i reboot the nas, or if i make an update of account in the option ==> error and there is no account any more....Does it help?
- witto17Jun 01, 2016Tutor
Our device still not working. I can't keep trying all this troubleshooting during the day since my users need the system - localUsers it is for the moment.
- SCPJun 01, 2016Guide
I found something that permit me to see the list of my account, but not to use it in partage...
BEFORE doing what follow:
in the account, enable the "do not cache ADS localy"
Then
From ssh:
# systemctl stop readynasd
# cd /var/readynasd
# mv db.sq3 db.sq3.old# net cache flush
# systemctl start readynasdReboot the nas.
Normally you should see the list of your account (it works for me).
But i could not use it for the partage... It does not give me some account in this list...
But perhaps it works for you?In fact it should be related to cache that is locked somewhere, but i don t know. Removing the table just permet to get the list with no cache, but i could not use it on the partage page. (writting name, will not propose account or group... )
And if i do not do that, the error is still the same:
[16-06-01 15:04:44] 2355 rndb_account.c:963 info: 394 domain user found
[16-06-01 15:04:44] 2355 rndb_account.c:989 info: 100/394 users imported so far
[16-06-01 15:04:44] 2355 rndb_account.c:989 info: 200/394 users imported so far
[16-06-01 15:04:44] 2355 rndb_account.c:989 info: 300/394 users imported so far
[16-06-01 15:04:44] 2355 rndb_account.c:1204 info: 394/394 users imported in 516ms.
[16-06-01 15:04:44] 2355 rndb_account.c:2262 error: Error. Fail to insert $home_folder/$user/$group/$group_has_user
[16-06-01 15:04:44] 2355 rndb_account.c:2405 error: rndb_ads_account_import() ==> 3 (1246ms)
[16-06-01 15:04:44] 2355 rndb_api.c:956 error: rndb_import_nolock() ==> 3 (1247ms)
- kohdeeJun 01, 2016NETGEAR Expert
Sorry, I fixed my script. Quotes matter :P
root@rn314:~# sqlite3 /var/readynasd/db.sq3 'delete from "$home_folder";'
root@rn314:~#Also, we don't recommend rebuilding db.sq3.
- SCPJun 02, 2016Guide
Hello, in fact, in the night the nas as update the account automatically and... lost all...
Does someone have any information from netgear for this problem???
If i reset the nas, does this solve the problem?
And if i reset does i lost the datas or just the settings?EDIT: i have tested your solution (from my original db.sq3 has i just move it and not delete it on the first time).
And i have got the same result.
If i do:# systemctl stop readynasd
# sqlite3 /var/readynasd/db.sq3 'delete from "$home_folder";'# net cache flush
# systemctl start readynasd==> i get the list of account immediatly, but if i reboot, or if i wait, i get the same result, it could not synchronise and there is no more account.
It only works one time in fact. After that it does not work.So it does not solve the problem.
Related Content
NETGEAR Academy

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