Tuesday, April 10, 2012

Listener starting Error with IFILE

When we start oracle listener, the command as following:
#export ORACLE_SID=db1
#lsnrctl start
but it display error as following:TNS-12541: TNS:no listener
why?
check the listener configuration as following:
#vi listener.ora
IFILE = /space1/oracle10g/oracle/OraHome1/network/admin/devdb_db1.lsr
IFILE = /space1/oracle10g/oracle/OraHome1/network/admin/devdb_db2.lsr
IFILE = /space1/oracle10g/oracle/OraHome1/network/admin/devdb_db3.lsr

we know the reason is listener.ora configuration format, we need start listener as following command.
#lsnrctl start devdb_db1
#lsnrctl start devdb_db2
#lsnrctl start devdb_db3

No comments:

Post a Comment