现象:
在windows server 2016上安装oracle数据库,用管理员点击setup后,卡在第一步界面,不出现选择选项。
检查数据库安装日志:
C:\Program Files\Oracle\Inventory\logs
发现如下的提示:
....
[Worker 0] [ 2019-05-31 15:46:16.561 KST ] [nativesystem.WindowsNative.Native] Trying to open a named pipe
[Worker 0] [ 2019-05-31 15:46:16.561 KST ] [nativesystem.WindowsNative.Native] About to open pipe
[Worker 0] [ 2019-05-31 15:46:16.561 KST ] [nativesystem.WindowsNative.Native] calling create file for pipe \\.\pipe\srvmremotexecpipev2
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Local pipe failed (53), retry using local pipe notation
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] calling create file for pipe \\.\pipe\srvmremotexecpipev2
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Created handle to Pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Pipe has connected, set the handle state
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Fill up the request message
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Finish filling up the request message
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Sending a message to the pipe server. Total bytes to write=18528
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] After call to WriteFile. totalWritten=18528, cbWritten=18528
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
[Worker 0] [ 2019-05-31 15:46:18.670 KST ] [nativesystem.WindowsNative.Native] Reading from the pipe
解决方法
原因1、未禁用IPV6
检查是否启用IPV6
通过ipconfig或者ping测主机名
禁用IPv6的方法:
(1)开始 -> 运行 – > 输入 Regedit 进入注册表编辑器
定位到:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters] 右键点击 Parameters,选择新建 -> DWORD (32-位)值
命名值为 DisabledComponents,然后修改值为 0xff (16进制)
注意:
参考文章:
https://docs.microsoft.com/en-GB/troubleshoot/windows-server/networking/configure-ipv6-in-windows
(2)重启电脑后生效
(3)再次检测ping测
原因2:未启用lanmanserver服务
启动方式:
net stop lanmanserver
net start lanmanserver
如果有问题,请确保
(1)Windows C->Windows->System32 下这个文件 srvsvc.dll 未丢失
(2)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer 这个值存在
(3)确保网卡上这个勾选