Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  MX80 does not install the firmware

    Posted 04-15-2019 23:38

    MX80 does not install the firmware

     

     

    MX80> request system software add jinstall-ppc-15.1R6.7-domestic-signed.tgz

    NOTICE: Validating configuration against jinstall-ppc-15.1R6.7-domestic-signed.tgz.
    NOTICE: Use the 'no-validate' option to skip this if desired.
    Checking compatibility with configuration
    Initializing...
    Using jbase-ppc-12.3R6.6
    Verified manifest signed by PackageProduction_12_3_0
    Using /var/home/stellar/jinstall-ppc-15.1R6.7-domestic-signed.tgz
    Verified jinstall-ppc-15.1R6.7-domestic.tgz signed by PackageProductionRSA_2017
    Using jinstall-ppc-15.1R6.7-domestic.tgz
    Using jbundle-ppc-15.1R6.7-domestic.tgz

    Checking jbundle-ppc requirements on /
    Using jbase-ppc-15.1R6.7.tgz
    Verified manifest signed by PackageProductionRSA_2017
    Verified jbase-ppc-15.1R6.7 signed by PackageProductionRSA_2017
    Using /var/validate/chroot/tmp/jbundle-ppc/jboot-ppc-15.1R6.7.tgz
    Using jcrypto-ppc-15.1R6.7.tgz
    Verified manifest signed by PackageProductionRSA_2017
    Verified jcrypto-ppc-15.1R6.7 signed by PackageProductionRSA_2017
    Using jdocs-15.1R6.7.tgz
    Verified manifest signed by PackageProductionRSA_2017
    Verified jdocs-15.1R6.7 signed by PackageProductionRSA_2017
    Using jkernel-ppc-15.1R6.7.tgz
    Verified manifest signed by PackageProductionRSA_2017
    Verified jkernel-ppc-15.1R6.7 signed by PackageProductionRSA_2017
    Using jmacsec-15.1R6.7.tgz
    Verified manifest signed by PackageProductionRSA_2017
    Verified jmacsec-15.1R6.7 signed by PackageProductionRSA_2017
    Using jpfe-ppc-15.1R6.7.tgz
    Verified SHA1 checksum of jpfe-ACX-15.1R6.7.tgz
    Verified SHA1 checksum of jpfe-MX104-15.1R6.7.tgz
    Verified SHA1 checksum of jpfe-MX80-15.1R6.7.tgz
    tar: packages/jpfe-MX80-15.1R6.7: Wrote only 0 of 10240 bytes
    tar: Skipping to next header
    tar: packages/jpfe-MX80-15.1R6.7.ecerts: Wrote only 0 of 10240 bytes
    tar: Error exit delayed from previous errors
    ERROR: jpfe-15.1R6.7 fails post-install
    WARNING: Current configuration not compatible with /var/home/username/jinstall-ppc-15.1R6.7-domestic-signed.tgz

     

    # run show system software

    Comment:
    JUNOS Base OS Software Suite [12.3R6.6]

     

    Information for jdocs:

    Comment:
    JUNOS Online Documentation [12.3R6.6]

     

    Information for jkernel:

    Comment:
    JUNOS Kernel Software Suite [12.3R6.6]

     

    Information for jpfe:

    Comment:
    JUNOS Packet Forwarding Engine Support (MX80) [12.3R6.6]

     

    Information for jroute:

    Comment:
    JUNOS Routing Software Suite [12.3R6.6]

     

    Information for junos:

    Comment:
    JUNOS Base OS boot [12.3R6.6]

     

     

     

    # show chassis
    aggregated-devices {
    ethernet {
    device-count 6;
    }
    }
    network-services enhanced-ip;

     

    I do not have the ability to download firmware from the site. What versions of firmware can go to my product and how to get them? 32 Bit - MX Mid Range Series & ACX Series or MX Mid Range Series & ACX Series or WorldWide - MX Mid Range Series & ACX Series version 15.
    So which version can you choose from 19? Limited - MX Mid Range Series & ACX 500 / 1K / 2K / 4K or MX Mid Range Series & ACX 500 / 1K / 2K / 4K

    Thanks for attention!



  • 2.  RE: MX80 does not install the firmware

     
    Posted 04-16-2019 00:00

    Hi,

     

    Since you're upgrading from Non-Occam build (12.3) to Occam build (15.1), some of config knob have been depreciated, and there have changes base kernal,  please use "no-validate" knob to progress further.

     

    request system software add <package> no-validate

     

    and let me know how to it goes. Do not upgrade to JUNOS 19.1 directly (from your current version 12.3), first have node upgraded to junos 15.1Rx. In case if you do not have access to download JUNOS S/w from download page [https://support.juniper.net/support/downloads/] please contact juniper customer care and request for courtesy support case / one time s/w download link.

     

     

     

     

     

     

     

     

     

     



  • 3.  RE: MX80 does not install the firmware
    Best Answer

     
    Posted 04-16-2019 01:55

    Hello Ildar,

     

    It seems there is not enough space on your MX80:

     

    Verified SHA1 checksum of jpfe-MX80-15.1R6.7.tgz
    tar: packages/jpfe-MX80-15.1R6.7: Wrote only 0 of 10240 bytes <========
    tar: Skipping to next header
    tar: packages/jpfe-MX80-15.1R6.7.ecerts: Wrote only 0 of 10240 bytes
    tar: Error exit delayed from previous errors
    ERROR: jpfe-15.1R6.7 fails post-install
    WARNING: Current configuration not compatible with /var/home/username/jinstall-ppc-15.1R6.7-domestic-signed.tgz

     

     

    Can you please try running "request system storage cleanup dry-run" first to see the list of files that can be deleted, and then "request system storage cleanup" to delete them?

     

    You should use "MX Mid Range Series & ACX Series" unless your country is Russia, Belarus and Kazakhstan (for more details, please see TSB16657).

     

    Regarding the choice of a version, indeed there were some major changes in 15.1 and later releases, and you may observe some unusual behavior. 19.1 is probably too fresh - I'd recommend trying 16.1 first as more mature and widely used release.

     

    HTH

     

    Best regards,

    Sergii

    -------------------------------------------------------------------

    Please accept the solution if your problem is resolved

    -------------------------------------------------------------------



  • 4.  RE: MX80 does not install the firmware

    Posted 04-17-2019 02:54

    Thank you guys for the answers! (Im from Russia) Here is a list of files. 

     

    MX80> request system storage cleanup dry-run

    List of files to delete:

    Size Date Name
    163.2K Mar 16 2016 /var/log/chassisd.0.gz
    71.8K Sep 24 2013 /var/log/dcd.0.gz
    632B Apr 16 09:34 /var/log/install.0.gz
    632B Apr 16 06:53 /var/log/install.1.gz
    632B Apr 15 17:01 /var/log/install.2.gz
    1010B Dec 18 2014 /var/log/install.3.gz
    793B Mar 12 2012 /var/log/install.4.gz
    914B Mar 11 2012 /var/log/install.5.gz
    58.8K Feb 8 2013 /var/log/interactive-commands.1.gz
    57.7K Nov 29 2012 /var/log/interactive-commands.2.gz
    63.7K Oct 29 2012 /var/log/interactive-commands.3.gz
    55.1K Apr 6 2012 /var/log/interactive-commands.4.gz
    56.9K Mar 16 2012 /var/log/interactive-commands.5.gz
    55.2K Mar 3 2012 /var/log/interactive-commands.7.gz
    50.5K Apr 17 11:12 /var/log/messages.0.gz
    57.0K Apr 15 12:15 /var/log/messages.1.gz
    53.1K Apr 11 12:45 /var/log/messages.3.gz
    51.2K Apr 10 15:00 /var/log/messages.4.gz
    52.0K Apr 10 01:15 /var/log/messages.5.gz
    52.3K Apr 9 09:30 /var/log/messages.6.gz
    54.5K Apr 8 12:15 /var/log/messages.7.gz
    52.3K Apr 7 16:30 /var/log/messages.8.gz
    53.3K Apr 6 19:15 /var/log/messages.9.gz
    1149B Mar 18 2013 /var/log/mib2d.0.gz
    1221B Mar 18 2013 /var/log/mib2d.1.gz
    935B Mar 18 2013 /var/log/mib2d.2.gz
    1175B Mar 18 2013 /var/log/mib2d.3.gz
    536B Mar 18 2013 /var/log/rmopd.0.gz
    748B Mar 18 2013 /var/log/rmopd.1.gz
    654B Mar 18 2013 /var/log/rmopd.2.gz
    698B Mar 18 2013 /var/log/rmopd.3.gz
    785B Apr 17 11:12 /var/log/smartd.trace.0.gz
    1124B Mar 18 2013 /var/log/snmpd.0.gz
    1017B Mar 18 2013 /var/log/snmpd.1.gz
    1082B Mar 18 2013 /var/log/snmpd.2.gz
    489B Mar 18 2013 /var/log/snmpd.3.gz
    1093B Apr 17 11:11 /var/log/wtmp.0.gz
    439B Mar 29 13:35 /var/log/wtmp.1.gz
    487B Mar 1 13:30 /var/log/wtmp.2.gz
    604B Feb 1 13:26 /var/log/wtmp.3.gz
    551B Jan 4 13:27 /var/log/wtmp.4.gz
    147.1M Jan 15 2012 /var/sw/pkg/jbundle-ppc-11.2R1.10.tgz
    170.1M Mar 11 2012 /var/sw/pkg/jbundle-ppc-11.4R1.14.tgz
    130.1M Dec 18 2014 /var/sw/pkg/jbundle-ppc-12.3R6.6.tgz
    177.8M Mar 11 2012 /var/sw/pkg/jinstall-ppc-11.4R1.14-domestic-signed.tgz
    138.7M Dec 18 2014 /var/sw/pkg/jinstall-ppc-12.3R6.6-export-signed.tgz
    30B Jan 15 2012 /var/tmp/ex.txt
    124.0K Apr 17 06:11 /var/tmp/gres-tp/env.dat
    0B Jan 15 2012 /var/tmp/gres-tp/lock
    143.3M Mar 12 2012 /var/tmp/jinstall-ppc-10.4R1.9-domestic-signed.tgz
    177.8M Mar 11 2012 /var/tmp/jinstall-ppc-11.4R1.14-domestic-signed.tgz
    138.7M Oct 29 2014 /var/tmp/jinstall-ppc-12.3R6.6-export-signed.tgz
    155B Aug 20 2013 /var/tmp/krt_gencfg_filter.txt
    724.0K Nov 20 2013 /var/tmp/login.core.0
    748.0K Nov 20 2013 /var/tmp/login.core.1
    237B Dec 18 2014 /var/tmp/preinstall_boot_loader.conf
    628.5M Dec 1 2016 /var/tmp/rpd.core.0
    56.6M Dec 1 2016 /var/tmp/rpd_XXXXXXXX.XXXXXX-tarball.0.tgz
    0B Apr 17 06:14 /var/tmp/rtsdb/if-rtsdb
    1424B Apr 17 06:14 /var/tmp/sampled.pkts

     

    I tried to delete files through the start shell. Failed. Here is what the system outputs:
    % rm jinstall-ppc-11.4R1.14-domestic-signed.tgz
    override rw-r - r-- 2003 / field for jinstall-ppc-11.4R1.14-domestic-signed.tgz?
    I press enter.

    % ls
    ex.txt krt_gencfg_filter.txt

    rpd_XXXXXXXX.XXXXXX-tarball.0.tgz
    gres-tp login.core.0 rtsdb
    install login.core.1 sampled.pkts
    jinstall-ppc-10.4R1.9-domestic-signed.tgz pics vi.recover
    jinstall-ppc-11.4R1.14-domestic-signed.tgz preinstall_boot_loader.conf
    jinstall-ppc-12.3R6.6-export-signed.tgz rpd.core.0


    But the file is still not deleted.

     

     

    Spoiler
    Can you please try running "request system storage cleanup dry-run" first to see the list of files that can be deleted, and then "request system storage cleanup" to delete them?

    If I enter the "request system storage cleanup" command, what will it remove? And which files can be removed painlessly? Thanks again!

     

     



  • 5.  RE: MX80 does not install the firmware

     
    Posted 04-17-2019 03:35

    Hello Ildar,

     

    You're welcome! All files listed in the output of "request system storage cleanup dry-run" will be deleted when you issue "request system storage cleanup" command (without dry-run option) - e.g. only files that are not needed for system to be operational will be removed.

    It should be possible to delete any file you need if you have the root password (start shell user root, and then delete them from shell as a root).

     

    HTH

     

    Best regards,

    Sergii

    -------------------------------------------------------------------

    Please accept the solution if your problem is resolved Smiley Happy

    -------------------------------------------------------------------



  • 6.  RE: MX80 does not install the firmware

    Posted 04-30-2019 00:22

    Big thanks guys! Removed old firmware files from under the root. Made an update of the OS. Everything is good. The problem was just the lack of free space.



  • 7.  RE: MX80 does not install the firmware

     
    Posted 04-30-2019 00:34

    Hello Ildar,

     

    I'm happy to hear that your problem has been resolved!

    It would be great if you could mark one of the posts as "Accepted solution", so other community members could benefit from your query too.

     

    Best regards,

    Sergii



  • 8.  RE: MX80 does not install the firmware

    Posted 05-01-2019 04:35

    Ok!

    Even after updating the firmware, it is necessary to update the backup part with the command:
    > request system snapshot

     

    I also used the command to clean unnecessary files:
    > request system storage cleanup

     

    I am currently using jinstall-ppc-15.1R6.7-domestic-signed.tgz