Oracle9i local connection failed after Windows optimization system

Source: Internet
Author: User
Tags execution oracle database
oracle|window| optimization
The system we are using is Windows2000, and after optimization, there is a problem with the Oracle database and the local client cannot connect. But remote connections are fine.
After checking, the original Oracle Tnslistener service did not start. Either start with "service" or net start start failed, check the result is in the registry
The Tnslistener execution file path has been deleted. So we just export some of the registry files from other computers that have Oracle servers installed.
Then it's OK to import to this machine.
The following is the contents of the imported registry for my computer.
----------

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE YSTEM\CONTROLSET001 Ervices\oracleorahome92tnslistener]
"Type" =dword:00000010
"Start" =dword:00000002
"ErrorControl" =dword:00000001
"ImagePath" =hex (2): 44,00,3a,00,5c,00,6f,00,72,00,61,00,63,00,6c,00,65,00,5c,00,\
6f,00,72,00,61,00,39,00,32,00,5c,00,42,00,49,00,4e,00,5c,00,54,00,4e,00,53,\
00,4c,00,53,00,4e,00,52,00,20,00,00,00
"DisplayName" = "Oracleorahome92tnslistener"
"ObjectName" = "LocalSystem"

[HKEY_LOCAL_MACHINE YSTEM\CONTROLSET001 Ervices\oracleorahome92tnslistener ecurity]
"Security" =hex:01,00,14,80,a0,00,00,00,ac,00,00,00,14,00,00,00,30,00,00,00,02,\
00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\
00,00,02,00,70,00,04,00,00,00,00,00,18,00,fd,01,02,00,01,01,00,00,00,00,00,\
05,12,00,00,00,00,00,00,00,00,00,1c,00,ff,01,0f,00,01,02,00,00,00,00,00,05,\
20,00,00,00,20,02,00,00,00,00,00,00,00,00,18,00,8d,01,02,00,01,01,00,00,00,\
00,00,05,0b,00,00,00,20,02,00,00,00,00,1c,00,fd,01,02,00,01,02,00,00,00,00,\
00,05,20,00,00,00,23,02,00,00,00,00,00,00,01,01,00,00,00,00,00,05,12,00,00,\
00,01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE YSTEM\CONTROLSET001 Ervices\oracleorahome92tnslistener\enum]
"0" = "root\\legacy_oracleorahome92tnslistener\\0000"
"Count" =dword:00000001
"Nextinstance" =dword:00000001

----------
Copy the contents of the above to a. txt file, and then change txt to a. reg file, and then double-click the file.
Note: My Oracle execution file is installed on D disk. If not, you can modify the key values in the registry to be correct.




Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.