Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  System root file doesn't have enough space to upgrade

    Posted 02-28-2023 21:18

    When I upgrade system from 13 to 14, my customer's MX shows below comment /dev/mapper/sysvg-root.vol has no enough space "6G" to upgrade.

    How should I solve this problem?

    Thanks


    #DatabaseActivityMonitoring

    ------------------------------
    ZhiXiang Zhang
    engineer
    Fairline Technology Co., Ltd
    內湖區
    ------------------------------


  • 2.  RE: System root file doesn't have enough space to upgrade
    Best Answer

    Posted 03-01-2023 12:07
    Edited by ZhiXiang Zhang 03-02-2023 20:18

    Hi,

    Clean out the following directories:

    1. / var / tmp - old log files / old backups etc
    2. / var /tmp / failed_delivery - any archiving action set that fails, stores the file here and it can balloon up
    3. / var / SecureSphere / upgrades / - Over here are where the upgrade files are extracted, remove any old version folders here.

    If you still are having issue with space:

    1. Extract the upgrade file by passing the --noexec arguement on the .x executable: 
      ./SecureSphereV14-WAF_14.7.0.20_0.44105.x --noxec
    2. Delete the downloaded patch file (he one with .x extension)
    3. Navigate (cd) to the extracted path, which will be output from above command, usually:
      /var/SecureSphere/upgrades/upgrade-14.7.0.20_0.44105/
    4. When inside the above directory, run:
      ./bin/install
      NOTE: You can also start a silent install that will accept the EULA for you: ./bin/install --silent


    PS: I have added some unneed space to make this post as the commands are being being picked up but the CloudWAF being blocked. I will fix it once resolved

    Regards



    ------------------------------
    Sarvesh Lad
    Tech Lead @ On-Prem Managed Services (WAF, DAM, DRA & Sonar)
    ------------------------------



  • 3.  RE: System root file doesn't have enough space to upgrade

    Posted 03-01-2023 21:02

    Hi Sarvesh,

    I asked colleague they mentioned that below path could also clean out space is it right?

    /opt/SecureSphere/server/SecureSphere/jakarta-tomcat-secsph/webapps/SecureSphere/WEB-INF/reptemp

    Thanks



    ------------------------------
    ZhiXiang Zhang
    engineer
    Fairline Technology Co., Ltd
    內湖區
    ------------------------------



  • 4.  RE: System root file doesn't have enough space to upgrade

    Posted 03-01-2023 23:24

    HI,

    This path is the directory that stores the "Report > View Results" on the GUI. If you purge it, you will not see these purged files in the GUI, and you can delete them if you will not use them.

    You can also periodically backup and purge the files under this directory by report archive and purge to prevent the directory from taking up space.



    ------------------------------
    Danis Kao
    Technical Support Engineer
    CipherTech Co., Ltd
    Taipei
    ------------------------------



  • 5.  RE: System root file doesn't have enough space to upgrade

    Posted 03-02-2023 16:58

    Hi,

    I just realized that you asked about the space in /dev/mapper/sysvg-root.vol 

    The steps I covered will free up space in /dev/mapper/sysvg-var.vol

    Did you by any chance upload the patch file to the root home folder /root/? the home folders for all users reside in /dev/mapper/sysvg-root.vol and that would explain it why you are getting the error. Move the patch file to /var/tmp if you can.

    Check the space usage in the home folder while at it:

    du -h --max-depth=1 /home

    Regards,



    ------------------------------
    Sarvesh Lad
    Tech Lead @ On-Prem Managed Services (WAF, DAM, DRA & Sonar)
    ------------------------------



  • 6.  RE: System root file doesn't have enough space to upgrade

    Posted 03-16-2023 12:00
    Edited by Olgerta Prendi 03-16-2023 12:00

    Hello ZhiXiang Zhang,

    I would like to ask regarding the upgrade. I also have to do an update to the latest patch from version 13.6.0.88 to 13.6.0.90. Then, to 14.x.

    If you had the version 13.6.0.x, did you free space on /var filesystem?

    If possible can you share with us any other issue that you face for both the version 13.6.0.x and the upgrade to version 14.x? 

    What should you recommend to me to check before starting with the upgrade?



    ------------------------------
    Olgerta Prendi
    Cyber Security Specialist
    S&T AG
    Tirana
    ------------------------------