tns--00512

来源:互联网 发布:windows10无法连接网络 编辑:程序博客网 时间:2024/06/05 10:44

启动监听出现如下错误:

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

 

 

总结的不太详细。。

 


 

0 0
原创粉丝点击