在启动oracle数据库的监听时,如果出现 Linux Error: 113: No route to host.可以尝试使用如下方法:
1. vi /etc/hosts
192.168.1.102 mysql2
127.0.0.1 localhost.localdomain localhost
( 上面两行必须有)
2. vi /etc/sysconfig/network
HOSTNAME=mysql2
修改后,再次启动就不会出现Linux Error: 113: No route to host错误了。