2015-01-13 107 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 !?)。 –