启动监听出现如下错误:
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
Linux Error: 98: Address already in use
这表示端口1521被占用。
解决方法:
[root@mysql2 ~]# netstat -an|grep 1521
tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN
[root@mysql2 ~]# lsof -i:1521|grep "\(LISTEN)\)"
tnslsnr 2619 ora10g 8u IPv4 26389 0t0 TCP *:ncube-lm (LISTEN)
[root@mysql2 ~]# kill -9 2619
[root@mysql2 ~]# lsof -i:1521|grep "\(LISTEN)\)"
[root@mysql2 ~]#lsnrctl start
总结的不太详细。。