安裝資料庫提示"請確保當前使用者具有訪問臨時檔案的許可權"解決方法
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.
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盤進行安裝,有時候需要把安裝包放到桌面才能正常通過
轉帖請註明出處,否則追究責任