windows - 尝试在 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
这是我的配置:
Windows 10 专业版 2004 版
Docker 桌面版 2.3.03
容器 :
- Windows 服务器核心构建 2004
- 甲骨文数据库 18c
我已经做了几天的测试,但我仍然无法解决这个问题......
解决方案
通常错误 PRVG-1901 与权限问题有关。
- 以管理员身份运行控制台
- 检查
REG DWORD
命名是否AutoShareWks
存在(在注册表中Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
)。它没。但如果是这样,请确保将该值设置为1
并重新启动。 - 停止
OracleRemExecServiceV2
服务
就我而言,以管理员身份运行控制台解决了这个问题。
推荐阅读
- angular - Angular 7:snapshot.params id 未定义
- f# - 与类型注释匹配的模式
- sql - 活动预订数据库架构建议
- c++ - 如何定义库外的功能?
- java - 如何让 Java Swing 正确绘制?
- c - Fork() 有多个孩子并等待所有孩子完成
- ionic-framework - Ion-Button color="x" 呈现为白色
- json - Swift 4 解码复杂的嵌套 JSON
- amazon-web-services - 如何在一个 terraform 文件中创建 2 个 ASG,并附加一个 ELB?
- java - 如果 Spring 可以成功拦截 @Configuration 类中的类内函数调用,为什么它在常规 bean 中不支持呢?