[oracle@shulaibao2 ~]$ lsnrctl start ## 监听端口开启
[oracle@shulaibao2 ~]$ netstat -anpt | grep 1521 ## 查看端口启动情况
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 :::1521 :::* LISTEN 20978/tnslsnr
tcp 0 0 ::ffff:192.168.0.252:1521 ::ffff:192.168.0.240:59066 ESTABLISHED 20978/tnslsnr
tcp 0 0 ::ffff:192.168.0.252:1521 ::ffff:192.168.0.240:59065 ESTABLISHED 20978/tnslsnr
tcp 0 0 ::ffff:192.168.0.252:1521 ::ffff:192.168.0.252:46709 TIME_WAIT -