Oracle报错ORA-12162: TNS:net service name is incorrectly specified
ORA-12162: TNS:net service name is incorrectly specified
环境aix 5.3+10.2.0.4
su – oracle
sqlplus / as sysdba
报以下错误:
ORA-12162: TNS:net service name is incorrectly specified
原因可能有以下三个:
1:.profile文件中估计没有正确设置ORACLE_SID环境变量
2:检查sqlnet.ora中sqlnet.authentication_services设置
3:用 orapwd 重建密码文件
解决:
设置正确的.profile文件中的ORACLE_SID 值,然后用oracle重新登录,正常。
本文由风哥教程整理发布,仅用于学习测试使用,转载注明出处:http://www.fgedu.net.cn/10327.html
