Hi All.
After R12 adcfgclone.pl appsTier unable To Start TNS Listener:
TNS-01151: Missing Listener Name, TST, in listener.ora' in new Linux server.
Please check /etc/hosts file.
Need to be:
127.0.0.1 localhost.localdomain localhost
<server_ip> server_name.domain server_name
If it not correct, change it and re-run adcfgclone procedure for DB and APPL tiers.
Listener will start OK now.
Good luck...
Thanks very much - I spent ages trying to fix this 'till I saw your post.
ReplyDeleteAlanK
Alan, you are always welcome..
DeleteHi Mr. Borulia, In my system also showing same error and but when i open /etc/hosts file it's showing like those lines, are they correct
ReplyDelete92.168.23.145 DBA1 # Added by NetworkManager
127.0.0.1 localhost.localdomain localhost
::1 DBA1 localhost6.localdomain6 localhost6
192.168.23.151 DBA #other hostname
192.168.23.149 DBA2 #one more hostname
can you please paste here your hosts ?
DeleteYour host file need to be:
Delete127.0.0.1 localhost.localdomain localhost
.
Pay attention, 127.0.0.1 localhost.localdomain localhost need to be first line.
actual my real host is DBA1 and remaining hosts are other o/s hosts
DeleteYou need to change your /etc/hosts files to be :
Delete127.0.0.1 localhost.localdomain localhost
server_ip dba1.your_domain dba1
127.0.0.1 localhost.localdomain localhost need to be the first line
please give me as clearly and then when iam going for tnsping command, it's also gettin error
ReplyDelete[oracle11g@DBA2 ~]$ tnsping lsnr
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 30-JUL-2014 23:44:42
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
TNS-03505: Failed to resolve name
Confirm sid=xxxxx for both listener.ora and tnsnames.ora
ReplyDelete