[oracle@db01 admin]$ lsnrctl status LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 15-OCT-2015 10:50:10 Copyright (c) 1991, 2013, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) TNS-12543: TNS:destination host unreachable TNS-12560: TNS:protocol adapter error TNS-00513: Destination host unreachable Linux Error: 113: No route to host
names.directory_path = (LDAP, TNSNAMES, HOSTNAME) names.default_domain = WORLD trace_level_client = OFF sqlnet.expire_time = 30
[oracle@db01 ~]$ lsnrctl status LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 15-OCT-2015 11:08:15 Copyright (c) 1991, 2013, Oracle. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) TNS-12543: TNS:destination host unreachable TNS-12560: TNS:protocol adapter error TNS-00513: Destination host unreachable Linux Error: 113: No route to host [oracle@db01 ~]$ [oracle@db01 ~]$ [oracle@db01 ~]$ lsnrctl start LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 15-OCT-2015 11:08:23 Copyright (c) 1991, 2013, Oracle. All rights reserved. Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 11.2.0.4.0 - Production Log messages written to /u01/app/oracle/diag/tnslsnr/db01/listener/alert/log.xml Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=db01)(PORT=1521))) Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) TNS-12543: TNS:destination host unreachable TNS-12560: TNS:protocol adapter error TNS-00513: Destination host unreachable Linux Error: 113: No route to host [oracle@db01 ~]$ [oracle@db01 ~]$ [oracle@db01 ~]$ cat /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora ORCL= (description= (address_list= (address = (protocol = TCP)(host = initdb01)(port = 1521)) ) (connect_data = (service_name=orcl) ) ) [oracle@db01 ~]$
[oracle@db01 ~]$ hostname db01 [oracle@db01 ~]$
[oracle@db01 ~]$ ping -c 1 127.0.0.1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.081 ms --- 127.0.0.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.081/0.081/0.081/0.000 ms