In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
 
            
                     
                
2025-10-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
ORACLE ORA-01017&SP2-0157 and sys password reset example analysis, I believe that many inexperienced people are helpless, for this reason this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
Environment:
Operating system version: Windows Server 2012R2
Database version: oracle 11.2.0.3 Single instance
Problem description: recently, for a new city deployment inspection script, found sys can not log in with the default mode of operating system authentication, error as shown in the figure
Problem analysis: ORA-01017&SP2-0157 is caused by two reasons, one is to deploy multiple Oracle instances on the server sys login specified instance needs to specify oracle_sid, the other is the database
Password authentication turned on or OS authentication turned off.
problem handling process
1. View database monitoring status
2. View database servers to exclude services with multiple instances
3. View the database-related sqlnet.ora configuration. The configuration is the operating system authentication. Here, for the sake of customer database security, no modification is made.
 
4. Reset the database sys password according to the technical requirements of the city. Open the operating system cmd command window as an administrator.
--If cmd is not opened as an administrator, an error will be reported when resetting the password, as shown below
 
5. Reset database sys user password and test login with new password
--Note to backup the original PWD$ORACLE_SID.ora file before resetting the password, otherwise an error will be reported as shown below.
At this point, oracle database sys password reset operation is complete!
After reading the above contents, do you master the method of ORACLE ORA-01017&SP2-0157 and sys password reset example analysis? If you still want to learn more skills or want to know more related content, welcome to pay attention to the industry information channel, thank you for reading!
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about

The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r


A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from

Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope

                    First, add dependencies 
 Wechat 
             
                About us
                 Contact us
                 Product review
                 car news
                 thenatureplanet
        
                 
                 
     
More Form oMedia:
               
AutoTimes.
Bestcoffee.
SL News.
Jarebook.
Coffee Hunters.
Sundaily.
Modezone.
NNB.
Coffee.
Game News.
FrontStreet.
GGAMEN
 © 2024 shulou.com SLNews  company. All rights reserved.