Linux下IP修改后重启服务器 oralce 出错(监听无法启动)

时间:2022-08-09 08:38:01

针对linux下修改IP导致的Oracle不能启动问题的解决

主要修改/etc/hosts配置文件。
修改前配置:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.10.192.67 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6


修改后配置:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
10.10.192.67 localhost.localdomain localhost
192.168.1.10 localhost.localdomain localhost

::1 localhost6.localdomain6 localhost6


修改后,重启Oracle,就可以了。