Welcome 微信登录

首页 / 数据库 / MySQL / SUSE Linux9下Oracle10g监听问题笔记

环境:操作系统:SUSE Linux9数据库: Oracle10gR21:更改主机host[root@www ~]# hostnamelinux[root@www ~]# hostname test11[root@www ~]# hostnametest11[root@www ~]#2:尝试重启监听oracle@linux:/> lsnrctl stopLSNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-11月-2006 16:51:09Copyright (c) 1991, 2005, Oracle.  All rights reserved.Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))The command completed successfullyoracle@linux:/> lsnrctl startLSNRCTL for Linux: Version 10.2.0.1.0 - Production on 29-11月-2006 16:51:32Copyright (c) 1991, 2005, Oracle.  All rights reserved.Starting /free/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait...TNSLSNR for Linux: Version 10.2.0.1.0 - ProductionSystem parameter file is /free/oracle/product/10.2.0/db_1/network/admin/listener.oraLog messages written to /free/oracle/product/10.2.0/db_1/network/log/listener.logListening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))STATUS of the LISTENER------------------------Alias                     LISTENERVersion                   TNSLSNR for Linux: Version 10.2.0.1.0 - ProductionStart Date                29-11月-2006 16:51:32Uptime                    0 days 0 hr. 0 min. 42 secTrace Level               offSecurity                  ON: Local OS AuthenticationSNMP                      OFFListener Parameter File   /free/oracle/product/10.2.0/db_1/network/admin/listener.oraListener Log File         /free/oracle/product/10.2.0/db_1/network/log/listener.logListening Endpoints Summary...(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1)))(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))Services Summary...Service "PLSExtProc" has 1 instance(s).Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...The command completed successfully可以看到,监听启动很慢,但是最后还是能启动成功,其实这是假象,我们测试即可得知。其实监听在每次启动时刻会去读系统的主机名,然后根据主机名启动lsnrctl。3:测试监听连接的有效性下面的standby是本地目录服务名。oracle@linux:> sqlplus "sys/cicro@standby as sysdba"SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 11月 29 17:04:24 2006Copyright (c) 1982, 2005, Oracle.  All rights reserved.ERROR:ORA-12541: TNS:no listeneroracle@linux:> sqlplus "/as sysdba"SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 11月 29 17:07:32 2006Copyright (c) 1982, 2005, Oracle.  All rights reserved.Connected.SQL> shutdown immediateORA-24324: service handle not initializedORA-24323: value not allowedORA-00600: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]SQL>SQL> select host_name from v$instance;HOST_NAME--------------------------------------------------------------------------------linux可以看到,此时关闭数据库也报错。数据库 v$instance中记录的hostname是linux,但是此时host name已经修改成了test11
  • 1
  • 2
  • 3
  • 4
  • 下一页
实现Oracle数据库的存储过程中拥有“role”权限MySQL数据库表名、列名、别名区分大小写的问题及解决相关资讯      oracle10g  SUSE Linux9 
  • 在Oracle Linux 5.11上构建基于LVM  (02月14日)
  • Oracle10g DG 的搭建  (10/26/2013 07:27:57)
  • Oracle10g scott解锁  (07/28/2012 06:12:32)
  • Oracle10g 64位 在Windows 2008   (12/19/2015 13:24:57)
  • Oracle Enterprise Linux 5.6安装  (08/30/2012 08:46:56)
  • RHEL5.5_x86_64 上安装Oracle10g   (05/07/2010 10:05:47)
本文评论 查看全部评论 (0)
表情: 姓名: 字数