4、check SID
SQL> select instance_name from v$instance;
INSTANCE_NAME
----------------
orcl
SQL>
5、check the hosts file in server and local
local :
192.168.1.79centos79
192.168.1.254 bbb-7a9d379e51a
192.168.1.76centos76
server:
[oracle@centos79 admin]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail
127.0.0.1
centos79 localhost
::1
centos9 localhost9
192.168.1.79 centos79
192.168.1.254 bbb-7a9d379e51a
192.168.1.76 centos76
[oracle@centos79 admin]$
7、connect tolocal from server
[oracle@centos79 ~]$ sqlplus system/system@orcl254
SQL*Plus: Release 10.2.0.1.0 - Production on Wed Aug 19 17:32:29 2009
Copyright (c) 1982, 2005, Oracle.All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>
连接成功
[ 本帖最后由 zeromyth 于 2009-8-19 17:36 编辑 ]