今天项目上利用运行netca创建监听时报错,(运行netmgr可以弹出窗口,未测试是否可以建立监听)
报错信息:
[oracle@BSS-WG2 ~]$netca
Oracle Net Services Configuration:
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x002bb9b3, pid=6447, tid=4160280784
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_14-b05 mixed mode)
# Problematic frame.:
# C  [libc.so.6+0x6e9b3]  index+0x63
#
# An error report file with more information is saved as hs_err_pid6447.log
#
# If you would like to submit a bug report, please visit:
#    http://java.sun.com/webapps/bugreport/crash.jsp
#
/app/oracle/product/10.2.0 _1/bin/netca: line 190:  6447 Aborted                 $JRE -mx64m $SRVM_PROPERTY_DEFS -Dsun.java2d.font.DisableAlgorithmicStyles=true -classpath $CLASSPATH oracle.net.ca.NetCA $*
[oracle@BSS-WG2 ~]$

报错原因:运行netca时可能需要获取主机名和相应ip,netca应该是从/etc/hosts/文件中获取主机名和ip。但本主机的/etc/hosts中配置主机名和ip的记录被注释掉了,导致necta获取不到相关信息报错。

解决过程:
查看主机ip
[oracle@BSS-WG2 ~]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:18:8B:E5:E5:9D  
          inet addr:134.161.9.132  Bcast:134.161.9.255  Mask:255.255.255.0
          inet6 addr: fe80::218:8bff:fee5:e59d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1938345 errors:0 dropped:0 overruns:0 frame.:0
          TX packets:1784385 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1219179624 (1.1 GiB)  TX bytes:1118035659 (1.0 GiB)
          Interrupt:90

eth0:0    Link encap:Ethernet  HWaddr 00:18:8B:E5:E5:9D  
          inet addr:134.160.25.11  Bcast:134.160.25.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:90

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2036475 errors:0 dropped:0 overruns:0 frame.:0
          TX packets:2036475 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1224569606 (1.1 GiB)  TX bytes:1224569606 (1.1 GiB)
查看主机名
[oracle@BSS-WG2 ~]$hostname
BSS-WG2

查看/etc/hosts文件
# Do not remove the following line, or various programs
# that require network functionality will fail.
::1 localhost.localdomain localhost BSS-WG2  
#134.161.9.132 BSS-WG2
#134.160.25.11 BSS-WG2

发现:运行ifconfig、hostname 都可以得到ip和主机名,且正确。但/etc/hosts文件里的相关ip和主机名都给注释掉了。问题可能出在这里

解决办法:将hosts文件中的#134.161.9.132 BSS-WG2---->134.161.9.132 BSS-WG2后netca运行成功。
127.0.0.1               localhost.localdomain   localhost

总结:

在网上查找此问题还会引起如下问题
问题现象1. sqlplus中无法启动实例
psdb@ssm /home/oracle$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on Fri Jun 5 23:37:21 2009

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

Connected to an idle instance.

SQL> startup;
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], []

问题现象2:无法使用dbca创建实例
在使用dbca图形化界面创建数据库实例的时候有两种错误形式。
第一种报错形式和上面netca报错信息类似。
第二种报错形式是,在确认创建数据库的时候,弹出一个小对话框提示ORA-00600 [keltnfy-ldmInit], [46]错误。

Metalink相关描述
针对上面提到的“问题现象一”错误,Metalink上有篇详细描述的文章,又进一步探索需求的朋友可以参考一下:
Startup Database Produces Ora-00600: [Keltnfy-Ldminit]
      Doc ID:     336447.1     Type:     PROBLEM
      Modified Date :     23-OCT-2008     Status:     PUBLISHED

