Today I encountered a strange problem:
Using sqlplus on the client allows normal users to log on, but neither system nor sys users can log on, prompting ORA-12154: TNS: unable to resolve the specified connection identifier
[@ More @] SQL> conn system @ webdata
Enter the password:
ERROR:
ORA-12154: TNS: Unable to parse the specified connection identifier
SQL> conn xgplat @ webdata
Enter the password:
Connected.
I thought the client was a 32-bit server. I used sqlplus to log on to the Oracle server.
SQL> conn system @ webdata
Enter password:
ERROR:
ORA-12541: TNS: no listener
SQL> conn xgplat @ webdata
Enter password:
Connected.
I asked some people who are confused and confused about the problem. When someone said it was related to the password file, I thought that the password of my system/sys user contains a @ character.
For example, if my password is 123 @ 456, you can use sqlplus to Log On As sqlplus system/123 @ 456 @ webdata, in this way, sqlplus is understood as the connection string of the database after 123. In this way, an error is reported and a prompt is displayed, indicating that the specified connection identifier or no listener cannot be resolved.
After logging on to the server with sqlplus/as sysdba, change the password of sys/system and try again.
Logon problems when the Oracle user password contains special characters
Install Oracle 11gR2 (x64) in CentOS 6.4)
Steps for installing Oracle 11gR2 in vmwarevm
Install Oracle 11g XE R2 In Debian