1832871 Members
3776 Online
110048 Solutions
New Discussion

listener hung

 
Steve Bear_1
Frequent Advisor

Re: listener hung

$cat listener.ora
LISTENER =
(ADDRESS_LIST =
(ADDRESS=
(PROTOCOL=IPC)
(KEY= db01)
)
(ADDRESS =
(PROTOCOL = TCP)
(HOST = db01)
(PORT = 1526)
)
)
LOG_DIRECTORY_LISTENER = /apps/oracle/product/7.3.2.2/network/log
LOG_FILE_LISTENER = sqlnetv2
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = dw01)
(ORACLE_HOME=/apps/oracle/product/7.3.2.2)
)
)
TRACE_LEVEL_LISTENER = ADMIN

$more tnsnames.ora
live =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = db01)
(PORT = 1526)
)
)
(CONNECT_DATA =
(SID = dw01)
)
)
Steve Bear_1
Frequent Advisor

Re: listener hung

no, just one ORACLE_HOME
T G Manikandan
Honored Contributor

Re: listener hung

Can you change db01 and give the ip-address instead of hostname.

please check that.

Can you do a

#nslookup db01

REvert
Steve Bear_1
Frequent Advisor

Re: listener hung

did try though, but no luck.
T G Manikandan
Honored Contributor

Re: listener hung


What is the output of ..
#nslookup db01
#nslookup

Graham Cameron_1
Honored Contributor

Re: listener hung

Just noticed "Even svrmgrl also gets hung."

At what point?
When you run it up or when you connect internal?

-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
Yogeeraj_1
Honored Contributor

Re: listener hung

thinking the microsoft way.

did you try to restart the server?
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
T G Manikandan
Honored Contributor

Re: listener hung

Any messages from alert.log of Oracle and /var/adm/syslog/syslog.log files.

Yogeeraj_1
Honored Contributor

Re: listener hung

do we need an "inetd -c" ?
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Francesco_13
Regular Advisor

Re: listener hung

the command "lsnrctl status" run correctly?
Jean-Luc Oudart
Honored Contributor

Re: listener hung

Hi Steve,

Something completely different.
It happened to us a few weeks ago. One of the internal drive was dying. I mean it was not dead. (nor alive !).

For whatever reason, it did affect our listener, as we were not able to shut it down.

The problem was fixed when internal disk replaced.

Regards,
Jean-Luc

PS : our internal disks are mirrored. But because the disk was not "dead" this created more pb.
Check you syslog.log for any messages.
fiat lux
Jean-Louis Phelix
Honored Contributor

Re: listener hung

Hi,

What about tusc'ing your listener just to get the step where it stops ?

Regards.
It works for me (© Bill McNAMARA ...)
Yogeeraj_1
Honored Contributor

Re: listener hung

Example:
tusc -f -o /tmp/tusc.log "lsnrctl status"
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Dave Hutton
Honored Contributor

Re: listener hung

Are there more then 1 network cards? Does your netstat -rn look okay? Maybe you have some funky issues with routing?
Your arp table cleared? Maybe your arp is still regestering your old mac/ip addresses?

I'm also running out of ideas.

Dave
Bryan D. Quinn
Respected Contributor

Re: listener hung

Hey Steve,

This might sound simple, but just to step back for a minute. Can you ping the new ip address from the box itself? If so, can you ping the boxes hostname from the box?

-Bryan
Steve Bear_1
Frequent Advisor

Re: listener hung

Thanks for your feedback i did try and check most of the thing but no luck so far.

I've logged a TAR n waiting for a feedback.

Many thanx,
Bryan D. Quinn
Respected Contributor

Re: listener hung

So you were able to ping both?

-Bryan
Steve Bear_1
Frequent Advisor

Re: listener hung

Yes.
Hari Kumar
Trusted Contributor

Re: listener hung

i had gone through all of our collegues answers they all shared there wonderful ideas
my perception is that:
Check whether any software or application hit against the port 1521 of listener and if so then change the listener port or application port.
mixing 32 and 64 bit databases and listeners is also one of the cause
check for listener.log file size it should not be more than 2 Gb and trim the log file to as small as possible
Information is Wealth ; Knowledge is Power
Dave Hutton
Honored Contributor

Re: listener hung

Like Hari suggested, you can use lsof to easily find if something maybe also using that port. Which can be downloaded at:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.69/

Dave