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

Forum Discussion

mks1's avatar
mks1
Aspirant
Jul 29, 2017

readynasd fails to start: dba import failed

After restoring an old configuration, my ReadyNAS no longer finishes booting, readynasd fails to start because of an SQL error:

 

Jul 29 14:23:46 STORAGE readynasd[4733]:  ==> 0:0 (success)

Jul 29 14:23:46 STORAGE readynasd[4733]: sql=UPDATE service_cifs SET enabled=0

Jul 29 14:23:46 STORAGE readynasd[4733]:  ==> 0:0 (success)

Jul 29 14:23:46 STORAGE readynasd[4733]: sql=INSERT INTO service_cifs (enabled) VALUES(0)

Jul 29 14:23:46 STORAGE readynasd[4733]:  ==> 0:19 (NOT NULL constraint failed: service_cifs.user_home_directory)

Jul 29 14:23:46 STORAGE readynasd[4733]: SQL=INSERT INTO service_cifs (enabled) VALUES(0) ==> 19 (NOT NULL constraint failed: service_cifs.user_home_directory)

Jul 29 14:23:46 STORAGE readynasd[4733]: Failed to INSERT INTO service_cifs

Jul 29 14:23:47 STORAGE readynasd[4733]: sql=ROLLBACK

Jul 29 14:23:47 STORAGE readynasd[4733]:  ==> 0:0 (success)

Jul 29 14:23:47 STORAGE readynasd[4733]: rndb_import() ==> 1 (531ms)

Jul 29 14:23:47 STORAGE readynasd[4733]: Error rndb_import() ==> rc=1

Jul 29 14:23:47 STORAGE readynasd[4733]: dba import failed

 

How can I fix this?

 

3 Replies

Replies have been turned off for this discussion
  • JennC's avatar
    JennC
    NETGEAR Employee Retired

    Hello mks1,

     

    I have some questions to ask, please see them below:

     

    • What is the model number of your ReadyNAS?
    • What is the firmware version?
    • What are the apps installed to your ReadyNAS?
    • Are you getting an error message on the LCD display?

     

    Honestly this seems needs to be checked from the backend.

     

    Regards,

  • JennC's avatar
    JennC
    NETGEAR Employee Retired

    Hello mks1,

     

    We’d greatly appreciate hearing your feedback letting us know if the information we provided has helped resolve your issue or if you need further assistance. 

    If your issue is now resolved, we encourage you to mark the appropriate reply as the “Accept as Solution” or post what resolved it and mark it as solution so others can be confident in benefiting from the solution. 
     
    The Netgear community looks forward to hearing from you and being a helpful resource in the future!
     
    Regards,

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

      This error suggests a problem with /etc/samba/smb.conf

      It's not advisable to restore a configuration backup from old firmware as it may be incompatible with current firmware and break things.

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