OracleMTSRecoveryService 启动失败?
我在启动 OracleMTSRecoveryService
时收到此错误:
Could not start the OracleMTSRecoveryService service on Local Computer.
Error 1: Incorrect function.*
也在安装ODAC 服务启动失败期间。
OracleXETNSListener
也未启动。我已重新安装 ODAC,但问题仍然存在。
有什么建议吗?有服务冲突吗?
i am getting this error while starting OracleMTSRecoveryService
:
Could not start the OracleMTSRecoveryService service on Local Computer.
Error 1: Incorrect function.*
Also during installation of ODAC service start failed.
OracleXETNSListener
is also not starting. i have reinstalled ODAC but problem remains.
any suggestions? Any service conflicts?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(12)
查看注册表值
HKEY_LOCAL_MACHINE\Software\Oracle\OracleMTSRecoveryService\Protid_0\
并确保主机名与您的计算机名匹配。如果您使用的是 Windows 7,则注册表路径为
Look at the registry value
HKEY_LOCAL_MACHINE\Software\Oracle\OracleMTSRecoveryService\Protid_0\
and make sure that the host name matches your machine name.If you have Windows 7 the registry path is
这对我也有用,但注册表路径错误。我运行的是 Windows 7 和 Oracle 11gR2 客户端,注册表路径为:
这是注册表文件:
This worked for me as well, but the registry path was wrong. I'm running Windows 7 and the Oracle 11gR2 client and the registry path is:
Here is the registry file:
我有 Windows 7,我有同样的问题,但问题的原因是,我从 C:\app--------\product\11.2.0\dbhome_1\BIN\omtsreco.exe 删除了原始的 oracle 文件夹,所以这就是它失败的原因。
这些步骤对我有用 :)
这在 Windows 7 中对我有用:
打开注册表编辑器窗口,运行命令:regedit
在更改时保持错误窗口打开以下注册表项值:
“Computer\hkey_local_machine\system\controlset001\service\OracleMTSRecoveryService”。
I have windows 7, i had same problem but the reason of my problem was, i deleted the original oracle folder from C:\app------\product\11.2.0\dbhome_1\BIN\omtsreco.exe, so that is why it was failing.
these steps worked for me :)
This worked for me in Windows 7:
Open your Registry Editor window running command: regedit
Keep error window opened while you change the following registry-key value:
"Computer\hkey_local_machine\system\controlset001\service\OracleMTSRecoveryService".
我确实打开了 regedit,但服务器名称错误,因为我试图在生产服务器的克隆副本上安装 Oracle 11g 软件。因此主机名仍然与生产服务器的主机名匹配。我右键单击主机并选择修改,然后将服务器名称更改为我当前(克隆)的服务器名称
I did open up regedit and the server name was wrong because I was trying to install the Oracle 11g software on a clone copy of our production server. So the hostname was still matching that of the production server. I right clicked on Host and choosed modify then changed the server name to my current(cloned) server name
我遇到了同样的问题,我的问题是 C:\oraclexe\app\oracle\product\ 中的 tnsnames 和 listener 文件夹中的主机名错误11.2.0\server\network\ADMIN
这是在我的计算机因名称更改而进行域迁移后发生的。
I had the same problem and my issue was that the host name was wrong in my tnsnames and listener folders from C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
This happened after a domain migration of my computer as it's name changed.
就我而言,它有助于将 Oracle 安装文件夹设置为 PATH 环境变量,例如 c:\oracle\odac。
In my case it helped to set the Oracle installation folder to the PATH environment variable, e.g. to c:\oracle\odac.
这在 Windows 7 中对我有用:
1. 打开注册表编辑器窗口,运行命令:regedit
2. 在更改以下注册表项值时保持错误窗口打开:
“计算机\hkey_local_machine\system\controlset001\service\OracleMTSRecoveryService”。
3. 搜索 ImagePath Value 并将路径更改为 Oracle 的实际安装位置。在这种情况下,为 C:\app\myuser\product\11.2.0\dbhome_1\BIN\omtsreco.exe "OracleMTSRecoveryService"
4. 返回错误窗口并单击“重试”。
并修复了它!
This worked for me in Windows 7:
1. Open your Registry Editor window running command: regedit
2. Keep error window opened while you change the following registry-key value:
"Computer\hkey_local_machine\system\controlset001\service\OracleMTSRecoveryService".
3. Search for ImagePath Value and change the path to where your Oracle is actually installed. In y case is C:\app\myuser\product\11.2.0\dbhome_1\BIN\omtsreco.exe "OracleMTSRecoveryService"
4. Go back to error window and click in Retry.
And fixed it!
致安德鲁B
非常感谢 - 这对我有用。
我还使用 sysinternals 中的 procmon.exe 到达那里
筛选 :
再次感谢。
to AndrewB
Thanks very much - this worked for me.
I also got there using procmon.exe from sysinternals
filter :
Thanks again.
在Oracle12c-32bit(版本12.1.0.2.0)的服务中突然出现这个问题。对我来说,问题在于以下一个或多个文件/文件夹的权限:
C:\oracle\client\\product\12.1.0\client_1
以导致手头错误的方式发生更改('permission Windows 事件日志中显示的“被拒绝”)。我只是对 C:\oracle 进行了递归更改,有效地向对 C:\oracle 具有完全访问权限的所有用户和组授予了根文件夹下所有位置的完全访问权限。
奇怪的是,只有 32 位 oracle-service 由于权限不足而被堵塞。我的 64 位 oracle-service 没有遇到类似的问题,这很奇怪。我不知道破坏 32 位服务的“自发权限调整”在哪里。去算算...
This issue came up all of a sudden with the service of Oracle12c-32bit (version 12.1.0.2.0). For me the issue turned out to be that the permissions of one or more files/folders under:
C:\oracle\client\\product\12.1.0\client_1
Got changed in a way that was causing the error at hand ('permission denied' as seen on windows event logs). I simply made a recursive change of permissions on C:\oracle effectively granting full-access everywhere under the root folder to all the users and groups that had full access to C:\oracle.
The weird thing about all this is that only the 32bit oracle-service got clogged due to insufficient permissions. My 64bit oracle-service didn't suffer from a similar issue which is weird. I don't know where to attribute the "spontaneous permissions-tweak" that broke the 32bit service. Go figure ...
刚刚更改了以下注册表:
第 1 步:更新注册表中的路径:
HKEY_LOCAL_MACHINE\system\controlset001\service\OracleMTSRecoveryService
为文件 omtsreco.exe 设置适当的图像路径条目
就我而言,它是:`E:\app1\NAL65\product\11.2.0\dbhome_1\BIN
第 2 步:更新注册表中的主机:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ORACLE\OracleMTSRecoveryService\Protid_0
it可能会有所不同,例如:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OracleMTSRecoveryService\Protid_0
默认情况下需要将 DESKTOP-DESKTOP 替换为原来的。
第 3 步:重试
就是这样!!!
Just changed following registries:
Step 1. : Update path in registry:
HKEY_LOCAL_MACHINE\system\controlset001\service\OracleMTSRecoveryService
Set appropriate imagepath entry for file omtsreco.exe
In my case it's : `E:\app1\NAL65\product\11.2.0\dbhome_1\BIN
Step 2. : Update host in registry:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ORACLE\OracleMTSRecoveryService\Protid_0
it may be deffer for you like:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\OracleMTSRecoveryService\Protid_0
By default it takes DESKTOP-DESKTOP replace it with original one.
Step 3: retry
That's it !!!
当我安装 Oracle DB 11g 时,OracleMTSRecoveryService 也无法启动,安装进度为 71%,但在我关闭防病毒程序 (Avast Pro 15) 并单击“重试”后,它对我有用。 AV防火墙可能是关键问题。
The OracleMTSRecoveryService couldn't start when I was installed Oracle DB 11g as well, at 71% of installing progress, but after I turned off my antivirus program (Avast Pro 15) and clicked Retry, it worked for me. The AV firewall may be the key problem.
将
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\OracleMTSRecoveryService\Protid_0
中的主机文件值从 localhost 更改为127.0.0.1
有效另外,单击重试对我也有效。单击“重试”后,安装继续进行,没有任何警告或错误。
changing the value of Host file from localhost to
127.0.0.1
inHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\OracleMTSRecoveryService\Protid_0
workedAlso clicking on retry worked for me. After clicking on retry the installation proceeded without any warning or error.