在linux执行sqlplus报这个错误, 执行netca命令, 配置Naming Methods configuration和Local Net Service Name configuration ,
然后查看/u01/oracle/product/10.2.1/network/admin/tnsnames.ora和/u01/oracle/product/10.2.1/network/admin/sqlnet.ora文件,
记住其中的SERVICE_NAME参数应该和.bash_profile中的SID一致,重新连接应该没有问题了, 呵呵
sqlplus username/passwd@connect_identifier (connect_identifier是tnsnames.ora文件中开始那个)