首页 > 解决方案 > 尝试在 Docker Windows 容器上安装 Oracle 数据库时出错

问题描述

我需要创建一个带有 Oracle 数据库 18c 的 Docker Windows 容器。

我遵循了 Oracle 的本教程(第 19 至 26 页):https ://www.oracle.com/technetwork/topics/dotnet/tech-info/oow18windowscontainers-5212844.pdf

当我使用带有此命令的响应文件执行设置时:

RUN c:\data\db_home\setup.bat -silent -noconfig -noConsole -ignorePrereq -J"-
Doracle.install.db.validate.supportedOSCheck=false" -responseFile c:\data\db.rsp

我收到以下错误:

[FATAL] PRVG-1901 : failed to setup CVU remote execution framework directory 
"C:\Users\ContainerAdministrator\AppData\Local\Temp\InstallActions2020-07-17_01-18-
31PM\CVU_18.0.0.0.0_ContainerAdministrator\" on nodes "975ef812cf39" Please select a different work 
area for the framework 975ef812cf39 : PRKN-1014 : Failed to execute remote command
"C:\Users\ContainerAdministrator\AppData\Local\Temp\InstallActions2020-07-17_01-18-
31PM\CVU_18.0.0.0.0_ContainerAdministrator\\exectask.exe" on node "975ef812cf39".Failed during 
connecting to service 975ef812cf39 : Failed during connecting to service

这是我的配置:

容器 :

我已经做了几天的测试,但我仍然无法解决这个问题......

标签: windowsoracledockerwindows-container

解决方案


通常错误 PRVG-1901 与权限问题有关。

  • 以管理员身份运行控制台
  • 检查REG DWORD命名是否AutoShareWks存在(在注册表中Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters)。它没。但如果是这样,请确保将该值设置为1并重新启动。
  • 停止OracleRemExecServiceV2服务

就我而言,以管理员身份运行控制台解决了这个问题。


推荐阅读