harris2107
asked on
Listener start error
Hi,
Im getting the following error while starting listener on Oracle 8i (8.1.7.0.0)
LSNRCTL> start
Starting /u01/app/oracle/product/8. 1.7/bin/tn slsnr: please wait...
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Solaris Error: 32: Broken pipe
LSNRCTL>
This is a dev. database and it was down like for months. I took over this db. and brought it is online now but has no listener listening. I dont know as what was done previously with this database( i mean, whether there were any patches applied) or any other work, which might have corrupted the Network conf. files. When i first tried to start the listener i got this error "ld.so.1: lsnrctl: fatal: relocation error: file lsnrctl: symbol nlepeget: referenced symbol not found". I thought it might be because they have run some patch installation previously and ran the command to make the tnslsnr file again : "make -f ins_net_server.mk install". After running this when i tried to start the listener, im getting the error that i have pasted in the beginning. Following are the environment variables that have been set
ORACLE_HOME=/u01/app/oracl e/product/ 8.1.7
ORACLE_BASE=/u01/app/oracl e
ORACLE_PATH=/u01/app/oracl e/product/ 8.1.7/bin
TNS_ADMIN=/u01/app/oracle/ product/8. 1.7/networ k/admin
LD_LIBRARY_PATH=/u01/app/o racle/prod uct/8.1.7/ lib
ORACLE_SID=DEV1
The evironment variables are set correctly, solaris file size has been set to unlimited (so, no problem with the listener.log file size). I have searched many documents but did not find any solution. Im requesting you to please provide your suggestion on this. can a relinking of executables work?
Thank you,
Harris.
Im getting the following error while starting listener on Oracle 8i (8.1.7.0.0)
LSNRCTL> start
Starting /u01/app/oracle/product/8.
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Solaris Error: 32: Broken pipe
LSNRCTL>
This is a dev. database and it was down like for months. I took over this db. and brought it is online now but has no listener listening. I dont know as what was done previously with this database( i mean, whether there were any patches applied) or any other work, which might have corrupted the Network conf. files. When i first tried to start the listener i got this error "ld.so.1: lsnrctl: fatal: relocation error: file lsnrctl: symbol nlepeget: referenced symbol not found". I thought it might be because they have run some patch installation previously and ran the command to make the tnslsnr file again : "make -f ins_net_server.mk install". After running this when i tried to start the listener, im getting the error that i have pasted in the beginning. Following are the environment variables that have been set
ORACLE_HOME=/u01/app/oracl
ORACLE_BASE=/u01/app/oracl
ORACLE_PATH=/u01/app/oracl
TNS_ADMIN=/u01/app/oracle/
LD_LIBRARY_PATH=/u01/app/o
ORACLE_SID=DEV1
The evironment variables are set correctly, solaris file size has been set to unlimited (so, no problem with the listener.log file size). I have searched many documents but did not find any solution. Im requesting you to please provide your suggestion on this. can a relinking of executables work?
Thank you,
Harris.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
listener.ora has default name LISTENER. I tried to configure a new listener with netca, but when i issued netca at the command prompt, no GUI (of netca) is coming up(im using putty, any display properties need to set?). So, i edited the listener.ora manually and added a new listener by name DEV1LISTENER and commented out the LISTENER. But even then im not able to start the listener. Below is my listener.ora file and the corresponding errors when i tired to start and (or) reload the listener ( *commented out the hostname)
$ cat listener.ora
# LISTENER.ORA Configuration File:/u01/app/oracle/produ ct/8.1.7/n etwork/adm in/listene r.ora
# Generated by Oracle configuration tools.
#LISTENER =
# (DESCRIPTION_LIST =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = host1.test)(PORT = 1521))
# )
# )
# )
DEV1LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = host1.test) (PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = dev1)
(ORACLE_HOME = /u01/app/oracle/product/8. 1.7)
(GLOBAL_DBNAME = dev1.test1.test2)
)
)
The following are the errors that i got after issuing start dev1listener and (or) reload dev1listener from lsnrctl prompt
LSNRCTL> start dev1listener
Starting /u01/app/oracle/product/8. 1.7/bin/tn slsnr: please wait...
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Solaris Error: 32: Broken pipe
LSNRCTL> reload dev1listener
Connecting to (DESCRIPTION=(ADDRESS=(PRO TOCOL=TCP) (HOST=host 1.test)(PO RT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refused
When i issued just reload (with out dev1listener parameter), i got following error
LSNRCTL> reload
Connecting to (ADDRESS=(PROTOCOL=ipc)(KE Y=PNPKEY))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 2: No such file or directory
Connecting to (ADDRESS=(PROTOCOL=tcp)(PO RT=1521))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refused
Im new to Oracle and Solaris, im trying alot but im not able to get over this. Please help.
Thanks,
Harris.
$ cat listener.ora
# LISTENER.ORA Configuration File:/u01/app/oracle/produ
# Generated by Oracle configuration tools.
#LISTENER =
# (DESCRIPTION_LIST =
# (DESCRIPTION =
# (ADDRESS_LIST =
# (ADDRESS = (PROTOCOL = TCP)(HOST = host1.test)(PORT = 1521))
# )
# )
# )
DEV1LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = host1.test) (PORT = 1521))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = dev1)
(ORACLE_HOME = /u01/app/oracle/product/8.
(GLOBAL_DBNAME = dev1.test1.test2)
)
)
The following are the errors that i got after issuing start dev1listener and (or) reload dev1listener from lsnrctl prompt
LSNRCTL> start dev1listener
Starting /u01/app/oracle/product/8.
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
Solaris Error: 32: Broken pipe
LSNRCTL> reload dev1listener
Connecting to (DESCRIPTION=(ADDRESS=(PRO
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refused
When i issued just reload (with out dev1listener parameter), i got following error
LSNRCTL> reload
Connecting to (ADDRESS=(PROTOCOL=ipc)(KE
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 2: No such file or directory
Connecting to (ADDRESS=(PROTOCOL=tcp)(PO
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 146: Connection refused
Im new to Oracle and Solaris, im trying alot but im not able to get over this. Please help.
Thanks,
Harris.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I had to relink the lsnrctl executable (and changed the HOST to IP address). Thanks anyway.
ASKER