Oracle实验环境64位单机版
http://www.jiagulun.com/thread-8281-1-1.html
从论坛里下载了64位单机版的实验环境。
下载后通过putty连接到linux,想启动oracle环境。
出现了下面的2个问题,问题1解决了。求问题2的解决方法。。。
1. 启动oracle监听失败
错误log:
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=redhat4)(PORT=1521)))
TNS-12545: Connect failed because target host or object does not exist
TNS-12560: TNS:protocol adapter error
TNS-00515: Connect failed because target host or object does not exist
Linux Error: 11: Resource temporarily unavailable
Listener failed to start. See the error message(s) above...
对策:
①修改/u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora文件
把redhat4 改成127.0.0.1
②修改/etc/hosts
添加以下内容
127.0.0.1 localhost.localdomain localhost
2. 按照问题1的对策修改后,listener可以启动了。但是启动数据库的时候出现了新的问题。还没有找到解决办法。
尝试过修改/etc/sysconfig/network的内容:HOSTNAME=127.0.0.1
没有效果。。。
错误log:
[oracle@redhat4 ~]$ lsnrctl start
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 23-FEB-2014 05:48:11
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.100)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 23-FEB-2014 05:48:11
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@redhat4 ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 23 05:48:30 2014
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn /as sysDBA
Connected to an idle instance.
SQL> startup
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []
SQL>
|
|