NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

gkuchera's avatar
gkuchera
Aspirant
Aug 26, 2018

RN51600 - Issue getting the admin page to work

Status:  Drive shares are accesssable.

Admin Page down.

 

when starting the readynasd service on the device I get the following:

Aug 26 17:51:07 NAS-2 systemd[1]: Starting ReadyNAS System Daemon...
Aug 26 17:51:07 NAS-2 readynasd[16349]: readynasd log started
Aug 26 17:51:07 NAS-2 readynasd[16349]: readynasd started. (restarted=0)
Aug 26 17:51:07 NAS-2 readynasd[16349]: DB (main) schema version: 23 ==> 23
Aug 26 17:51:07 NAS-2 readynasd[16349]: DB (queue) schema version: new ==> 0

 

i have noticed that when the executable starts it appears to corrupt the db.sq3 file on the device.

if i do a servicectl stop readynasd

and then sqlite3 /var/readynasd/db.sq3 'pragma integrity_check;'

i get:

*** in database main ***
Main freelist: freelist leaf count too big on page 800
Main freelist: invalid page number 218103808
Page 125 is never used
Page 132 is never used
Page 186 is never used
Page 187 is never used
Page 196 is never used
Page 197 is never used
Page 198 is never used
Page 199 is never used
Page 200 is never used
Page 201 is never used
Page 202 is never used

... through page 289.

 

I have tried renaming the db.sq3 file and having the service recreate it, i get the same results.

i have checked for duplicate names and groups and have not found any.

 

I have also tried to export and reimport the db.sq3 file and it creates a new db file thtat looks good to me, and then if ai run the readynasd  service it appears to corrupt the file again..

 

Any help would be appreciated.  If you need more informtiaon please ask.

 

Thanks,

Geoff

 

 

6 Replies

Replies have been turned off for this discussion
  • Additional Info:

     

    By the way this is not a network problem.  I have isolated this to the readynasd daemon not starting correctly.  When i try to access the admin page i get the Admin page down after it churns for a while.  If i look into the debug on the web browser i get:


    Line Number 1, Column 1: dbbroker:1:1
    This site makes use of a SHA-1 Certificate; it’s recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More] dbbroker
    XML Parsing Error: no root element found
    Location: https://nas-2/dbbroker

     

    the Original issue was the Root filesystem on the NAS filled, and after cleaning up logs and some mysql issues i was able to get plenty of space back but i'm left wit this issue.

     

    -Geoff

    • mdgm-ntgr's avatar
      mdgm-ntgr
      NETGEAR Employee Retired

      Try

      # mv /var/readynasd/db.sq3-
      # sqlite3 /var/readynasd/db.sq3- .dump | sqlite3 /var/readynasd/db.sq3

       

      • gkuchera's avatar
        gkuchera
        Aspirant

        I actually tried that before, it worked but the first time i restarted the readynasd it corrupted the file again and gave the same error.

        Would you like me to post the output of the dump? if that will help i would be glad to.

NETGEAR Academy

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

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More