Junos OS

last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  Commit failed, need help about [KB21759]

    Posted 09-19-2011 06:50

    Hi:

    I am facing problem with a SRX240H while I try to commit the following error message comes...

     

    error: /config/juniper.conf+: write failed: Broken pipe

    error: /config/juniper.conf+: was not properly closed: Broken pipe

    error: commit failed: commit to file failed during export to /config/juniper.con

    f+

     

    I search and I found the following KB relevant to my problem.

     

    [KB21759]

     

    Please follow the KB from the following link

    http://kb.juniper.net/InfoCenter/index?page=content&id=KB21759&actp=search&viewlocale=en_US&searchid=1316416595868

    But regarding this KB I am facing problem in step 4 (four) after edit I try to save the file by ":!w" or ":x" it did not saved, no change happen on the file.

     

    So any body can HELP....

     

    Regards,

    Nasim Ahmed.



  • 2.  RE: Commit failed, need help about [KB21759]
    Best Answer

    Posted 09-19-2011 12:06

    bsdlabel uses the default system editor.

     

    You should be able to use :wq! or :w! to save the edited item.

     

    It looks like my Junos device all use vi as the default editor but I do not have an SRX to verity this against.

     

    If, for some reason, the SRX uses another editor you could set the editor to vi by running 'which vi' and then 'set EDITOR=/path/to/vi' prior to using bsdlabel as this will force the system to use vi and :wq! will work.

     



  • 3.  RE: Commit failed, need help about [KB21759]

    Posted 09-21-2011 03:23
    Thanks year... you saved lots of our money from the RMA process... Thanks again for the nice solutions. Regards, Nasim Ahmed.