Switching

last person joined: 3 days ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  error: failed to copy file '//var/etc/stp_context.id' to 'fpc1'

    Posted 07-21-2016 01:11

    Hi,

    I have a VC of 6 ex4300 switches. after some chnages I am trying to commit the chnages but getting below error and chnages not take effect:

    root@core1# commit
    fpc0:
    configuration check succeeds
    error: failed to copy file '//var/etc/stp_context.id' to 'fpc1'.

     

    i also tried with commit sync but not resolved. even switch has enough storage space. please suggest how this issue can be fixed.

     

    Regards

    Parveen Kumar



  • 2.  RE: error: failed to copy file '//var/etc/stp_context.id' to 'fpc1'

    Posted 07-21-2016 01:14

    running junos version is 13.2X51-D26.2



  • 3.  RE: error: failed to copy file '//var/etc/stp_context.id' to 'fpc1'

    Posted 07-21-2016 02:35

    Praveen,

     

    Try executing commit " commit synchronize | display detail | no-more" 



  • 4.  RE: error: failed to copy file '//var/etc/stp_context.id' to 'fpc1'

    Posted 07-21-2016 02:54

    Hi Pavan,

    I have already try this, below is the result:

    root@core1# commit synchronize | display detail | no-more
    2016-07-21 09:50:31 UTC: obtaining db lock on fpc1
    2016-07-21 09:50:32 UTC: obtaining db lock on fpc2
    2016-07-21 09:50:32 UTC: obtaining db lock on fpc3
    2016-07-21 09:50:32 UTC: obtaining db lock on fpc4
    2016-07-21 09:50:33 UTC: obtaining db lock on fpc5
    2016-07-21 09:50:33 UTC: start loading commit script changes
    2016-07-21 09:50:33 UTC: no commit script changes
    2016-07-21 09:50:33 UTC: no transient commit script changes
    2016-07-21 09:50:33 UTC: finished loading commit script changes
    2016-07-21 09:50:33 UTC: copying juniper.db to juniper.data+
    2016-07-21 09:50:33 UTC: finished copying juniper.db to juniper.data+
    2016-07-21 09:50:33 UTC: exporting juniper.conf
    2016-07-21 09:50:33 UTC: expanding interface-ranges
    2016-07-21 09:50:33 UTC: finished expanding interface-ranges
    2016-07-21 09:50:33 UTC: expanding groups
    2016-07-21 09:50:33 UTC: finished expanding groups
    2016-07-21 09:50:33 UTC: setup foreign files
    2016-07-21 09:50:33 UTC: update license counters
    2016-07-21 09:50:33 UTC: finish license counters
    2016-07-21 09:50:33 UTC: propagating foreign files
    2016-07-21 09:50:33 UTC: complete foreign files
    2016-07-21 09:50:33 UTC: dropping unchanged foreign files
    2016-07-21 09:50:33 UTC: executing 'ffp propagate'
    2016-07-21 09:50:34 UTC: daemons checking new configuration
    configuration check succeeds
    2016-07-21 09:50:34 UTC: executing 'ffp synchronize'
    2016-07-21 09:50:34 UTC: copying file '//var/etc/stp_context.id' to 'fpc1'
    error: failed to copy file '//var/etc/stp_context.id' to 'fpc1'

     

    May fpc0 reboot can fix this issue. please suggest.



  • 5.  RE: error: failed to copy file '//var/etc/stp_context.id' to 'fpc1'

    Posted 07-21-2016 02:59

    or may i try commit synchronize force



  • 6.  RE: error: failed to copy file '//var/etc/stp_context.id' to 'fpc1'
    Best Answer

    Posted 08-12-2016 06:02

    Hi,

    I opened TAC case and then tac suggest me to reimage fpc1 with same junos version. I tried but i am failed but the error shown pointed me to fpc0. while upgrading error was as below:

    root@core1> request system software add /var/tmp/jinstall-ex-4300-13.2X51-D26.2-domestic-signed.tgz member 1

    Checking pending install on fpc1
    Pushing bundle to fpc1
    rcmd: socket: Can't assign requested address
    rcmd: socket: Can't assign requested address
    error: Failed to transfer package to fpc1
    rcmd: socket: Can't assign requested address
    rcmd: socket: Can't assign requested address
    error: Failed to remove bundle </var/tmp/jinstall-ex-4300-13.2X51-D26.2-domestic-signed.tgz> from fpc1

     

    there might be issue with fpc0. I reboot fpc1 (backup re) first but the isssue not get resolved. finally I reboot the fpc0 and then try commit and found this is working.

     

    Regards

    Parveen