IP地址变化后Oracle 10g不受影响

来源:互联网 发布:注会网络课如何 编辑:程序博客网 时间:2024/04/27 00:41

IP地址变化后Oracle 10g不受影响  在实际的工作环境中,许多人为了适应客户的环境,总是需要频繁更改IP地址,但是在IP地址变换后,Oracle 10g就会出现启动不了的现象。网上相关问题的技术文章大多数是针对Oracle 9i,或者以前的Oracle 8i的版本,对与Oracle 10g的版本,大多只是介绍了大概,并没有给出具体的步骤!本文中,我们将针对这一问题给出具体的解决步骤:
解决步骤如下:


1、控制面板--->添加硬件--->下一步--->是,我已经连接了此硬件--->添加新硬件--->安装我手动从列表选择的硬件-->网络适配器---> microsoft---->Microsoft loopback Adapter--->下一步---->安装完成。


2、 在C:/WINDOWS/system32/drivers/etc/下的hosts文件中添加 “10.10.10.10 机器名”。

如:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

 

127.0.0.1 localhost

 

10.10.10.10 ddfc5d946169460

 

 


3、配置新加的网卡的IP为:10.10.10.10。


4、重新配置Net Manager(包括诊听的IP地址等)。


5、重新启动各项服务。


设置完毕后,无论以后你的IP地址怎样变化,都不会再出现数据库启动不了的现象了。

原创粉丝点击