做oracle监听实验的时候,监听起不来,报错如下:
TNS-12537: TNS:connection closed
TNS-12560: TNS:protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
各种方法。oracle都重装了还是启动不了。T^T!!
后来在/etc/hosts把原来删掉的本机地址被了回来,OK了
# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.18.226 sql
127.0.0.1 localhost.localdomain localhost ——原先这行给删除了,老师说的,看来老师不是万能的。也有出错的时候。后面的localhost格式一定要按上面的写不然也会报错
转载于:https://blog.51cto.com/zimufeng/1350409