Junos OS

last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  Commit Errors

    Posted 04-13-2009 08:33

    Greetings,

     

    How can I salvage the configuration database as I am getting the following errors:

     

    admin@Tokyo# commit
    error: could not open configuration database (juniper.data+)

    [edit]
    admin@Tokyo#

    [edit]

    admin@Tokyo# commit
    error: /config/juniper.conf+: was not properly closed: Unknown error: 0
    error: commit failed: commit to file failed during export to /config/juniper.conf+

    [edit]
    admin@Tokyo#



  • 2.  RE: Commit Errors
    Best Answer

    Posted 04-13-2009 08:45

     

    Hello Frank-Lu,

     

     Here's what I would do (while connected via console!)

     

    1. show configuration | no-more | save current-config

    (I'd also recommend to take a local backup to your workstation as well, just in case)

     

    2. start shell user root

    <enter password>

     

    3. cd /config

     

    4. rm -f juniper.conf+

     

    5. exit from shell

     

    6. enter configuration mode and do a 'load override current-config' & commit

     

    HTH,

    Erdem



  • 3.  RE: Commit Errors

    Posted 04-15-2009 10:48

    Erdem,

     

    It works! Thanks so much!