今天安装oracle数据库的时候一直报00600的错误,都搞崩溃了,最后才发现错的好离谱
主机名当时修改的是hhhh

(注:图片当时忘截了,这是后期在网上看到的图,报错都是一样的)
[root@hhhh ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=hhhh
[root@hhhh ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
::1 localhost6.localdomain6 localhost6
192.168.200.12 hhh
刚开始还没发现错误,百度搜好多发现网友的原因都是:/etc/hosts文件错误,
最后终于发现hosts文件主机名少了一个h,,,,,好无语。
[root@hhhh ~]# vi /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost
::1 localhost6.localdomain6 localhost6
192.168.200.12 hhhh
~
~
~
~
~
"/etc/hosts" 5L, 190C written
问题解决。
在此劝诫其他朋友,给主机命名最好起个有意义一点的,避免再发生类似错误。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29618264/viewspace-2089404/ ,如需转载,请注明出处,否则将追究法律责任。