Switching

Expand all | Collapse all

EX4200 running 15.1R5.5 unable to install J-web due to low free space

Jump to Best Answer
  • 1.  EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 01-20-2017 13:07

    I successfully upgraded from 12.3R4 to 14.1Xxx to 15.1R5.5.

     

    I wanted to also install J-web but it turns out there is not enough free space on root :

     

    admin@core> ...ar/tmp/jweb-15.1R5.5-signed.tgz force                  
    
    Checking pending install on fpc0
    
    Checking pending install on fpc1
    Pushing bundle /var/tmp/jweb-15.1R5.5-signed.tgz to fpc0
    
    Validating on fpc0
    Available space: 12118 require: 29360
    
    WARNING: The root filesystem is low on free disk space.
    WARNING: This package requires 29360k free, but there
    WARNING: is only 12118k available.
    
    WARNING: This installation attempt will be aborted.
    WARNING: If you wish to force the installation despite these warnings
    WARNING: you may use the 'force' option on the command line.
    ERROR: jweb-15.1R5.5-signed fails requirements check

    System storage is indeed low and I have no idea what to delete :

     

    admin@core> show system storage                                       
    fpc0:
    --------------------------------------------------------------------------
    Filesystem              Size       Used      Avail  Capacity   Mounted on
    /dev/da0s1a             183M       156M        12M       93%  /
    devfs                   1.0K       1.0K         0B      100%  /dev
    /dev/md0                280M       280M         0B      100%  /packages/mnt/junos
    /dev/md1                6.8M       2.1M       4.1M       33%  /packages/mfs-fips-mode-powerpc
    /dev/md2                5.4M       5.4M         0B      100%  /packages/mnt/fips-mode-powerpc-15.1R5.5
    /dev/md3                8.7M       4.1M       3.9M       51%  /packages/mfs-jdocs-ex
    /dev/md4                 12M        12M         0B      100%  /packages/mnt/jdocs-ex-15.1R5.5
    /dev/md5                 44M        40M       1.4M       97%  /packages/mfs-junos-ex-4200
    /dev/md6                 83M        83M         0B      100%  /packages/mnt/junos-ex-4200-15.1R5.5
    /dev/md7                 14M       9.0M       3.5M       72%  /packages/mfs-jweb-ex
    /dev/md8                 26M        26M         0B      100%  /packages/mnt/jweb-ex-15.1R5.5
    /dev/da0s3e             123M       2.0M       111M        2%  /var
    /dev/md9                252M        24K       232M        0%  /tmp
    /dev/da0s3d             369M        17M       323M        5%  /var/tmp
    /dev/da0s4d              62M       272K        57M        0%  /config
    /dev/md10               118M        40M        69M       37%  /var/rundb
    procfs                  4.0K       4.0K         0B      100%  /proc
    /var/jail/etc           123M       2.0M       111M        2%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/etc
    /var/jail/run           123M       2.0M       111M        2%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/run
    /var/jail/tmp           123M       2.0M       111M        2%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/tmp
    /var/tmp                369M        17M       323M        5%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/tmp/uploads
    devfs                   1.0K       1.0K         0B      100%  /packages/mnt/jweb-ex-15.1R5.5/jail/dev
    /var/jail/jweb-app       123M       2.0M       111M       2%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/jweb-app
    /dev/md11               6.8M       2.1M       4.1M       33%  /packages/mfs-fips-mode-powerpc
    /dev/md12               8.7M       4.1M       3.9M       51%  /packages/mfs-jdocs-ex
    /dev/md13                44M        40M       1.4M       97%  /packages/mfs-junos-ex-4200
    /dev/md14                14M       9.0M       3.5M       72%  /packages/mfs-jweb-ex
    

    Has anyone been able to successfully get their EX2200 and EX4200 running on 15.1R5.5 AND with j-web 15.1R5.5 ? 

     

    If so, I'd appreciate some help. 

     

    Thx



  • 2.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 01-21-2017 01:28

    Clean up old log files
    >request system storage cleanup
    If you do not plan to restore the older version, then delete the backup file
    >request system software delete-backup



  • 3.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 01-21-2017 11:38

    request system storage cleanup didn't find anything big to remove :

     

    admin@core> request system storage cleanup 
    Please check the list of files to be deleted using the dry-run option. i.e.
    request system storage cleanup dry-run
    Do you want to proceed ? [yes,no] (no) yes 
    
    fpc0:
    --------------------------------------------------------------------------
    
    List of files to delete:
    
             Size Date         Name
       140B Jan  1 19:00 /var/log/default-log-messages.0.gz
      3672B Jan  1 19:00 /var/log/interactive-commands.0.gz
      1891B Jan  1 19:00 /var/log/messages.0.gz
        27B Dec 31 19:45 /var/log/wtmp.0.gz
        27B Dec 31 19:33 /var/log/wtmp.1.gz
      3172B Dec 31 20:09 /var/tmp/juniper.conf+.gz
     109.0K Dec 31 20:17 /var/tmp/package.require.2783
     109.0K Dec 31 20:27 /var/tmp/package.require.2889
     109.0K Dec 31 20:51 /var/tmp/package.require.3012
    
    fpc1:
    --------------------------------------------------------------------------
    
    List of files to delete:
    
             Size Date         Name
       424B Dec 31 19:37 /var/jail/tmp/jweb-users.xml
       141B Jan  1 19:00 /var/log/default-log-messages.0.gz
      4769B Jan  1 19:00 /var/log/interactive-commands.0.gz
      1574B Jan  1 19:00 /var/log/messages.0.gz
        72B Jan  1 18:59 /var/log/wtmp.0.gz
        27B Dec 31 19:33 /var/log/wtmp.1.gz
       9.9M Dec 31 20:17 /var/tmp/jweb-15.1R5.5-signed.tgz
     109.0K Dec 31 20:17 /var/tmp/package.require.2756
     109.0K Dec 31 20:27 /var/tmp/package.require.2880
     109.0K Dec 31 20:51 /var/tmp/package.require.3021
        29B Dec 31 20:51 /var/tmp/vc-multupgrade/error_msg
         1B Dec 31 20:51 /var/tmp/vc-multupgrade/jloader_file_name
         0B Dec 31 19:37 /var/tmp/version_ex.xml
    
    {master:1}
    admin@core> 

    as for "request system software delete-backup" that command is not available on EX series.

     

    So again I am left with only 12MB free on my system partition :

     

    Filesystem              Size       Used      Avail  Capacity   Mounted on
    /dev/da0s1a             183M       156M        12M       93%  /
    devfs                   1.0K       1.0K         0B      100%  /dev
    /dev/md0                280M       280M         0B      100%  /packages/mnt/junos
    /dev/md1                6.8M       2.1M       4.1M       33%  /packages/mfs-fips-mode-powerpc
    /dev/md2                5.4M       5.4M         0B      100%  /packages/mnt/fips-mode-powerpc-15.1R5.5
    /dev/md3                8.7M       4.1M       3.9M       51%  /packages/mfs-jdocs-ex
    /dev/md4                 12M        12M         0B      100%  /packages/mnt/jdocs-ex-15.1R5.5
    /dev/md5                 44M        40M       1.4M       97%  /packages/mfs-junos-ex-4200
    /dev/md6                 83M        83M         0B      100%  /packages/mnt/junos-ex-4200-15.1R5.5
    /dev/md7                 14M       9.0M       3.5M       72%  /packages/mfs-jweb-ex
    /dev/md8                 26M        26M         0B      100%  /packages/mnt/jweb-ex-15.1R5.5
    /dev/da0s3e             123M       6.2M       107M        5%  /var
    /dev/md9                252M        26K       232M        0%  /tmp
    /dev/da0s3d             369M        17M       323M        5%  /var/tmp
    /dev/da0s4d              62M       244K        57M        0%  /config
    /dev/md10               118M        20M        89M       18%  /var/rundb
    procfs                  4.0K       4.0K         0B      100%  /proc
    /var/jail/etc           123M       6.2M       107M        5%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/etc
    /var/jail/run           123M       6.2M       107M        5%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/run
    /var/jail/tmp           123M       6.2M       107M        5%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/tmp
    /var/tmp                369M        17M       323M        5%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/tmp/uploads
    devfs                   1.0K       1.0K         0B      100%  /packages/mnt/jweb-ex-15.1R5.5/jail/dev
    /var/jail/jweb-app       123M       6.2M       107M       5%  /packages/mnt/jweb-ex-15.1R5.5/jail/var/jweb-app
    /dev/md11               6.8M       2.1M       4.1M       33%  /packages/mfs-fips-mode-powerpc
    /dev/md12               8.7M       4.1M       3.9M       51%  /packages/mfs-jdocs-ex
    /dev/md13                44M        40M       1.4M       97%  /packages/mfs-junos-ex-4200
    /dev/md14                14M       9.0M       3.5M       72%  /packages/mfs-jweb-ex

    Anybody have any other suggestion ?



  • 4.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

     
    Posted 01-21-2017 07:07

    I don't believe you need to do the Jweb install on a ex4200.  

     

    My recollection is that since 11.4 this is build in and you can simply enable web management and start using Jweb.



  • 5.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 01-21-2017 11:41

    Hi Steve,

     

    since 14.1X53-D10, J-Web is no longer bundled with Junos and needs to be installed separately. Only a very primitive J-Web Platfrom comes installed by defauly. In order to get the full funcitonality, one must install the J-Web Application package separately.

     



  • 6.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space
    Best Answer

    Posted 01-21-2017 12:37

    *sigh*

     

    I have figured it out by pure fluke. The correct package that will intall j-web on the current JTAC reccomended release of JunOS 15.1R5.5 is actually jweb-ex-app-15.1A3-signed.tgz and not jweb-15.1R5.5-signed.tgz which is linked from the download page !

     

    So again, just install jweb-ex-app-15.1A3-signed.tgz and all is good.

     

    Juniper should clarify that. Why is that package jweb-15.1R5.5-signed.tgz even available if it can't be installed anyway ?!



  • 7.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

     
    Posted 01-22-2017 06:34

    Thanks for the info.  Will look into getting this fixed.



  • 8.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 04-03-2017 17:42

    Hi,

     

    To have a proper web management working you have to follow below steps :

    > copy both packages under /var/tmp

    > request system software add no-validate /var/tmp/jweb-15.1R5.5-signed.tgz  (required by  jweb-ex-app-15.1A3-signed.tgz)

    > request system software add no-validate /var/tmp/jweb-ex-app-15.1A3-signed.tgz

    # set system servies web-management http (it's a hidden CLI , just copy/paste)

     

    Here we go :

     

    http://1.1.1.1 (Loopback Address)

    Make sure there is no firewall filter blocking your http traffic towards the EX RE.

     

    I's working fine for me on EX8208. very nice web interface.

    I hope it helps. good luck.

     

    BR/

    Zakour

     



  • 9.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 04-03-2017 18:21

    Hi,

     

    Here is the link to official documentation from Juniper Portal :

     

    J-Web Application Package for EX Series

     

    Good Lecture.

     

    BR/

    Zakour



  • 10.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 06-11-2017 18:34

    @adisor19 - 

    Do you have this package you could send to me? I cannot find Application package 15.1A3 anywhere on juniper site, just the Application package 15.1R46, which will not install on my EX4200 switches.

     

     



  • 11.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 03-14-2018 12:02

    Where would one find the download you mention, jweb-ex-app-15.1A3-signed.tgz?



  • 12.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

     
    Posted 03-14-2018 14:30

    This image has been replaced by jweb-15.1R4.6-signed.tgz.  You'll find this under EX4200 Downloads -> Junos 15.1 -> bottom section -> J-Web User Interface Package



  • 13.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 05-03-2018 06:45

    I downloaded the jweb-15.1R4.6-signed.tgz and attempted to install it, but I still have the issue of low free space. I also tried cleaning up the storage, but it didn't free up enough space. Any suggestions?

     

    Thanks.



  • 14.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

     
    Posted 05-04-2018 03:03

    From you description I assume you have run

    requests system storage cleanup

     

    Also look at the home directories that may have files and /var/tmp for old software install files

     

    If you can't get enough space that way, don't copy the file to the device but put it on a usb.

    mount the usb to the switch

    https://kb.juniper.net/InfoCenter/index?page=content&id=KB12880

    do not copy the file but  run the install from the mounted usb directory instead

    request system software add /var/tmp/usb/filename

     



  • 15.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 05-05-2018 21:59

    Yes, I ran "request system storage cleanup". 

     

    Unfortunetly, attempting to install jweb from a usb stick did not work. There simply isn't enough space on the /dev/da0s1a filesystem for the jweb package. Below is the output from the attempted install.

     

    root@juniper> request system software add /var/tmp/usb/jweb-15.1R4.6-signed.tgz 
    
    Checking pending install on fpc0
    
    Validating on fpc0
    Available space: 16104 require: 52844
    
    WARNING: The root filesystem is low on free disk space.
    WARNING: This package requires 52844k free, but there
    WARNING: is only 16104k available.
    
    WARNING: This installation attempt will be aborted.
    WARNING: If you wish to force the installation despite these warnings
    WARNING: you may use the 'force' option on the command line.
    ERROR: jweb-15.1R4.6-signed fails requirements check

    Is there a way to give the root partition more space, or to get the jweb package installed onto another partition that has enough free space?



  • 16.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

     
    Posted 05-06-2018 04:11

    Unfortunately you cannot change partition sizes these are controlled by the installers.

     

    Did you exam the home and /var/tmp directory listings and confirm there are no user files that can be deleted?

    Storage clean up will only act on Junos created files.

     

    I did have an issue in some early 15 releases on the ACX where the partition created was too small.  This had an ACX specific PR assigned so may not be applicable here.  The solution was to upgrade to newer versions which did have an increased partition.

     



  • 17.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 05-06-2018 08:09

    The /var/tmp folder has /dev/da0s3d mounted to it with 311M of free space. I have pasted the output of "df -h" from my ex4200 below:

     

    root@juniper:RE:0% df -h
    Filesystem            Size    Used   Avail Capacity  Mounted on
    /dev/da0s1a           183M    152M     16M    91%    /
    devfs                 1.0K    1.0K      0B   100%    /dev
    /dev/md0              281M    281M      0B   100%    /packages/mnt/junos
    /dev/md1              6.8M    2.1M    4.1M    33%    /packages/mfs-fips-mode-powerpc
    /dev/md2              5.4M    5.4M      0B   100%    /packages/mnt/fips-mode-powerpc-15.1R6.7
    /dev/md3               45M     40M    1.4M    97%    /packages/mfs-junos-ex-4200
    /dev/md4               83M     83M      0B   100%    /packages/mnt/junos-ex-4200-15.1R6.7
    /dev/md5               14M    9.0M    3.5M    72%    /packages/mfs-jweb-ex
    /dev/md6               26M     26M      0B   100%    /packages/mnt/jweb-ex-15.1R6.7
    /dev/da0s3e           123M    4.9M    108M     4%    /var
    /dev/md7              252M     10K    232M     0%    /tmp
    /dev/da0s3d           369M     29M    311M     8%    /var/tmp
    /dev/da0s4d            62M    124K     57M     0%    /config
    /dev/md8              118M     17M     91M    16%    /var/rundb
    procfs                4.0K    4.0K      0B   100%    /proc
    /var/jail/etc         123M    4.9M    108M     4%    /packages/mnt/jweb-ex-15.1R6.7/jail/var/etc
    /var/jail/run         123M    4.9M    108M     4%    /packages/mnt/jweb-ex-15.1R6.7/jail/var/run
    /var/jail/tmp         123M    4.9M    108M     4%    /packages/mnt/jweb-ex-15.1R6.7/jail/var/tmp
    /var/tmp              369M     29M    311M     8%    /packages/mnt/jweb-ex-15.1R6.7/jail/var/tmp/uploads
    devfs                 1.0K    1.0K      0B   100%    /packages/mnt/jweb-ex-15.1R6.7/jail/dev
    /var/jail/jweb-app    123M    4.9M    108M     4%    /packages/mnt/jweb-ex-15.1R6.7/jail/var/jweb-app
    /dev/md9              6.8M    2.1M    4.1M    33%    /packages/mfs-fips-mode-powerpc
    /dev/md10              45M     40M    1.4M    97%    /packages/mfs-junos-ex-4200
    /dev/md11              14M    9.0M    3.5M    72%    /packages/mfs-jweb-ex
    

     



  • 18.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

     
    Posted 05-07-2018 02:56

    This does look similar to the ACX issue I saw.  Your main system partition is basically full.  Verify that there are no user created files there that can be deleted.  If not, you will need to upgrade from an external boot.

     

    You may want to open a JTAC case on this one for investigation.  This process worked for the ACX issue.

     

    Create a bootable usb (you might just be able to do a snapshot to usb)

    Boot to the usb and install the upgraded OS with the format option to the internal media

     



  • 19.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 05-20-2018 12:10

    Thanks for the suggestion spuluka. Running the Junos from a USB stick would give me enough space to install and run JWeb. However, I have been unable to get a "request system snaphsot media external" command to complete successfully. The command succesfully partitions the USB drive, but somewhere along the process of copying file over to the USB, I start seeing errors. The system then seems to freeze and reboots. I typically see the following message in the console before things freeze and the box reboots:

    umass1: BBB reset failed, TIMEOUT
    umass1: BBB bulk-in clear stall failed, TIMEOUT
    umass1: BBB bulk-out clear stall failed, TIMEOUT

    I have tried different versions of the Junos software, and three different USB drives. All fail with the same symptoms. I seem to be able to read files from a USB drive and install Junos versions from an USB drive. I'm guessing that I might have a bad USB port at this stage. For now I have reverted to Junos 12.3 as it has a fully featured JWeb interface on install.

     

    Thanks again spuluka for your suggestions.



  • 20.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

     
    Posted 05-21-2018 02:58

    It might also be bad internal media which a format install may help.

     

    You may want to open a JTAC case to verify the hardware at this point.

     



  • 21.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 05-28-2018 18:30

    I have the same problem with a very similar df output. Any other ideas? I just upgraded to 15.1.

     

    root@SUBMARINE-CRN-SWITCH:RE:0% df -h
    Filesystem            Size    Used   Avail Capacity  Mounted on
    /dev/da0s2a           184M    157M     12M    93%    /
    root@SUBMARINE-CRN-SWITCH> request system software add /var/tmp/jweb-15.1R4.6-signed.tgz
    Checking pending install on fpc0
    fpc0:
    Available space: 11974 require: 29236
    WARNING: The root filesystem is low on free disk space.
    WARNING: This package requires 29236k free, but there
    WARNING: is only 11974k available.
    WARNING: This installation attempt will be aborted.
    WARNING: If you wish to force the installation despite these warnings
    WARNING: you may use the 'force' option on the command line.
    ERROR: jweb-15.1R4.6-signed fails requirements check

     



  • 22.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 05-29-2018 17:23

    OK I see now. To download the correct J-web app (jweb-ex-app-15.1A3-signed.tgz), it is on a different page.

    1. Go to https://www.juniper.net/support/downloads/?p=jweb

    2.  Select ver 15.1.

    3. Download jweb-ex-app-15.1A3-signed.tgz

     

    This file is different to jweb-15.1R4.6-signed.tgz

     

    For more information see:

    https://www.juniper.net/documentation/en_US/junos/information-products/pathway-pages/ex-series/pwp-ex-jweb-application-package-151A2.html>

    For Junos OS Release 14.1X53-D10 and later, the J-Web interface is available in two packages:

    • Platform package—Provides basic features of J-Web and is installed as part of Junos OS.
    • Application package—Provides complete features of J-Web and is an installable package.
    • Platform Package
      The Platform package of J-Web is installed as part of Junos OS that is shipped with your EX Series switch. The Platform package provides the basic features of the J-Web interface. The Platform package enables you to configure and maintain your switch.
    • Application Package
      The Application package is not installed by default on your switch. You must download it and install it over the Platform package on your switch. The Application package provides all the features of the J-Web interface that enable you to configure, monitor, maintain, and troubleshoot your switch.

     

     



  • 23.  RE: EX4200 running 15.1R5.5 unable to install J-web due to low free space

    Posted 05-29-2018 18:05

    One more thing, I did not need a support contract to download J-web. However I did need to request access via JTAC by raising a Admin Service Request (License) request.