lsnrctl status Gives TNS-01150 and NL-00303 [message #255124] |
Mon, 30 July 2007 12:58 |
babble
Messages: 25 Registered: July 2007 Location: new york
|
Junior Member |
|
|
Hey Experts
I am working on 10.2.0.1 AND RHEL enterprise Linux 4.
I want to install dataguard on two servers.
When I run lsnrctl status.
I am fighting with an error message TNS-01150 - THE ADDRESS OF THE SPECIFIED LISTENER IS INCORRECT.
[oracle@OHIO1_203 admin]$ more tnsnames.ora
# tnsnames.ora Network Configuration File: /home/oracle/product/10.2.0/db_1/netw
ork/admin/tnsnames.ora
# Generated by Oracle configuration tools.
OHIO1_203 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =10.100.100.53 )(PORT =1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME =OHIO1 )
)
)
OHIO1_204 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =10.100.100.51 )(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OHIO1)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
###################################################################333
LISTENER =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.100.100.53)(PORT=1521))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SDU=8192)
(TDU=8192)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /home/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(SDU=8192)
(TDU=8192)
(GLOBAL_DBNAME = OHIO1)
(SID_NAME =OHIO1)
(ORACLE_HOME = /home/oracle/product/10.2.0/db_1)
)
)
######################################################################
[oracle@OHIO1_203 admin]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 30-JUL-2007 13:54:33
Copyright (c) 1991, 2005, Oracle. All rights reserved.
TNS-01150: The address of the specified listener name is incorrect
NL-00303: syntax error in NV string
###########################################################################333
[oracle@OHIO1_203 admin]$ echo $ORACLE_HOME
/home/oracle/product/10.2.0/db_1
[oracle@OHIO1_203 admin]$ echo $ORACLE_SID
OHIO1
##############################################################################3
|
|
|
|
|
|
Re: lsnrctl status Gives TNS-01150 and NL-00303 [message #255132 is a reply to message #255124] |
Mon, 30 July 2007 13:45 |
babble
Messages: 25 Registered: July 2007 Location: new york
|
Junior Member |
|
|
[LISTENER =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.100.100.53)(PORT=1521))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SDU=8192)
(TDU=8192)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /home/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(SDU=8192)
(TDU=8192)
(GLOBAL_DBNAME = OHIO1)
(SID_NAME =OHIO1)
(ORACLE_HOME = /home/oracle/product/10.2.0/db_1)
)
)
]
[Updated on: Mon, 30 July 2007 13:55] Report message to a moderator
|
|
|
|
|
Re: lsnrctl status Gives TNS-01150 and NL-00303 [message #255140 is a reply to message #255137] |
Mon, 30 July 2007 14:41 |
babble
Messages: 25 Registered: July 2007 Location: new york
|
Junior Member |
|
|
[oracle@OHIO1_203 admin]$ more tnsnames.ora
# tnsnames.ora Network Configuration File: /home/oracle/product/10.2.0/db_1/netw
ork/admin/tnsnames.ora
# Generated by Oracle configuration tools.
OHIO1_203 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =10.100.100.53 )(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME =OHIO1 )
)
)
OHIO1_204 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =10.100.100.51 )(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OHIO1)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
###################################################################333
LISTENER =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.100.100.53)(PORT=1521))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SDU=8192)
(TDU=8192)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /home/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(SDU=8192)
(TDU=8192)
(GLOBAL_DBNAME = OHIO1)
(SID_NAME =OHIO1)
(ORACLE_HOME = /home/oracle/product/10.2.0/db_1)
)
)
######################################################################
[oracle@OHIO1_203 admin]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 30-JUL-2007 13:54:33
Copyright (c) 1991, 2005, Oracle. All rights reserved.
TNS-01150: The address of the specified listener name is incorrect
NL-00303: syntax error in NV string
###########################################################################333
[oracle@OHIO1_203 admin]$ echo $ORACLE_HOME
/home/oracle/product/10.2.0/db_1
[oracle@OHIO1_203 admin]$ echo $ORACLE_SID
OHIO1
##############################################################################3
|
|
|
Re: lsnrctl status Gives TNS-01150 and NL-00303 [message #255141 is a reply to message #255124] |
Mon, 30 July 2007 14:43 |
babble
Messages: 25 Registered: July 2007 Location: new york
|
Junior Member |
|
|
Hey Anacedent I tried it and was succesfull with the formatting
here is my listener.ora
LISTENER =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=10.100.100.53)(PORT=1521))
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SDU=8192)
(TDU=8192)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /home/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(SDU=8192)
(TDU=8192)
(GLOBAL_DBNAME = OHIO1)
(SID_NAME =OHIO1)
(ORACLE_HOME = /home/oracle/product/10.2.0/db_1)
)
)
|
|
|
Re: lsnrctl status Gives TNS-01150 and NL-00303 [message #255143 is a reply to message #255141] |
Mon, 30 July 2007 15:15 |
DreamzZ
Messages: 1666 Registered: May 2007 Location: Dreamzland
|
Senior Member |
|
|
Try this coding
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myserver)(PORT = 5521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SDU = 8192)
(TDU = 8192)
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/10.2.0)
(PROGRAM = extproc)
)
(SID_DESC =
(SDU = 8192)
(TDU = 8192)
(GLOBAL_DBNAME = MYDB.xyz.com)
(ORACLE_HOME = /opt/oracle/10.2.0)
(SID_NAME = MYDB)
)
(SID_DESC =
(SDU = 8192)
(TDU = 8192)
(GLOBAL_DBNAME = OMZIMP14_MYDB)
(ORACLE_HOME = /opt/oracle/10.2.0)
(SID_NAME = MYDB)
)
[Updated on: Mon, 30 July 2007 15:15] Report message to a moderator
|
|
|