我在虚拟机里面装了两个linux系统、然后将两边的ip设在了同一个网段、并且能ping通
[oracle@Redhat admin]$ tnsping a 10
TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 17-DEC-2011 22:59:44
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.124.3)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ora10g)))
OK (0 msec)
OK (10 msec)
OK (0 msec)
OK (0 msec)
OK (0 msec)
OK (0 msec)
OK (0 msec)
OK (10 msec)
OK (0 msec)
OK (0 msec)
[oracle@RedHat admin]$ tnsping b 10
TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 17-DEC-2011 23:00:28
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.124.2)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = ora10g)))
OK (0 msec)
OK (0 msec)
OK (10 msec)
OK (0 msec)
OK (0 msec)
OK (0 msec)
OK (0 msec)
OK (0 msec)
OK (10 msec)
OK (0 msec)
但是当我在任意一个系统的下停止监听的时候都会报错
[oracle@RedHat admin]$ lsnrctl stop
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 17-DEC-2011 23:02:00
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.124.2)(PORT=1521)))
TNS-01189: The listener could not authenticate the user
为什么、
我是想配置两台机器oracle datagurad的、
------解决方案--------------------------------------------------------
两台机器能ping通不?
如果两个数据库的代码是分开的话那各自的监听是不会对其他的数据库造成影响的噢.
你能分别启动每个机器的数据库不?