解决方案 »

  1.   

    换网线后ip地址应该是发生了变化,需要重新配置监听和tns才行
      

  2.   

    我的Oracle是安装在虚拟机的Linux上面的,我查看IP的时候还是和以前一样的。重新配置监听你是说对listener.ora和tnsnames.ora进行配置吗?
      

  3.   

    试过netca但是有这样的错误提示:
    [oracle@bogon admin]$ netcaOracle Net Services Configuration:An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x7E6403
    Function=index+0x63
    Library=/lib/libc.so.6
    貌似关虚拟机的事情?
      

  4.   

    试过netca但是有这样的错误提示:
    [oracle@bogon admin]$ netcaOracle Net Services Configuration:An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x7E6403
    Function=index+0x63
    Library=/lib/libc.so.6
    貌似关虚拟机的事情?
    首先你能不能ping通虚拟机,注意看一下虚拟机的网络连接方式,
    linux把防火墙和selinux关闭
      

  5.   

    试过netca但是有这样的错误提示:
    [oracle@bogon admin]$ netcaOracle Net Services Configuration:An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x7E6403
    Function=index+0x63
    Library=/lib/libc.so.6
    貌似关虚拟机的事情?
    首先你能不能ping通虚拟机,注意看一下虚拟机的网络连接方式,
    linux把防火墙和selinux关闭ping通是没问题的。Linux防火墙也关了。selinux在安装Oracle的时候已经关了。如果把网线拔掉又可以正常了,不知道在哪里设置,现在启动Oracle都报错。
      

  6.   

    是不是你换网线之后IP地址改变了啊。试下打开\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora文件修改HOST为你的主机名
      

  7.   

    里面的配置看了下,写的是localhost,应该没什么事吧
      

  8.   

    试过netca但是有这样的错误提示:
    [oracle@bogon admin]$ netcaOracle Net Services Configuration:An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x7E6403
    Function=index+0x63
    Library=/lib/libc.so.6
    貌似关虚拟机的事情?是不是没安装图形界面?
    还是没有启动图形界面?
    如果没安装就安装一个,
    安装了就在虚拟机图形界面里面配置一下。
      

  9.   

    试过netca但是有这样的错误提示:
    [oracle@bogon admin]$ netcaOracle Net Services Configuration:An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x7E6403
    Function=index+0x63
    Library=/lib/libc.so.6
    貌似关虚拟机的事情?
    首先你能不能ping通虚拟机,注意看一下虚拟机的网络连接方式,
    linux把防火墙和selinux关闭ping通是没问题的。Linux防火墙也关了。selinux在安装Oracle的时候已经关了。如果把网线拔掉又可以正常了,不知道在哪里设置,现在启动Oracle都报错。
    你这是不是改了主机名?
      

  10.   

    问题已经知道,因为联网的时候主机变成了bogon而不是localhost。不知道为什么我修改了/etc/hosts 和/ect/sysconfig/network主句的名字还是不能变成localhost。只能用hostname的命令来临时解决了。