If while installing oracle DB on linux, if you get the following two messages:
ORA-12154: TNS:could not resolve connect identifier specified
ORA-0107: invalid username/password; logon denied
It probably means that you have chosen A) to create a DB while installing oracle, and B) chosen not to read the full set of installation instructions(10gR2 on x64 Linux) available on oracles website. I was guilty of both a couple week ago, and when searching for those error messages together I didn’t find anything. I then went back and read through the entire documentation and found the following password recommendations tidbit, I had previously skipped over thinking “pshah! I know how to create a good password! I don’t need oracle telling ME how to create good passwords”. Oops.
Here is a link to oracles 10gR2 tech reference site, which contains lots of good reading material.
Here is a quote from the relevent section of the installation guide, but please read the whole thing.
Password recommendations
Apply the following guidelines when specifying passwords:
- Passwords must be between 4 and 30 characters long.
- Passwords must be from the database character set and can include the underscore (_), dollar ($), and pound sign (#) characters.
- Passwords must not start with a numeral.
- Passwords must not be the same as the user name.
- Passwords must not be Oracle reserved words.
- The
SYSaccount password must not bechange_on_install.- The
SYSTEMaccount password must not bemanager.- The
SYSMANaccount password must not besysman.- The
DBSNMPaccount password must not bedbsnmp.- If you choose to use the same password for all the accounts, then that password must not be
change_on_install,manager,sysman, ordbsnmp.- Passwords should have at least 1 alphabetic, 1 numeric, and 1 punctuation mark character
- Passwords should not be simple or obvious words, such as
welcome,account,database, anduser.
P.S. This problem is not unique to the installation of Oracle, but when I searched google I found several people complaining about this exact problem during installation, with no resolution. I’m hoping that an installation focused article will make its way to the top of the search results for people to find. If you are getting the above error messages when you run dbca, you have the same problem, since the install app, just calls dbca.
If you find this post useful, tell me! Thanks!
Wahoo says:
Thank you for sharing!
6 October 2007, 3:40 pmmyspace chips says:
i may not have supposed this had been impressive a couple years back yet its amusing how years switches the means by which you experience so many creative ideas, thank you for the blog post it truly is relaxing to browse through anything intelligent occasionally in lieu of the widely seen rubbish mascarading as information sites on the web, i’m going to have fun with a few rounds of facebook poker, take care
20 March 2010, 6:35 pmGerry Metevier says:
Tired of getting low amounts of useless visitors for your website? Well i want to share with you a brand new underground tactic that produces myself $900 each day on 100% AUTOPILOT. I really could be here all day and going into detail but why dont you just check their site out? There is a excellent video that explains everything. So if your seriously interested in making effortless money this is the website for you. Auto Traffic Avalanche
30 August 2010, 12:08 pmCarlena Goates says:
Sick of obtaining low numbers of useless traffic for your site? Well i wish to inform you of a new underground tactic which makes myself $900 each day on 100% AUTOPILOT. I could truthfully be here all day and going into detail but why dont you simply check their site out? There is a excellent video that explains everything. So if your seriously interested in making effortless cash this is the website for you. Auto Traffic Avalanche
30 August 2010, 1:07 pm