ERROR: Need 316MB more space on partition: /usr for the following directories:



  • Hi,

    I am not able to upgrade firmware of NSMXpress. I am going to upgrade 2010.1 firmware to 2010.3s4 as per JTAC recommendation. I have download these two zip files  1)nsm2010.3s4_servers_upgrade_rs.zip      2) nsm2010.3s4_offline_upgrade.zip     
              There is only basic configuration on my NSMXpress device but when i am trying to run  [root@NSMXpress var]# sh upgrade-os.sh nsm2010.3s4_servers_linux_x86.sh Offline  this command i got following erro message…

    Please suggest me how to solve this problem with commands…

    Thanks…

    Nik…

    [root@NSMXpress var]# sh upgrade-os.sh nsm2010.3s4_servers_linux_x86.sh Offline
    Internet is Offline
    Starting Upgrade of OS and Running NSM-RS Install.ok
    Updating OS……ok
    Please REBOOT system after UPGRADE
            Hit Ctrl-C to abort installation or ENTER to continue

    Unzip RPMS.tar…cp: cannot stat `nsm2010.3s4_offline_upgrade.zip’: No such file or directory
    unzip:  cannot find or open nsm2010.3s4_offline_upgrade.zip, nsm2010.3s4_offline_upgrade.zip.zip or nsm2010.3s4_offline_upgrade.zip.ZIP.
    ok
    error: File not found by glob: /var/tmp/i386/nsmxpress*
    error: open of /var/tmp/i386/setools-2.3-4.nsmx5.i386.rpm failed: No such file or directory
    error: File not found by glob: /var/tmp/i386/gcc*
    error: File not found by glob: /var/tmp/i386/xorg-x11*
    error: File not found by glob: /var/tmp/i386/rsyslog*
    Cleaning up Everything
    0 headers removed
    0 packages removed
    3 metadata files removed
    0 cache files removed
    1 cache files removed
    Setting up Upgrade Process
    Setting up repositories
    file:///var/tmp/i386/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/var/tmp/i386/repodata/repomd.xml’
    Trying other mirror.
    Cannot open/read repomd.xml file for repository: c5-media
    failure: repodata/repomd.xml from c5-media: [Errno 256] No more mirrors to try.
    Error: failure: repodata/repomd.xml from c5-media: [Errno 256] No more mirrors to try.
    Running uninstall scripts …
    Bad SID at /usr/libexec/nsmxwui/nsmx-lib.pl line 259.
    Redirecting to login page from  for IP  at /usr/libexec/nsmxwui/nsmx-lib.pl line 261.
    Location: http://:/administration/session_login.cgi

    error: File not found by glob: /var/tmp/i386/apr-0.9.4-24.9*.rpm
    error: File not found by glob: /var/tmp/i386/apr-util-0.9.4-21*.rpm
    error: File not found by glob: /var/tmp/i386/bc-1.06-17.1*.rpm
    error: File not found by glob: /var/tmp/i386/distcache-1.4.5-6*.rpm
    error: File not found by glob: /var/tmp/i386/httpd*.rpm
    error: File not found by glob: /var/tmp/i386/libart_lgpl-2.3.16-3*.rpm
    error: File not found by glob: /var/tmp/i386/mailcap-2.1.17-1*.rpm
    error: File not found by glob: /var/tmp/i386/mod_jk-ap20-1.2.25-1jpp*.rpm
    error: File not found by glob: /var/tmp/i386/mod_ssl*.rpm
    error: File not found by glob: /var/tmp/i386/perl-Apache-Session-1.81-1.rf*.rpm
    error: File not found by glob: /var/tmp/i386/perl-rrdtool-1.2.23-1.nsmx*.rpm
    error: File not found by glob: /var/tmp/i386/perl-suidperl-5.8.5-36.nsmx*.rpm
    error: File not found by glob: /var/tmp/i386/pwauth*.rpm
    error: File not found by glob: /var/tmp/i386/rrdtool-1.2.23-1.nsmx*.rpm
    error: File not found by glob: /var/tmp/i386/selinux*.rpm
    error: File not found by glob: /var/tmp/i386/libselinux*.rpm
    error: File not found by glob: /var/tmp/i386/recup-1.0-4.noarch*.rpm
    error: File not found by glob: /var/tmp/i386/stunnel-4*.rpm
    error: File not found by glob: /var/tmp/i386/zip-2.3-27*.rpm
    Setting up Install Process
    Setting up repositories
    file:///var/tmp/i386/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: '/var/tmp/i386/repodata/repomd.xml’
    Trying other mirror.
    Cannot open/read repomd.xml file for repository: c5-media
    failure: repodata/repomd.xml from c5-media: [Errno 256] No more mirrors to try.
    Error: failure: repodata/repomd.xml from c5-media: [Errno 256] No more mirrors to try.
    error: File not found by glob: /var/tmp/nsmrpms/nsm-install-scripts*.rpm
    error: File not found by glob: /var/tmp/nsmrpms/nsmxwui*.rpm
    error: File not found by glob: /var/tmp/nsmrpms/syschecktrapd*.rpm
    error: File not found by glob: /var/tmp/nsmrpms/systaillogd*.rpm
    Starting httpd:
    Starting NSM-RS Install……
    ########## PERFORMING PRE-INSTALLATION TASKS ##########
    Creating staging directory…ok
    Running preinstallcheck…
    Checking if platform is valid…ok
    Checking for correct intended platform…ok
    Checking for CPU architecture…ok
    Checking if all needed binaries are present…ok
    Checking for platform-specific binaries…ok
    Checking for platform-specific packages…ok
    Checking in System File for PostgreSQL and XDB parameters…ok
    Checking for PostgreSQL…ok
    Checking if user is root…ok
    Checking if user nsm exists…ok
    Checking if iptables is running…nsm2010.3s4_servers_linux_x86.sh: line 9787: service: command not found
    ok
    Checking if installed Device Server is newer…ok
    Checking if installed GUI Server is newer…ok
    Checking if installed HA Server is newer…ok
    Checking if system meets RAM requirement…ok
    Checking for sufficient disk space…FAILED
    ERROR: Need 316MB more space on partition: /usr for the following directories:  /usr/netscreen

    Please correct the error(s) above and run again
    Removing staging directory…ok
    [root@NSMXpress var]#

    –--------------------------------------------------------------------------------------------------------------------------------------------------------------------

    [root@NSMXpress ~]# df -l
    Filesystem          1K-blocks      Used Available Use% Mounted on
    /dev/sda2              5036316    210856  4569628  5% /
    none                  2075688        0  2075688  0% /dev/shm
    /dev/sda9              4032092  1180536  2646732  31% /tmp
    /dev/sda7            20161172  12451220  6685812  66% /usr
    /dev/sda6            85088380  4685072  76081024  6% /var
    /dev/sda3            50394996  11531508  36303532  25% /var/cores
    /dev/sdb2            235271996    587312 222733532  1% /var/netscreen/DevSvr
    /dev/sda5            50394964    110644  47724364  1% /var/netscreen/DevSvr/profiler_data
    /dev/sda8            20161172  10716492  8420540  56% /var/netscreen/GuiSvr


 

21
Online

38.4k
Users

12.7k
Topics

44.5k
Posts