2015-01-13 104 views
0

我試圖使用命令./runInstaller -silent安裝在Ubuntu 14.04的Oracle 11g,但我收到此錯誤:錯誤而在Ubuntu上安裝的Oracle 11g 14.04

Checking temp space: 1 MB available, 120 MB required. Failed 

我試着做以下,但錯誤依然存在:

  • change to root

su – root

  • make new folder for the temporary files

mkdir /u01/tmp

  • change the owner which you will use to install the product, in my case user is oracle and the group oinstall.

chown oracle:oinstall /u01/tmp

  • change the read-write settings

chmod 1777 /u01/tmp

  • export the new path so that the installer can use it

export TEMP=/u01/tmp
export TMPDIR=/u01/tmp

+0

這是whold命令'./runInstaller -silent'嗎? – Mihai

回答

1

The documentation說出口環境變量TMPTMPDIR,不TEMP

If you determined that the /tmp directory has less than 1 GB of free disk space, then identify a file system with at least 1 GB of free space and set the TMP and TMPDIR environment variables to specify a temporary directory on this file system:

To determine the free disk space on each mounted file system use the following command:

# df -h /tmp 

If necessary, enter commands similar to the following to create a temporary directory on the file system that you identified, and set the appropriate permissions on the directory:

$ sudo mkdir /mount_point/tmp 
$ sudo chmod a+wr /mount_point/tmp 
# exit 

Enter commands similar to the following to set the TMP and TMPDIR environment variables:

  • Bourne, Bash, or Korn shell:

    $ TMP=/mount_point/tmp 
    $ TMPDIR=/mount_point/tmp 
    $ export TMP TMPDIR 
    
  • C shell:

    % setenv TMP /mount_point/tmp 
    % setenv TMPDIR /mount_point/tmp 
    

blog you quoted from似乎是錯誤的,雖然這是「Oracle Web層」而不是數據庫軟件。它也沒有說明你需要在你運行安裝程序的shell中作爲你的Oracle用戶而不是root用戶執行export命令。

+0

systemis要求120 MB,我應該在哪裏指定? –

+1

@AliIssa - 不知道我明白你的意思;無論您創建並設置「TMP」和「TMPDIR」的目錄,都必須有足夠的可用空間 - 您可以使用「df -h $ TMP」來檢查。除非你正在創建一個新的文件系統,否則你不會在任何地方明確設置它。 (你真的只有1MB免費/ tmp !?)。 –