安装数据库提示"请确保当前用户具有访问临时文件的权限"解决方法

SYMPTOMS

While installing 11.2 on Unix/Linux platform below errors appear:

"INS-30131 initial setup required for the execution of installer validations failed"

The same error appears while installing Oracle 11.2 on Windows.

SEVERE: [FATAL] [INS-30131] The initial setup that is required to run the installation program validation was not successful.
  CAUSE: Access to the temp directory was not successful.
  ACTION: Ensure that the current user has the necessary permissions to access the temp directory.

CAUSE

For Unix

/tmp has not enough space or no permission to write.

For Windows

Admin Share in C$ is not enabled

SOLUTION

Make Sure that dowloaded software is not corrupt as per below note

Note 549617.1 How To Verify The Integrity Of A Patch/Software Download? [Video]

If still issue persist , please follow below procedure

For Unix

A) Verify /tmp is not Full

1. Verify /tmp file system is not full

$ df /tmp
 Filesystem    512-blocks      Free %Used    Iused %Iused Mounted on
 Global            655360         0  100%     3677    43% /tmp

2. Clear out space from /tmp and make sure enough space is available.

3. Verify that Oracle user from which installation is getting done has permissions to write in /tmp location

4. Retry Installation

 

B )Verify the Mount option of /tmp and Software Media File System

1. Mount the source filesystem (where software medea exist) and the filesystem on which /tmp resides with the same ACL options.

or 

2. Copy the installation software to /tmp and retry the installation.

 

 

For Windows

A) Verify if c$ Admin share is enabled

1.
 Enable administrative share for C$ (Please check with your System Admin to do this or See Microsoft document http://support.microsoft.com/kb/314984)

2.
 Check that it is ok:
- net use \\<hostname>\c$ should work
- the current user (i.e. user in administrator group) should have all privileges on the default share

3. 
Retry the installation

4. 
Remove the administrative share again

B) Check if Windows services "OracleRemExecService" is running 

Check if Windows services "OracleRemExecService" is running , this service gets created during installtion of 32 bit 64 client ,  if its running then follow below process:

Remove the OracleRemExecService before doing the Oracle Client 12c Release 1  32-bit or 64-bit installation on the same Microsoft Windows x64 (64-bit) server after installing the Oracle Client 64-bit or 32-bit software .

- Go to the  Windows 'Services'

- Stop OracleRemExecServiceV2

( This service is having a intelligence .Once someone tries to stop it this service gets deleted.
This is due to the  fact ,that this service is not running  from the Oracle Home like other oracle services ,but from temp .
For example : C:\Users\AppData\Local\Temp\\oraremservicev2\RemoteExecService.exe
)

- Then try to install the Oracle Client 32-bit or 64-bit on the same Microsoft Windows x64 (64-bit) server



C) Check if Windows Service “Server” is not running

Check if Windows Service “Server” is started on the system , if not started then start it as mentioned in below documentation and rerty installation.

 

 Below notes are redirected to this note:
 
Oracle Database/Client installation results in “INS-30131 ….validations failed” on windows 7  (Doc ID 1610775.1)
Installation on the Same Windows x64 (64-Bit) Server of Oracle12c Release 1 Client(32-Bit or 64-Bit) Failed: "[INS-30131] Initial Setup Required for the Execution of Installer Validations Failed" (Doc ID 1580119.1)

另外两个方法可以尝试:
1.安装oracle11g32位的一个小提示!(win7-32 win8-64 xp等通用)  
       第一步:依次点击“开始→运行”,输入regedit,然后按回车键进入注册表编辑器。 
       第二步:找到并单击HKEY_LOCAL_MACHINE\System\Current ControlSet\Services\LanmanServer\Parameters。 
       第三步:如果LanmanServer\Parameters子项中的AutoShareServer 和AutoShareWks DWORD值配置的数值为0,则将该值更改为1
问题解决,估计很多人都不知道~~这个是oracle11g默认检测上面两个服务,精简系统会默认把它关掉,导致该错误!
2.先共享C盘,然后把安装包放在c盘进行安装,有时候需要把安装包放到桌面才能正常通过
转帖请注明出处,否则追究责任

你可能感兴趣的:(安装数据库提示"请确保当前用户具有访问临时文件的权限"解决方法)