Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Listener start error

Posted on 2006-12-01
6
Medium Priority
?
5,719 Views
Last Modified: 2011-10-03
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/tnslsnr: 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/oracle/product/8.1.7
ORACLE_BASE=/u01/app/oracle
ORACLE_PATH=/u01/app/oracle/product/8.1.7/bin
TNS_ADMIN=/u01/app/oracle/product/8.1.7/network/admin
LD_LIBRARY_PATH=/u01/app/oracle/product/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.


0
Comment
Question by:harris2107
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 11

Assisted Solution

by:mohammadzahid
mohammadzahid earned 200 total points
ID: 18055330
Please take a look at the url below:

http://forums.oracle.com/forums/thread.jspa?messageID=1507436 

0
 

Author Comment

by:harris2107
ID: 18055664
Thanks but I have already seen that tip, that is why i have already quoted that there is no contention with the file size i.e., 2GB limit and other environment variables. Even the port that has been listed in listener.ora 1521 is not being used by any other applications except the listener. Any help would be appreciated, thanks.
0
 
LVL 13

Assisted Solution

by:anand_2000v
anand_2000v earned 200 total points
ID: 18058830
go to listener.ora and find out wheather listener is configured in diff name.

generally if you give Lsnrctl > start,Oracle will look for a default named listener in the name listener,if the istener is configured in diff name it will not fetch the name,so hav a look at listener.ora and if is in diff name then try,

  lsnrctl > start listenername


 else configure a new listener using netmgr or netca and try starting it
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:harris2107
ID: 18069237
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/product/8.1.7/network/admin/listener.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/tnslsnr: 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=(PROTOCOL=TCP)(HOST=host1.test)(PORT=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)(KEY=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)(PORT=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.
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 600 total points
ID: 18070133
First:  It's been years since I've been on UNIX and about as long ago for 8.1.7 so if this goes outside a simple Oracle Network issue, you'll probably lose me pretty quick.

Just for grins, use the IP address of the server instead of it's hostname (replace 1.2.3.4 with the real IP address):
change
                (ADDRESS = (PROTOCOL = TCP) (HOST = host1.test) (PORT = 1521))
to
                (ADDRESS = (PROTOCOL = TCP) (HOST = 1.2.3.4) (PORT = 1521))
0
 

Author Comment

by:harris2107
ID: 18070934
I had to relink the lsnrctl executable (and changed the HOST to IP address). Thanks anyway.
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question