IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  DBI20081E The installer detected that there is not enough free disk space

    Posted Wed March 18, 2020 01:10 PM
    I try to install db2 for SDS 6.4 on an RedHat Enterprise server 7.7. But when I run the db2_install script I recieve the error:

    DBI20081E  The installer detected that there is not enough free disk space in

    "/tmp". Free space detected in "/tmp" is: "1963132" (measured in kilobytes).

    Space needed is: "2000000" (measured in kilobytes).

    I found this article:
    https://www.ibm.com/support/pages/db2setup-or-installation-fails-dbi1080e-disk-full-error

    I have more space in /var so I try to run:

    export DB2WORKDIR=/var

    export DB2_SKIP_TMP_CHK=TRUE

    But I still recieve the same error. If I run printenv I see that the two variables are set correct.

    How can I solve this problem?



    ------------------------------
    Per Oelmunger
    IAM Consultant
    Enfo Sweden
    GOTHENBURG
    (4673) 365-7760
    ------------------------------


  • 2.  RE: DBI20081E The installer detected that there is not enough free disk space

    Posted Wed March 18, 2020 03:51 PM

    Hello Per,

    Can you please try the DB2TMPDIR env variable?

    Refer:

    https://www.ibm.com/mysupport/s/question/0D50z00005q8B6v/running-db2install-i-receive-error-dbi20081e-stating-that-tmp-is-too-small-how-can-i-change-the-temporary-disk-location-?language=en_US

    Let us know if that works for you.

    If not, we could try installing DB2 at a latest fix pack levels and then try the env variables.

    -Ram.



    ------------------------------
    Ramamohan Reddy
    ------------------------------



  • 3.  RE: DBI20081E The installer detected that there is not enough free disk space

    Posted Thu March 19, 2020 03:42 AM

    Thank you. But I get another error:

    /var/sdsV6.4/ibm_db2/db2/linuxamd64/install/db2_install: line 375: /var/tmp2/db2_install.39663.rsp: No such file or directory

    /var/sdsV6.4/ibm_db2/db2/linuxamd64/install/db2_install: line 377: /var/tmp2/db2_install.39663.rsp: No such file or directory

    /var/sdsV6.4/ibm_db2/db2/linuxamd64/install/db2_install: line 468: /var/tmp2/db2_install.39663.rsp: No such file or directory

    /var/sdsV6.4/ibm_db2/db2/linuxamd64/install/db2_install: line 473: /var/tmp2/db2_install.39663.rsp: No such file or directory

    /var/sdsV6.4/ibm_db2/db2/linuxamd64/install/db2_install: line 483: /var/tmp2/db2_install.39663.rsp: No such file or directory

    /var/sdsV6.4/ibm_db2/db2/linuxamd64/install/db2_install: line 492: /var/tmp2/db2_install.39663.rsp: No such file or directory

    Requirement not matched for DB2 database "Server" . Version: "10.5.0.4".

    Summary of prerequisites that are not met on the current system:

       DBT3514W  The db2prereqcheck utility failed to find the following 32-bit library file: "/lib/libpam.so*".

    DBT3514W  The db2prereqcheck utility failed to find the following 32-bit library file: "libstdc++.so.6".

    DBI20043E  DB2 failed to install because of restrictive permission settings on the temporary directory /var/tmp2

    I have tried to change the noexec parameter but then I still get the same error.



    ------------------------------
    Per Oelmunger
    IAM Consultant
    Enfo Sweden
    GOTHENBURG
    (4673) 365-7760
    ------------------------------



  • 4.  RE: DBI20081E The installer detected that there is not enough free disk space

    Posted Thu March 19, 2020 09:53 AM

    Hello Per,
    This is the main error now:

    DBI20043E  DB2 failed to install because of restrictive permission settings on the temporary directory /var/tmp2

    Did you check the permissions and ownership on /var/tmp2 folder and compare it against /tmp folder permissions and ownership and adjust.

    Thanks,
    Ram



    ------------------------------
    Ramamohan Reddy
    ------------------------------



  • 5.  RE: DBI20081E The installer detected that there is not enough free disk space

    Posted Fri March 20, 2020 01:29 PM
    Hi Per,

    please look at the following technote. Some of the folders in /var may have noexec option enabled.

    https://www.ibm.com/support/pages/node/4728543

    Regards,
    Konstantin

    ------------------------------
    Konstantin Chistyakov
    ------------------------------



  • 6.  RE: DBI20081E The installer detected that there is not enough free disk space

    Posted Tue September 06, 2022 11:27 AM
    I upgraded to DB2 11.5.7.0 then got the DBI20081E error when trying to get rid of DB2 v11.1. Setting the DB2TMPDIR worked for me.

    [root@test install]# export DB2TMPDIR=/backup/tmp
    [root@test install]# mkdir /backup/tmp
    [root@test install]# chmod 777 /backup/tmp/
    [root@test install]# ./db2_deinstall -a
    DBI1016I  Program db2_deinstall is performing uninstallation. Please
          wait.

    The execution completed with warnings.

    For more information see the DB2 uninstallation log at
    "/backup/tmp/db2_deinstall.log.2573093".


    [root@test V11.4a]# grep -i warn "/backup/tmp/db2_deinstall.log.2573093"
    WARNING: "TSAMP" was not removed because it was not installed.



    ------------------------------
    Stephen Sankarsingh
    ------------------------------