Switching

 View Only
last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
Expand all | Collapse all

EX2300 Switch Upgrade Error

  • 1.  EX2300 Switch Upgrade Error

    Posted 12-16-2020 03:14
    Hello,

    My switch model is :  ex2300-24t

    When i execute upgrade command, im getting following error messages . 

    root@juniper> request system software add /var/tmp/junos-arm-32-18.2R3-S5.3.tgz
    veriexec: /usr/libexec/atexit.sh: Authentication error
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    veriexec: /usr/libexec/ui/package_hooks.d/package_ex_install_hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOn: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: run_hooks: not found

    I implemented  the instructions following link but i still have some errors. 

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB31198&actp=METADATA

    root@juniper> request system software add /var/tmp/os-package.tgz
    veriexec: /usr/libexec/atexit.sh: Authentication error
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    veriexec: /usr/libexec/ui/package_hooks.d/package_ex_install_hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOn: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOff: not found
    /usr/libexec/ui/package: run_hooks: not found
    Verified os-package signed by PackageDevelopmentEc_2019 method ECDSA256+SHA256
    /usr/sbin/pkg: package os-package-20191113.002318_sjg_stable_11 is already installed

    {master:0}
    root@juniper> request system software add /var/tmp/?
    Possible completions:
    <[Enter]> Execute this command
    <package-name> URL or pathname of package
    /var/tmp/gres-tp-tomcat/ Last changed: Apr 29 00:46:43
    /var/tmp/package-hooks-ex.tgz Size: 17490, Last changed: Dec 16 11:07:21
    /var/tmp/package.log Size: 66, Last changed: Dec 16 11:07:40
    /var/tmp/pc/ Last changed: Feb 21 2017
    /var/tmp/pics/ Last changed: Feb 21 2017
    /var/tmp/rtsdb/ Last changed: Apr 29 00:46:44
    /var/tmp/sd-upgrade/ Last changed: Feb 21 2017
    {master:0}
    root@juniper> request system software add /var/tmp/package-hooks-ex.tgz
    veriexec: /usr/libexec/atexit.sh: Authentication error
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    veriexec: /usr/libexec/ui/package_hooks.d/package_ex_install_hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOn: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOff: not found
    /usr/libexec/ui/package: run_hooks: not found
    Verified package-hooks-ex signed by PackageDevelopmentEc_2019 method ECDSA256+SHA256
    /usr/sbin/pkg: package package-hooks-ex-arm-32-20191022.160523_sjg_dev_common is already installed

    {master:0}
    root@juniper> request system software add /var/tmp/junos-arm-32-20.2R1.10.tgz
    veriexec: /usr/libexec/atexit.sh: Authentication error
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    veriexec: /usr/libexec/ui/package_hooks.d/package_ex_install_hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOn: not found
    /usr/libexec/ui/package: run_hooks: not found

    Could someone advise please?

    Thanks.


    ------------------------------
    CAGRI TUNCER
    ------------------------------


  • 2.  RE: EX2300 Switch Upgrade Error

    Posted 12-16-2020 08:17
    Good Day Cagri,

    You experience this issue most likely due to insufficient space.
    Even though you followed the instructions from the highlighted KB, you could still have not enough space available for the installation.
    The workaround is to manually check the partitions, there could be some leftovers from previous installations.
    Please check namely folders /packages/db and /var/tmp for the big package files from previous JunOS versions and delete them.

    If the installation will fail after it, please provide listings of mentioned two folders and "show system storage" output, we will help you to make it work.

    Thanks,
    Deimos.


  • 3.  RE: EX2300 Switch Upgrade Error

    Posted 12-17-2020 04:23

    Hello,

    There is quite a lot of folders in /packages/db directory. To prevend any confusion can you please check and tell me which folders should i delete?

    /packages/db/fips-mode-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/fips-mode-arm-32-20200625.123713_builder_junos_202_r1/ Last changed: Dec 17 12:20:27
    /packages/db/jail-runtime-arm-32-20161226.342161_builder_head/ Last changed: Feb 21 2017
    /packages/db/jail-runtime-arm-32-20200608.0016468_builder_stable_11/ Last changed: Dec 17 12:20:33
    /packages/db/jdocs-ex-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/jdocs-ex-arm-32-20200625.123713_builder_junos_202_r1/ Last changed: Dec 17 12:20:37
    /packages/db/jpfe-EX34XX-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/jpfe-EX34XX-arm-32-20200625.123713_builder_junos_202_r1/ Last changed: Dec 17 12:20:46
    /packages/db/jphone-home-arm-32-20200625.123713_builder_junos_202_r1/ Last changed: Dec 17 12:20:51
    /packages/db/jsd-arm-32-20.2R1.10-jet-1/ Last changed: Dec 17 12:20:54
    /packages/db/junos-arm-32-20.2R1.10/ Last changed: Dec 17 12:20:12
    /packages/db/junos-daemons-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-dp-crypto-support-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-dp-crypto-support-mtx-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-libs-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-libs-ex-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-modules-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-modules-ex-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-net-prd-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-platform-ex-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-runtime-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/junos-runtime-ex-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/jweb-ex-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/os-crypto-arm-32-20161226.342161_builder_head/ Last changed: Feb 21 2017
    /packages/db/os-kernel-prd-arm-32-20161226.342161_builder_head/ Last changed: Feb 21 2017
    /packages/db/os-libs-11-arm-32-20161226.342161_builder_head/ Last changed: Feb 21 2017
    /packages/db/os-package-20191113.002318_sjg_stable_11/ Last changed: Oct 30 13:35:56
    /packages/db/os-runtime-arm-32-20161226.342161_builder_head/ Last changed: Feb 21 2017
    /packages/db/os-zoneinfo-arm-32-20161226.342161_builder_head/ Last changed: Feb 21 2017
    /packages/db/package-hooks-ex-arm-32-20191022.160523_sjg_dev_common/ Last changed: Oct 30 13:36:13
    /packages/db/py-base-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017
    /packages/db/py-extensions-arm-32-20161230.114620_builder_junos_151_x53_d55/ Last changed: Feb 21 2017

    Many thanks in advance..



    ------------------------------
    CAGRI TUNCER
    ------------------------------



  • 4.  RE: EX2300 Switch Upgrade Error

    Posted 12-17-2020 07:38

    Good Day Cagri,

    Thank you for the provided output!

    What JunOS version is currently running on the box?

    Please share "show version" output.

    Thanks,

    Deimos.




  • 5.  RE: EX2300 Switch Upgrade Error

    Posted 12-17-2020 09:11

    Hello,

    Please see show version output below

    root@juniper> show version
    fpc0:
    --------------------------------------------------------------------------
    Hostname: juniper
    Model: ex2300-24t
    Junos: 15.1X53-D55.5
    JUNOS OS Kernel 32-bit [20161226.342161_builder_head]
    JUNOS OS libs [20161226.342161_builder_head]
    JUNOS OS runtime [20161226.342161_builder_head]
    JUNOS OS time zone information [20161226.342161_builder_head]
    JUNOS py extensions [20161230.114620_builder_junos_151_x53_d55]
    JUNOS py base [20161230.114620_builder_junos_151_x53_d55]
    JUNOS libs [20161230.114620_builder_junos_151_x53_d55]
    JUNOS runtime [20161230.114620_builder_junos_151_x53_d55]
    JUNOS package hooks ex [20191022.160523_sjg_dev_common]
    JUNOS OS package [20191113.002318_sjg_stable_11]
    JUNOS OS crypto [20161226.342161_builder_head]
    JUNOS network stack and utilities [20161230.114620_builder_junos_151_x53_d55]
    JUNOS Web Management Platform Package [20161230.114620_builder_junos_151_x53_d55]
    JUNOS ex libs [20161230.114620_builder_junos_151_x53_d55]
    JUNOS ex runtime [20161230.114620_builder_junos_151_x53_d55]
    JUNOS ex platform support [20161230.114620_builder_junos_151_x53_d55]
    JUNOS modules [20161230.114620_builder_junos_151_x53_d55]
    JUNOS ex modules [20161230.114620_builder_junos_151_x53_d55]
    JUNOS Data Plane Crypto Support [20161230.114620_builder_junos_151_x53_d55]
    JUNOS mtx Data Plane Crypto Support [20161230.114620_builder_junos_151_x53_d55]
    JUNOS daemons [20161230.114620_builder_junos_151_x53_d55]
    JUNOS Packet Forwarding Engine Support (EX34XX) [20161230.114620_builder_junos_151_x53_d55]
    JUNOS jdocs ex [20161230.114620_builder_junos_151_x53_d55]
    JUNOS jail runtime [20161226.342161_builder_head]
    JUNOS FIPS mode utilities [20161230.114620_builder_junos_151_x53_d55]



    ------------------------------
    CAGRI TUNCER
    ------------------------------



  • 6.  RE: EX2300 Switch Upgrade Error

    Posted 12-18-2020 06:56

    Good Day Cagri,

    Well, I could in /packages/db only files of current JunOS version 151_x53_d55 created on Feb 21 2017 and files of newly installing JunOS version 202_r1 created on  Dec 17.

    Plus os-package and hooks files created on  Oct 30.

    Nothing that we can easily delete from here.

    Ok, next step - check /var/tmp directory.

    Or maybe even more effective check big files as proposed by tgreaser in previous post:

     find / -size +100000

    or something more precise like:

    find / -xdev -type f -size +10M -exec du -sh {} ';' | sort -rh | head-n20

    Hopefully this command will let us find some unnecessary files which we can delete.

    Thanks,

    Deimos.




  • 7.  RE: EX2300 Switch Upgrade Error

    Posted 12-21-2020 02:59

    Hello  Deimos,

    I executed the command and sharing the output below.

    root@juniper:RE:0% find / -xdev -type f -size +10M -exec du -sh {} ';' | sort -rh | head -n20
    342M /var/tmp/junos-arm-32-20.2R1.10.tgz
    96M /packages/db/junos-runtime-arm-32-20161230.114620_builder_junos_151_x53_d55/contents/contents.izo
    34M /packages/db/jpfe-EX34XX-arm-32-20200625.123713_builder_junos_202_r1/contents/contents.izo
    29M /packages/db/junos-libs-arm-32-20200625.123713_builder_junos_202_r1/contents/contents.izo
    27M /packages/db/.16328.oam-ve.tgz/contents/kernel/boot/contents.iso
    23M /packages/db/junos-runtime-ex-arm-32-20200625.123713_builder_junos_202_r1/contents/contents.izo
    22M /packages/db/jpfe-EX34XX-arm-32-20161230.114620_builder_junos_151_x53_d55/contents/contents.izo
    19M /var/run/db/schema.db
    19M /packages/db/jail-runtime-arm-32-20200608.0016468_builder_stable_11/contents.iso
    19M /packages/db/.16328.jail-runtime.tgz/contents.iso
    18M /packages/db/jweb-ex-arm-32-20161230.114620_builder_junos_151_x53_d55/contents/contents.iso
    16M /packages/db/jail-runtime-arm-32-20161226.342161_builder_head/contents.iso
    15M /packages/db/junos-libs-arm-32-20161230.114620_builder_junos_151_x53_d55/contents/contents.izo
    15M /packages/db/.16328.os-kernel-prd.tgz/boot/kernel
    15M /packages/db/.16328.oam-ve.tgz/contents/kernel/boot/kernel
    14M /packages/db/os-kernel-prd-arm-32-20161226.342161_builder_head/boot/kernel
    14M /packages/db/junos-runtime-ex-arm-32-20161230.114620_builder_junos_151_x53_d55/contents/contents.izo
    13M /packages/db/junos-openconfig-arm-32-20.2R1.10/contents/contents.iso
    12M /packages/db/junos-net-prd-arm-32-20200625.123713_builder_junos_202_r1/boot/netstack.ko
    11M /packages/db/junos-platform-ex-arm-32-20200625.123713_builder_junos_202_r1/contents/contents.izo

    Thanks.



    ------------------------------
    CAGRI TUNCER
    ------------------------------



  • 8.  RE: EX2300 Switch Upgrade Error

    Posted 12-21-2020 04:34

    root@juniper:RE:0% find / -xdev -type f -size +10M -exec du -sh {} ';' | sort -rh | head -n20
    19M /var/run/db/schema.db
    root@juniper:RE:0% cli
    ü{master:0}
    root@juniper> show system st
    ^
    'st' is ambiguous.
    Possible completions:
    statistics Show statistics for protocol
    storage Show local storage data
    {master:0}
    root@juniper> show system storage
    fpc0:
    --------------------------------------------------------------------------
    Filesystem Size Used Avail Capacity Mounted on
    /dev/md0.uzip 18M 18M 0B 100% /
    devfs 1.0K 1.0K 0B 100% /dev
    /dev/gpt/junos 1.3G 289M 967M 23% /.mount
    devfs 1.0K 1.0K 0B 100% /.mount/dev
    /dev/md1.uzip 19M 19M 0B 100% /.mount/packages/mnt/os-libs-11
    /dev/md2.uzip 19M 19M 0B 100% /.mount/packages/mnt/os-runtime
    tmpfs 1.1G 164K 1.1G 0% /.mount/tmp
    procfs 4.0K 4.0K 0B 100% /.mount/proc
    /dev/md3.uzip 1.6M 1.6M 0B 100% /.mount/packages/mnt/os-zoneinfo32-29d6bbbb
    /dev/md4.uzip 4.6M 4.6M 0B 100% /.mount/packages/mnt/py-extensions32-ac585f84
    /dev/md5.uzip 13M 13M 0B 100% /.mount/packages/mnt/py-base32-744cf31e
    /dev/md6.uzip 6.1M 6.1M 0B 100% /.mount/packages/mnt/os-crypto
    /dev/md7.uzip 4.0M 4.0M 0B 100% /.mount/packages/mnt/junos-net
    /dev/md8.uzip 54M 54M 0B 100% /.mount/packages/mnt/junos-libs
    /dev/md9.uzip 284M 284M 0B 100% /.mount/packages/mnt/junos-runtime
    /dev/md10 18M 18M 0B 100% /.mount/packages/mnt/jweb-ex32-7ecadc95
    /var/jail/etc 1.3G 289M 967M 23% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/etc
    /var/jail/run 1.3G 289M 967M 23% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/run
    /var/jail/tmp 1.3G 289M 967M 23% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/tmp
    /var/tmp 1.3G 289M 967M 23% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/tmp/uploads
    devfs 1.0K 1.0K 0B 100% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/dev
    /dev/md11 15M 15M 0B 100% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/rt
    /var/jail/jweb-app 1.3G 289M 967M 23% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/jweb-app
    /dev/md12.uzip 146K 146K 0B 100% /.mount/packages/mnt/junos-libs-ex
    /dev/md13.uzip 33M 33M 0B 100% /.mount/packages/mnt/junos-runtime-ex
    /dev/md14.uzip 29M 29M 0B 100% /.mount/packages/mnt/junos-platform-ex
    /dev/md15.uzip 420K 420K 0B 100% /.mount/packages/mnt/junos-modules32-7d5dc562
    /dev/md16.uzip 844K 844K 0B 100% /.mount/packages/mnt/junos-modules-ex32-fb529958
    /dev/md17.uzip 4.7M 4.7M 0B 100% /.mount/packages/mnt/junos-dp-crypto-support32-e72743c0
    /dev/md18.uzip 10M 10M 0B 100% /.mount/packages/mnt/junos-dp-crypto-support-mtx32-929273a6
    /dev/md19.uzip 7.1M 7.1M 0B 100% /.mount/packages/mnt/junos-daemons32-64bf4baa
    /dev/md20.uzip 126M 126M 0B 100% /.mount/packages/mnt/jpfe-EX34XX32-9602c9cc
    /dev/md21.uzip 11M 11M 0B 100% /.mount/packages/mnt/jdocs-ex32-b6ca486e
    /dev/md22.uzip 6.1M 6.1M 0B 100% /.mount/packages/mnt/fips-mode32-eebc2288
    tmpfs 325M 17M 308M 5% /.mount/mfs
    /dev/md23.uzip 388K 388K 0B 100% /.mount/packages/mnt/os-package32-42671f56
    /dev/md24.uzip 84K 84K 0B 100% /.mount/packages/mnt/package-hooks-ex32-e55c5eee

    root@juniper> request system software add /var/tmp/junos-arm-32-20.2R1.10.tgz force unlink
    veriexec: /usr/libexec/atexit.sh: Authentication error
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    veriexec: /usr/libexec/ui/package_hooks.d/package_ex_install_hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOn: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOff: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: run_hooks: not found
    NOTICE: Validating configuration against junos-arm-32-20.2R1.10.tgz.
    NOTICE: Use the 'no-validate' option to skip this if desired.
    /usr/libexec/ui/package: atexit: not found
    Verified junos-arm-32-20.2R1.10 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-arm-32-20.2R1.10 ...
    Verified fips-mode signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding fips-mode-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified jail-runtime signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified jdocs-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jdocs-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified jpfe-EX34XX signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified jphone-home signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jphone-home-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified jsd-jet-1 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jsd-arm-32-20.2R1.10-jet-1 ...
    Verified jsdn signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jsdn-arm-32-20.2R1.10 ...
    Verified junos-daemons signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-daemons-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-dp-crypto-support-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-dp-crypto-support-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-libs-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-libs-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-libs signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-libs-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-modules-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-modules-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-modules signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-modules-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-net-dcp-prd signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-net-dcp-prd-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-net-prd signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-net-prd-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-openconfig signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-openconfig-arm-32-20.2R1.10 ...
    Verified junos-platform-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-platform-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-runtime-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-runtime-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-runtime signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-runtime-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified jweb-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jweb-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified na-telemetry signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding na-telemetry-arm-32-20.2R1.10 ...
    Verified oam-ve signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified os-boot-junos-ve signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified os-crypto signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-crypto-arm-32-20200608.0016468_builder_stable_11 ...
    Verified os-kernel-prd signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-kernel-prd-arm-32-20200608.0016468_builder_stable_11 ...
    Verified os-libs signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-libs-11-arm-32-20200608.0016468_builder_stable_11 ...
    Verified os-runtime signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-runtime-arm-32-20200608.0016468_builder_stable_11 ...
    Verified os-zoneinfo signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-zoneinfo-20200608.0016468_builder_stable_11 ...
    Verified py-base signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding py-base-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified py-base2 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding py-base2-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified py-extensions signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding py-extensions-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified py-extensions2 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding py-extensions2-arm-32-20200625.123713_builder_junos_202_r1 ...
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    Initializing...
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Mounting os-libs-11-arm-32-20200608.0016468_builder_stable_11
    Mounting os-runtime-arm-32-20200608.0016468_builder_stable_11
    /packages/db/os-runtime-arm-32-20200608.0016468_builder_stable_11/scripts/mounted.sh: make_symlink: not found
    Mounting os-zoneinfo-20200608.0016468_builder_stable_11
    Mounting py-extensions2-arm-32-20200625.123713_builder_junos_202_r1
    Mounting py-extensions-arm-32-20200625.123713_builder_junos_202_r1
    Mounting py-base2-arm-32-20200625.123713_builder_junos_202_r1
    Mounting py-base-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-net-prd-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-libs-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-runtime-arm-32-20200625.123713_builder_junos_202_r1
    Mounting package-hooks-ex-arm-32-20191022.160523_sjg_dev_common
    Mounting os-package-20191113.002318_sjg_stable_11
    Mounting os-crypto-arm-32-20200608.0016468_builder_stable_11
    Mounting na-telemetry-arm-32-20.2R1.10
    Mounting jweb-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-libs-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-runtime-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-platform-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-openconfig-arm-32-20.2R1.10
    Mounting junos-modules-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-modules-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-dp-crypto-support-arm-32-20161230.114620_builder_junos_151_x53_d55
    Mounting junos-dp-crypto-support-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-daemons-arm-32-20200625.123713_builder_junos_202_r1
    Mounting jsdn-arm-32-20.2R1.10
    Mounting jsd-arm-32-20.2R1.10-jet-1
    Mounting jphone-home-arm-32-20200625.123713_builder_junos_202_r1
    mount: /var/tmp/phone-home: No such file or directory
    Failed to mount /var/tmp/phone-home/jail/dev
    mount_nullfs: /var/tmp/phone-home: No such file or directory
    mount_nullfs: /var/tmp/phone-home: No such file or directory
    mount_nullfs: /var/tmp/phone-home: No such file or directory
    Mounting jdocs-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting fips-mode-arm-32-20200625.123713_builder_junos_202_r1
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    Hardware Database regeneration succeeded
    Validating against /config/juniper.conf.gz
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Chassis control process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
    Chassis control process: <source-daemon>chassisd</source-daemon>
    Chassis control process: <edit-path>[edit interfaces]</edit-path>
    Chassis control process: <statement>xe-0/1/0</statement>
    Chassis control process: <message>INTERFACES_TYPE_UNIDIR: Error in parsing interface name</message>
    Chassis control process: </xnm:error>
    mgd: error: configuration check-out failed
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Validation failed
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugShell: not found
    Validating against /config/rescue.conf.gz
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Chassis control process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
    Chassis control process: <source-daemon>chassisd</source-daemon>
    Chassis control process: <edit-path>[edit interfaces]</edit-path>
    Chassis control process: <statement>xe-0/1/0</statement>
    Chassis control process: <message>INTERFACES_TYPE_UNIDIR: Error in parsing interface name</message>
    Chassis control process: </xnm:error>
    mgd: error: configuration check-out failed
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Validation failed
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugShell: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    umount: /var/tmp/phone-home/jail/etc: statfs: No such file or directory
    umount: /var/tmp/phone-home/jail/etc: unknown file system
    umount: /var/tmp/phone-home/jail/var/etc: statfs: No such file or directory
    umount: /var/tmp/phone-home/jail/var/etc: unknown file system
    umount: /var/tmp/phone-home/jail/var/run: statfs: No such file or directory
    umount: /var/tmp/phone-home/jail/var/run: unknown file system
    umount: $jailpath/dev: statfs: No such file or directory
    umount: $jailpath/dev: unknown file system
    rm: /var/tmp/phone-home/jail: No such file or directory
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    ERROR: Current configuration not compatible with junos-arm-32-20.2R1.10.tgz
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    realpath: /packages/sets/active/boot/os-kernel/kernel: No such file or directory



    ------------------------------
    CAGRI TUNCER
    ------------------------------



  • 9.  RE: EX2300 Switch Upgrade Error

    Posted 12-21-2020 12:04

    Good Day Cagri,

    Thank you for the provided outputs!

    You could delete the files related to 20.2R1 JunOS version, prior to new installation:

    /var/tmp/junos-arm-32-20.2R1.10.tgz

    /packages/db/jpfe-EX34XX-arm-32-20200625.123713_builder_junos_202_r1/contents/contents.izo

    /packages/db/junos-libs-arm-32-20200625.123713_builder_junos_202_r1/contents/contents.izo

    etc...

    Please let me know if it helps or not.

    Thanks,

    Deimos.




  • 10.  RE: EX2300 Switch Upgrade Error

    Posted 12-22-2020 03:40

    Hello Deimos,

    Unfortunately, it didn't work. Please let me know if there is anything else to do

    root@juniper> show system storage
    fpc0:
    --------------------------------------------------------------------------
    Filesystem Size Used Avail Capacity Mounted on
    /dev/md0.uzip 18M 18M 0B 100% /
    devfs 1.0K 1.0K 0B 100% /dev
    /dev/gpt/junos 1.3G 349M 907M 28% /.mount
    devfs 1.0K 1.0K 0B 100% /.mount/dev
    /dev/md1.uzip 19M 19M 0B 100% /.mount/packages/mnt/os-libs-11
    /dev/md2.uzip 19M 19M 0B 100% /.mount/packages/mnt/os-runtime
    tmpfs 1.1G 180K 1.1G 0% /.mount/tmp
    procfs 4.0K 4.0K 0B 100% /.mount/proc
    /dev/md3.uzip 1.6M 1.6M 0B 100% /.mount/packages/mnt/os-zoneinfo32-29d6bbbb
    /dev/md4.uzip 4.6M 4.6M 0B 100% /.mount/packages/mnt/py-extensions32-ac585f84
    /dev/md5.uzip 13M 13M 0B 100% /.mount/packages/mnt/py-base32-744cf31e
    /dev/md6.uzip 6.1M 6.1M 0B 100% /.mount/packages/mnt/os-crypto
    /dev/md7.uzip 4.0M 4.0M 0B 100% /.mount/packages/mnt/junos-net
    /dev/md8.uzip 54M 54M 0B 100% /.mount/packages/mnt/junos-libs
    /dev/md9.uzip 284M 284M 0B 100% /.mount/packages/mnt/junos-runtime
    /dev/md10 18M 18M 0B 100% /.mount/packages/mnt/jweb-ex32-7ecadc95
    /var/jail/etc 1.3G 349M 907M 28% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/etc
    /var/jail/run 1.3G 349M 907M 28% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/run
    /var/jail/tmp 1.3G 349M 907M 28% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/tmp
    /var/tmp 1.3G 349M 907M 28% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/tmp/uploads
    devfs 1.0K 1.0K 0B 100% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/dev
    /dev/md11 15M 15M 0B 100% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/rt
    /var/jail/jweb-app 1.3G 349M 907M 28% /.mount/packages/mnt/jweb-ex32-7ecadc95/jail/var/jweb-app
    /dev/md12.uzip 146K 146K 0B 100% /.mount/packages/mnt/junos-libs-ex
    /dev/md13.uzip 33M 33M 0B 100% /.mount/packages/mnt/junos-runtime-ex
    /dev/md14.uzip 29M 29M 0B 100% /.mount/packages/mnt/junos-platform-ex
    /dev/md15.uzip 420K 420K 0B 100% /.mount/packages/mnt/junos-modules32-7d5dc562
    /dev/md16.uzip 844K 844K 0B 100% /.mount/packages/mnt/junos-modules-ex32-fb529958
    /dev/md17.uzip 4.7M 4.7M 0B 100% /.mount/packages/mnt/junos-dp-crypto-support32-e72743c0
    /dev/md18.uzip 10M 10M 0B 100% /.mount/packages/mnt/junos-dp-crypto-support-mtx32-929273a6
    /dev/md19.uzip 7.1M 7.1M 0B 100% /.mount/packages/mnt/junos-daemons32-64bf4baa
    /dev/md20.uzip 126M 126M 0B 100% /.mount/packages/mnt/jpfe-EX34XX32-9602c9cc
    /dev/md21.uzip 11M 11M 0B 100% /.mount/packages/mnt/jdocs-ex32-b6ca486e
    /dev/md22.uzip 6.1M 6.1M 0B 100% /.mount/packages/mnt/fips-mode32-eebc2288
    tmpfs 325M 17M 308M 5% /.mount/mfs
    /dev/md23.uzip 388K 388K 0B 100% /.mount/packages/mnt/os-package32-42671f56
    /dev/md24.uzip 84K 84K 0B 100% /.mount/packages/mnt/package-hooks-ex32-e55c5eee

    root@juniper> request system software add /var/tmp/junos-arm-32-20.2R1.10.tgz force unlink no-copy
    veriexec: /usr/libexec/atexit.sh: Authentication error
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    /usr/libexec/ui/package: add_hooks: not found
    veriexec: /usr/libexec/ui/package_hooks.d/package_ex_install_hooks.sh: Authentication error
    /usr/libexec/ui/package: atexit: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOn: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: DebugOff: not found
    /usr/libexec/ui/package: run_hooks: not found
    /usr/libexec/ui/package: run_hooks: not found
    NOTICE: Validating configuration against junos-arm-32-20.2R1.10.tgz.
    NOTICE: Use the 'no-validate' option to skip this if desired.
    /usr/libexec/ui/package: atexit: not found
    Verified junos-arm-32-20.2R1.10 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-arm-32-20.2R1.10 ...
    Verified fips-mode signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding fips-mode-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified jail-runtime signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified jdocs-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jdocs-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified jpfe-EX34XX signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified jphone-home signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jphone-home-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified jsd-jet-1 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jsd-arm-32-20.2R1.10-jet-1 ...
    Verified jsdn signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jsdn-arm-32-20.2R1.10 ...
    Verified junos-daemons signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-daemons-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-dp-crypto-support-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-dp-crypto-support-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-libs-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-libs-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-libs signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-libs-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-modules-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-modules-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-modules signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-modules-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-net-dcp-prd signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-net-dcp-prd-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-net-prd signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-net-prd-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-openconfig signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-openconfig-arm-32-20.2R1.10 ...
    Verified junos-platform-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-platform-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-runtime-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-runtime-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified junos-runtime signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding junos-runtime-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified jweb-ex signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding jweb-ex-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified na-telemetry signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding na-telemetry-arm-32-20.2R1.10 ...
    Verified oam-ve signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified os-boot-junos-ve signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Verified os-crypto signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-crypto-arm-32-20200608.0016468_builder_stable_11 ...
    Verified os-kernel-prd signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-kernel-prd-arm-32-20200608.0016468_builder_stable_11 ...
    Verified os-libs signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-libs-11-arm-32-20200608.0016468_builder_stable_11 ...
    Verified os-runtime signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-runtime-arm-32-20200608.0016468_builder_stable_11 ...
    Verified os-zoneinfo signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding os-zoneinfo-20200608.0016468_builder_stable_11 ...
    Verified py-base signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding py-base-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified py-base2 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding py-base2-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified py-extensions signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding py-extensions-arm-32-20200625.123713_builder_junos_202_r1 ...
    Verified py-extensions2 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
    Adding py-extensions2-arm-32-20200625.123713_builder_junos_202_r1 ...
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    Initializing...
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Mounting os-libs-11-arm-32-20200608.0016468_builder_stable_11
    Mounting os-runtime-arm-32-20200608.0016468_builder_stable_11
    /packages/db/os-runtime-arm-32-20200608.0016468_builder_stable_11/scripts/mounted.sh: make_symlink: not found
    Mounting os-zoneinfo-20200608.0016468_builder_stable_11
    Mounting py-extensions2-arm-32-20200625.123713_builder_junos_202_r1
    Mounting py-extensions-arm-32-20200625.123713_builder_junos_202_r1
    Mounting py-base2-arm-32-20200625.123713_builder_junos_202_r1
    Mounting py-base-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-net-prd-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-libs-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-runtime-arm-32-20200625.123713_builder_junos_202_r1
    Mounting package-hooks-ex-arm-32-20191022.160523_sjg_dev_common
    Mounting os-package-20191113.002318_sjg_stable_11
    Mounting os-crypto-arm-32-20200608.0016468_builder_stable_11
    Mounting na-telemetry-arm-32-20.2R1.10
    Mounting jweb-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-libs-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-runtime-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-platform-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-openconfig-arm-32-20.2R1.10
    Mounting junos-modules-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-modules-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-dp-crypto-support-arm-32-20161230.114620_builder_junos_151_x53_d55
    Mounting junos-dp-crypto-support-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting junos-daemons-arm-32-20200625.123713_builder_junos_202_r1
    Mounting jsdn-arm-32-20.2R1.10
    Mounting jsd-arm-32-20.2R1.10-jet-1
    Mounting jphone-home-arm-32-20200625.123713_builder_junos_202_r1
    mount: /var/tmp/phone-home: No such file or directory
    Failed to mount /var/tmp/phone-home/jail/dev
    mount_nullfs: /var/tmp/phone-home: No such file or directory
    mount_nullfs: /var/tmp/phone-home: No such file or directory
    mount_nullfs: /var/tmp/phone-home: No such file or directory
    Mounting jdocs-ex-arm-32-20200625.123713_builder_junos_202_r1
    Mounting fips-mode-arm-32-20200625.123713_builder_junos_202_r1
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    Hardware Database regeneration succeeded
    Validating against /config/juniper.conf.gz
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Chassis control process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
    Chassis control process: <source-daemon>chassisd</source-daemon>
    Chassis control process: <edit-path>[edit interfaces]</edit-path>
    Chassis control process: <statement>xe-0/1/0</statement>
    Chassis control process: <message>INTERFACES_TYPE_UNIDIR: Error in parsing interface name</message>
    Chassis control process: </xnm:error>
    mgd: error: configuration check-out failed
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Validation failed
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugShell: not found
    Validating against /config/rescue.conf.gz
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Chassis control process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
    Chassis control process: <source-daemon>chassisd</source-daemon>
    Chassis control process: <edit-path>[edit interfaces]</edit-path>
    Chassis control process: <statement>xe-0/1/0</statement>
    Chassis control process: <message>INTERFACES_TYPE_UNIDIR: Error in parsing interface name</message>
    Chassis control process: </xnm:error>
    mgd: error: configuration check-out failed
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    Validation failed
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugShell: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: run_hooks: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    umount: /var/tmp/phone-home/jail/etc: statfs: No such file or directory
    umount: /var/tmp/phone-home/jail/etc: unknown file system
    umount: /var/tmp/phone-home/jail/var/etc: statfs: No such file or directory
    umount: /var/tmp/phone-home/jail/var/etc: unknown file system
    umount: /var/tmp/phone-home/jail/var/run: statfs: No such file or directory
    umount: /var/tmp/phone-home/jail/var/run: unknown file system
    umount: $jailpath/dev: statfs: No such file or directory
    umount: $jailpath/dev: unknown file system
    rm: /var/tmp/phone-home/jail: No such file or directory
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    ERROR: Current configuration not compatible with junos-arm-32-20.2R1.10.tgz
    veriexec: /usr/libexec/debug.sh: Authentication error
    veriexec: /usr/libexec/hooks.sh: Authentication error
    /usr/libexec/ui/validate-config.sh: DebugOn: not found
    /usr/libexec/ui/validate-config.sh: DebugOff: not found
    realpath: /packages/sets/active/boot/os-kernel/kernel: No such file or directory



    ------------------------------
    CAGRI TUNCER
    ------------------------------



  • 11.  RE: EX2300 Switch Upgrade Error

    Posted 12-30-2020 10:07

    Hello Cagri,

    Have you tried the USB media install?

    Could this be a workaround for you?

    Thanks,

    Deimos.




  • 12.  RE: EX2300 Switch Upgrade Error

    Posted 01-04-2021 03:31
    Hello Deimos,

    Yes it could be a solution for me. Could you please guide me  about how to implement that method?

    Thanks.

    ------------------------------
    CAGRI TUNCER
    ------------------------------



  • 13.  RE: EX2300 Switch Upgrade Error

    Posted 01-05-2021 14:46
    Good day Cagri, 

    From the show version output, it is showing the switch is running on 15.1 Junos: 
    root@juniper> show version
    fpc0:
    --------------------------------------------------------------------------
    Hostname: juniper
    Model: ex2300-24t
    Junos: 15.1X53-D55.5
    JUNOS OS Kernel 32-bit [20161226.342161_builder_head]

    And you are trying to upgrade to 18.2R3-S5.3 Junos as per the "request system software add" output (correct me if i am wrong)

    As Deimos said, we could directly format (USB media install) the device to the 18.2R3-S5.3 Junos which will re-write the file system (meaning that the device will be set with factory default configuration - no logs, etc..,). Hence requesting you to take configuration backup prior performing USB media installation. 

    To take configuration backup, you may use the commands "show configuration | display set | no-more" or "show configuration | no-more"

    1st Method: 
    Please check this KB: https://kb.juniper.net/InfoCenter/index?page=content&id=KB31265&actp=METADATA

    Rufus is the easiest way to create a bootable USB where you will be selecting the USB drive partition which is connected in your machine (laptop/desktop) and the install media software downloaded in your machine; then, initiate the image burn process which will be completed within few seconds. 

    Once bootable USB is created, insert the bootable USB into the switch, power cycle the switch and follow the process mentioned in the KB link

    Method 2: 
    We could try upgrading the switch to an intermediate version which is 15.1X53-D590 and then upgrade to the 18.2 Junos
    Even for this intermediate upgrade, we have to clean up the storage space, for which you could use the command "request system storage cleanup"
    Try removing the snapshots, also, you may check the /packages/sets which is present under /dev/gpt/junos volume using the command: 
    user@switch> start shell user root
    password: 
    root@switch#RE0% ls /packages/sets/

    You may remove the packages under this set directory EXCEPT THE *******ACTIVE******** /package because that is the one in which the device is booted from, if we remove that ACTIVE package set then, the next time of reboot, the device will not boot from the /junos volume and we had to recover it by USB media install option only

    After removing the packages except the ***ACTIVE*** package set under this directory, you may try upgrading the switch using the command "request system software add /var/tmp/<image name> force" and check the behavior

    MAKE SURE THE ***ACTIVE*** PACKAGE IS NOT REMOVED

    If this upgrade was successful, then we may upgrade the switch to the 18.2 version with the help of "os packages" and "package hooks" codes as mentioned in the KB: https://kb.juniper.net/InfoCenter/index?page=content&id=KB31198&actp=METADATA

    Regards, 
    Youvarani Sekharan


  • 14.  RE: EX2300 Switch Upgrade Error

    Posted 12-17-2020 08:55

    Junos shows you which packages are active and which are the previous *rollback version*

    if you look at

    cd

    /packages/sets/previous

    ls -alh you will see which are being used by your old release.. 

    Normally I just do

    root@switch:RE:0%      find / -size +100000
    /var/rundb/render.db
    /packages/db/junos-runtime-arm-32-20191219.030908_builder_junos_194_r1/contents/contents.izo
    /packages/db/junos-runtime-arm-32-20201028.081005_builder_junos_202_r2/contents/contents.izo

    The only real one to delete is the base  os contents.izo of your previous release.




  • 15.  RE: EX2300 Switch Upgrade Error

    Posted 12-17-2020 03:46

    Hi,

    The official KB is quite ok.
    https://kb.juniper.net/InfoCenter/index?page=content&id=KB31198&actp=METADATA

    These are the steps I've used and can recommend from my experience.
    request system software add junos-arm-32-xxx.tgz no-validate (OPTIONAL: no-copy)

    If member 0 fails with the following:

    fpc0:
    Removing /packages/sets/previous
    Error: not enough space to unpack /var/tmp/mchassis-install.tgz
    ERROR: Either use 'force' or consider deleting snapshots using 'request system snapshot delete <snap>'

    Then proceed with the following steps

    Delete the /var/tmp/mchassis-install.tgz file.

    Then run:

    request system software add junos-arm-32-xxx.tgz no-validate no-copy unlink force member 0

    Once the installation of member 0 (fpc0) is successfully, then reboot the whole chassis

    request system reboot all-members

    But on later software versions, the unlink was added by the installed and there where no issues.

    Dont know what Juniper was thinking with the low space. I've had issues with that kind of thing on several platforms. Space is cheap these days so if the customer pays plenty of dollars for a device, then add 10 extra dollars and let this issue be gone forever.




  • 16.  RE: EX2300 Switch Upgrade Error

    Posted 12-17-2020 03:57

    Good Day R J,

    I can say that Juniper is aware of this issue and working on it.

    What I mentioned before is a workaround.

    As you said deleting the file /var/tmp/mchassis-install.tgz gives more space and it could let installation go well.

    Thanks,

    Deimos.




  • 17.  RE: EX2300 Switch Upgrade Error

    Posted 12-17-2020 18:40

    Hi.

    We have a couple of hundred ex3400 that have the exact same issue, and it has been a really big head ace. Here are my two cents on this.

    The only sure way we have found that works all the time is to first do a "request storage cleanup", then download the software package to fpc0:/tmp folder, and then execute the installation from there. Apparently, this folder/partition is not counted when executing the "add software" routine.

    If you have a VC, the you basically have to copy the installation package to to each member switch and execute the "add software" on member by member. You can either do this by copying the file you already have downloaded to one of the members (file copy fpc0:/tmp/[software package] fpc1:/tmp) or execute the download process for each member and changing the destination to fpc1:/tmp, fpc2:/tmp and so on.

    For new switches we always deploy them using a USB key installation, but we also have a ZTP process in place where we have a slax script that do the same manual steps but automated to get the switches upgraded in the steps needed to get it to the version we have as the production version.

    Juniper have been quite active to try and solve this issue, and in the newer versions the installation process apparently has been changed to compensate for the lack of storage. We have not had the time to fully verify that this actually works, and in my personal opinion I still consider this to be a design flaw of this switch family.




  • 18.  RE: EX2300 Switch Upgrade Error

    Posted 12-18-2020 09:10

    bonjour Cagri Tuncer, 

        I have 200+ EX2300-c (the 12 ports version)  and I had to upgrade the image more than a couple of times.  faced regularly with the not enough space problem, I now go with the following rules. 

    I ftp a small file on each switch with the following command and execute it . the image file is put in the /tmp directory, and quick md5 comparison confirm that the transfer was ok.

    cli -c "file copy ftp://10.10.10.4/ex2300/junos-arm-32-18.2R3-S5.3.tgz /tmp/junos-arm-32-18.2R3-S5.3.tgz"
    echo ================================================================================
    echo ================================================================================
    md5 /tmp/junos-arm-32-18.2R3-S5.3.tgz
    echo valeur md5 originale est ******************08e450c174761305b359595a119b955e******
    echo ================================================================================
    echo ================================================================================
    

    a second file take care of installing the image

    cli -c "show system storage"
    cli -c "request system software add /tmp/junos-arm-32-18.2R3-S5.3.tgz force unlink no-copy"

    I don,t ask for a reboot at this point.the image is installed, ready for the next reboot. 

    I will then use Junos Space to program the reboot during off business hours. 

    using the /tmp directory was a suggestion of a JTAC tech  at the time.

    hope it helps. 

    Michel



    ------------------------------
    Michel Lapointe
    ------------------------------