netcat运行出错的更多相关文章

  1. MySQL运行出错:无法连接驱动、无root访问权限解决办法

    按照疯狂java讲义的13.3的程序,发现程序运行出错. 1.点开runConnMySql.cmd运行文件,出现如下结果: 2.用Editplus进行编译运行,如下结果: 报错定位到程序第18行,而第 ...

  2. 写shell,运行出错:syntax error near unexpected token `$’do\r”

    cygwin下面写shell,运行出错:syntax error near unexpected token `$’do\r” 写shell,运行出错:syntax error near unexpe ...

  3. vs2010程序运行出错 link : fatal error lnk1123: 转换到 coff 期间失败: 文件无效或损坏

    vs2010程序运行出错 link : fatal error lnk1123: 转换到 coff 期间失败: 文件无效或损坏 2014-03-27 11:34杜_柏 | 浏览 36144 次 请问这 ...

  4. 【转】MIUI8以及ViVO X9上在Android Studio运行出错集及其解决方案

    最近用一台红米4高配版(6.0)以及ViVo X9(7.1)来做测试机,它是小米MIUI系统的最新版本MIUI8,我的AS是2.3版本,在网上查看了相关问题,在小米5和红米note4x等配备了MIUI ...

  5. $ gulp watch 运行出错解决方法

    $ gulp watch 运行出错解决方法   $ gulp watch     如果你出现了如下报错信息: gulp-notify: [Laravel Elixir] Browserify Fail ...

  6. python文件打包发布(引用的包也可以加进来),打包出错解决了,运行出错解决了

    一开始,我以为,打包本来就很容易,可是没有..... 没想到打包还能遇到坑 T.T 打包步骤: 1.安装 pyinstaller (cmd) pip install pyinstaller 2.进入目 ...

  7. npm运行出错npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree

    npm运行出错npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree 场景复现: 使用vue CLI创建项 ...

  8. 拉曼软件在win8上运行出错问题

    前提:xp上安装运行都没错  xp的.NET 环境是4.0 ,win8 是64位系统.自带.NET Framework 3 (3.0 3.5) 和.NET Framework 4.51:源程序拷贝到w ...

  9. maven项目打包运行出错问题汇总

    maven项目打包时总会出现莫名其妙的错误,现总结一下. 打包方式:在maven项目底下运行cmd,输入mvn clean package,会自动按pom.xml的配置打成包.使用java -jar ...

随机推荐

  1. Mindjet MindManager 2012 从模板创建出现“Runtime Error pure virtual function call” 解决方法

    我的Mindjet MindManager 2012 Pro也就是MindManager10 在应用模板之后总会显示 Microsoft Visual C++ Runtime Library Runt ...

  2. [lua]再版jobSchedule与脚本描述范型

    首先贴上代码 -- CPM:关键路径法(Critical Path Method) jobSchedule = { todos = { -- todo list ... ["finale&q ...

  3. "The request sent by the client was syntactically incorrect ()"问题定位及解决:

    Spring MVC "The request sent by the client was syntactically incorrect ()"解决办法: 把spring日志级 ...

  4. 用Xamarin和Visual Studio编写iOS App

    一说开发 iOS app,你立马就会想到苹果的开发语言 Objective C/Swift 和 Xcode.但是,这并不是唯一的选择,我们完全可以使用别的语言和框架. 一种主流的替换方案是 Xamar ...

  5. session与cookie的区别,有哪些不同之处

    session与cookie的区别,根据自己的理解总结如下: (1)cookie是一种客户端的状态管理技术,将状态写在 浏览器端,而session是一种服务器端的状态管理技术,将 状态写在web服务器 ...

  6. python的py文件打包成exe

    一.首先需要安装Pyinstaller-- 使用pip来安装模块 (我电脑上装的是python的一个编译环境Anaconda,如果电脑上装的是python自带的IDE的话,就直接进入python的安装 ...

  7. window scipy install

    http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy whl包,使用pip install xx.whl  安装 1:先安装 numpy+mkl.  whl ...

  8. u-boot烧写Linux及系统整个启动过程

    一.烧写文件 u-boot: u-boot.bin linux kernel: uImage Filesystem: root.bin(yaffs) 二.烧写步骤  1.烧写u-boot tftp 0 ...

  9. linux下配置NFS服务器

    (声明:本文大部分文字摘自Linux NFS服务器的安装与配置) 一.NFS简介     NFS 是Network File System的缩写,即网络文件系统.一种使用于分散式文件系统的协定,由Su ...

  10. 编程思想—依赖注入(DI)并非实现控制反转(IOC)的最佳方法

    以构造函数注入为例: public class TestClass(IClassA a,IClassB b, IClassC C,IClassD d) { public void Method1() ...