Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the ORA-12546 error is prompted when logging in to Oracle on window10?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces how to prompt ORA-12546 errors when logging in to Oracle on window10. What is introduced in this article is very detailed and has certain reference value. Interested friends must finish reading it!

Installed the 64-bit version of Oracle 10.2.0.4 on the 64-bit Windows 10, and encountered a lot of problems. Although it is possible to install this version less and less now, I still share it, hoping to help some people.

1. Problems encountered during installation

Under the ordinary user, the user executes the installation program as an administrator, and the prompt after execution: check the operating system version: must be 5.1 or 5.2. In fact, 6.1 failed.

The following adjustments have been made by querying the data:

Find refhost.xml in the installation directory (there are two, one in the stage\ prereq\ db directory and the other in the stage\ prereq\ db_prereqs\ db directory)

Add the following code:

Many materials on the Internet have mentioned that this adjustment still cannot solve the problem, and the following adjustment is still needed, which is rarely mentioned:

Modify an oraparam.ini file in the installation directory, in the install directory

In [Certified Versions]

# You can customise error message shown for failure, provide value for CERTIFIED_VERSION_FAILURE_MESSAGE

# Windows=5.0,5.1,5.2,6.1

Finally, add the following code:

[Windows-6.1-required]

# Minimum display colours for OUI to run

MIN_DISPLAY_COLORS=256

# Minimum CPU speed required for OUI

# CPU=300

[Windows-6.1-optional]

two。 Lack of monitoring service

After installation, it is found that the listening service is not automatically created in the list of windows services, possibly because the current user is not an administrator.

So, when you find the lsnrctl.exe in the oracle directory C:\ oracle\ product\ 10.2.0\ db_1\ BIN, set it on the compatibility page of its properties:

Run this program as an administrator.

Then, execute lsnrctl on the command line to execute start in the listener, and the listener service is automatically created.

3. Unable to log in to the database

Configure the listener and the local net service name through netca. After creating the instance, you will always be prompted when you log in to the server through SQLPlus:

ORA-12546:Permission denied

From the hint, it is the problem of permissions. Try to set the compatibility page of sqlplus.exe and oracle.exe to "run this program as an administrator", but it still can't be solved.

Even after logging back in as an administrator, restarting the listening and the instance is still the same error.

Finally, I tried to set the compatibility of the file oracle.exe to: run the program in compatibility mode, windows 7, and finally solved this problem.

Verify that you do not need to set "run this program as an administrator".

The above is all the contents of this article entitled "what to do with ORA-12546 errors when logging in to Oracle on window10". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report