OracleMTSRecoveryService 启动失败?

发布于 2024-12-11 15:09:17 字数 312 浏览 0 评论 0原文

我在启动 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(12

瘫痪情歌 2024-12-18 15:09:18

查看注册表值 HKEY_LOCAL_MACHINE\Software\Oracle\OracleMTSRecoveryService\Protid_0\ 并确保主机名与您的计算机名匹配。

如果您使用的是 Windows 7,则注册表路径为

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\OracleMTSRecoveryService\Protid_0

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

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\OracleMTSRecoveryService\Protid_0
长途伴 2024-12-18 15:09:18

这对我也有用,但注册表路径错误。我运行的是 Windows 7 和 Oracle 11gR2 客户端,注册表路径为:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\OracleMTSRecoveryService\Protid_0

这是注册表文件:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\OracleMTSRecoveryService\Protid_0]
"Name"="HTTP"
"Host"="putyourmachinesnamehere.com"
"Port"="2030"

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:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\OracleMTSRecoveryService\Protid_0

Here is the registry file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\OracleMTSRecoveryService\Protid_0]
"Name"="HTTP"
"Host"="putyourmachinesnamehere.com"
"Port"="2030"
︶葆Ⅱㄣ 2024-12-18 15:09:18

我有 Windows 7,我有同样的问题,但问题的原因是,我从 C:\app--------\product\11.2.0\dbhome_1\BIN\omtsreco.exe 删除了原始的 oracle 文件夹,所以这就是它失败的原因。

这些步骤对我有用 :)

这在 Windows 7 中对我有用:

  1. 打开注册表编辑器窗口,运行命令:regedit

  2. 在更改时保持错误窗口打开以下注册表项值:

“Computer\hkey_local_machine\system\controlset001\service\OracleMTSRecoveryService”。

  1. 搜索 ImagePath Value 并将路径更改为 Oracle 实际安装位​​置。在您的情况下是 C:\app\myuser\product\11.2.0\dbhome_1\BIN\omtsreco.exe "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:

  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".

  1. Search for ImagePath Value and change the path to where your Oracle is actually installed. In your case is C:\app\myuser\product\11.2.0\dbhome_1\BIN\omtsreco.exe "OracleMTSRecoveryService"
羁绊已千年 2024-12-18 15:09:18

我确实打开了 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

甜心小果奶 2024-12-18 15:09:18

我遇到了同样的问题,我的问题是 C:\oraclexe\app\oracle\product\ 中的 tnsnameslistener 文件夹中的主机名错误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.

温柔少女心 2024-12-18 15:09:18

就我而言,它有助于将 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.

话少心凉 2024-12-18 15:09:18

这在 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!

橘亓 2024-12-18 15:09:18

致安德鲁B
非常感谢 - 这对我有用。

我还使用 sysinternals 中的 procmon.exe 到达那里
筛选 :

进程=omtsreco.exe
然后过滤以仅查看注册表项......
必须用新主机名(服务器的完整计算机名称)更新主机名。

再次感谢。

to AndrewB
Thanks very much - this worked for me.

I also got there using procmon.exe from sysinternals
filter :

process=omtsreco.exe
then filtered to view only registry entries....
Had to update the hostname (full computer name of the server) by the new one.

Thanks again.

忘你却要生生世世 2024-12-18 15:09:18

在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 ...

云淡风轻 2024-12-18 15:09:18

刚刚更改了以下注册表:

第 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 !!!

阳光的暖冬 2024-12-18 15:09:18

当我安装 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.

哑剧 2024-12-18 15:09:18

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 in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ORACLE\OracleMTSRecoveryService\Protid_0 worked

Also clicking on retry worked for me. After clicking on retry the installation proceeded without any warning or error.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文