solaris创建了用户组dba,其下用户名oracle,用oracle用户登陆solaris,并安装ORACLE。
ORACLE安装成功后,创建了数据库mc,sid也为mc。
在solaris上,连接ORACLE数据库:
$echo $ORACLE_SID
mc
$sqlplus / as sysdba
SQL*PLus: Release 10.2.0.1.0 - Production on Mon Mar 7 11:05:41 2011
CopyRight (c) 1982, 2005, Oracle. All rights reserverd.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from dual;
D
-
x
SQL>
显示已经连接成功,并用 select * from dual 作了测试。
然而,我在windows XP上测试连接mc时(TNS for 32-bit Windows: 10.2.0.1.0):
Net Manager测试连接,报错:
初始化首次测试请使用用户名: scott, 口令: tiger
正在尝试使用以下用户 ID 连接:scott
测试没有成功。
ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
SVR4 Error: 13: Permission denied
在输入的字段中可能有错误,
或者服务器连接未就绪。
其中,TNS是这样:
MC_10_75_9_18 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.75.9.18)(PORT = 1521))
)
(CONNECT_DATA =
(SID = mc)
)
)
windows XP端连接报错是怎么回事呢?
求教,谢谢大家了!