今天弄了一台demo epm linux 主机,启动db的监听时候,发现老是报错。
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
检查linster.ora,tnsnames.ora,未发现异常,检查监听日志,发现不能ping 127.0.0.1。
尝试ping 127.0.0.1,果然ping不通。
检查/etc/hosts, 发现 127.0.0.1被人注释了。
于是把注释去掉,重启监听,OK
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
检查linster.ora,tnsnames.ora,未发现异常,检查监听日志,发现不能ping 127.0.0.1。
尝试ping 127.0.0.1,果然ping不通。
检查/etc/hosts, 发现 127.0.0.1被人注释了。
于是把注释去掉,重启监听,OK
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23757700/viewspace-1620976/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/23757700/viewspace-1620976/