Re: WARN http: snmehl_connect: connect failed to ... Connection refused (error = 111)

  • From: Roger Xu <wellmetus@xxxxxxxxx>
  • To: JSweetser@xxxxxxxx
  • Date: Tue, 11 Aug 2009 13:22:46 -0500

We finally resolved the issue by

https://bplnap11.dpsg.net:1158/em

instead of

http://bplnap11.dpsg.net:1158/em

I guess we can ignore those error messages in the emdctl.trc log file?

Anyway, I feel I am the Dumbest DBA Award winner for this week :)


On Tue, Aug 11, 2009 at 12:29 PM, Roger Xu <wellmetus@xxxxxxxxx> wrote:

> According to Note 419888.1, something called SE Linux needs to be
> disabled. But it requires reboot. I will have the sysadmin do that next time
> we have a chance to reboot the box. I will update the list whenever I have a
> result. Many thanks to all, esp. Joe and Michael.
>
>
> On Tue, Aug 11, 2009 at 11:46 AM, Sweetser, Joe <JSweetser@xxxxxxxx>wrote:
>
>>  This is a long shot but have you checked Metalink Note 430200.1?
>>
>> Strange behavior, for sure.
>>
>> -joe
>>  ------------------------------
>> *From:* Roger Xu [mailto:wellmetus@xxxxxxxxx]
>> *Sent:* Tuesday, August 11, 2009 10:36 AM
>> *To:* Sweetser, Joe
>> *Cc:* Michael Fontana; oracle-l@xxxxxxxxxxxxx
>>
>> *Subject:* Re: WARN http: snmehl_connect: connect failed to ...
>> Connection refused (error = 111)
>>
>>
>> Ports are open according to the sys admin -
>>
>> [root@bplnap11 sysconfig]# iptables -L -n|tail -4
>>
>> ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW
>> tcp dpt:1527
>>
>> ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW
>> tcp dpt:1158
>>
>> ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW
>> tcp dpt:3938
>>
>> REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with
>> icmp-host-prohibited
>>
>> [root@bplnap11 sysconfig]#
>>
>>
>> On Mon, Aug 10, 2009 at 4:48 PM, Sweetser, Joe <JSweetser@xxxxxxxx>wrote:
>>
>>>  Ping is probably not using port 3938.
>>>
>>> Try "telnet <hostname> 3938" and see if you get a prompt.  Or check with
>>> your sys admin to see if port 3938 is open.
>>>
>>> Something like this:
>>>
>>> oracle@ora-qp1$ telnet ora-qp1 3938
>>> Trying 192.168.1.202...
>>> Connected to ora-qp1.icat.com (192.168.1.202).
>>> Escape character is '^]'.
>>> ^]
>>> telnet> quit
>>> Connection closed.
>>> oracle@ora-qp1$ telnet ora-qp1 5527
>>> Trying 192.168.1.202...
>>> telnet: connect to address 192.168.1.202: Connection refused
>>> telnet: Unable to connect to remote host: Connection refused
>>> oracle@ora-qp1$
>>>
>>> -joe
>>>
>>>  ------------------------------
>>> *From:* oracle-l-bounce@xxxxxxxxxxxxx [mailto:
>>> oracle-l-bounce@xxxxxxxxxxxxx] *On Behalf Of *Roger Xu
>>> *Sent:* Monday, August 10, 2009 3:40 PM
>>> *To:* Michael Fontana
>>> *Cc:* oracle-l@xxxxxxxxxxxxx
>>> *Subject:* Re: WARN http: snmehl_connect: connect failed to ...
>>> Connection refused (error = 111)
>>>
>>>   Ping works. No, it hasn't worked before. In fact, I just manually
>>> configured the DC -
>>>
>>> emca -repos create
>>> emca -config dbcontrol dmca -config dbcontrol db
>>> Thanks!
>>>
>>> On Mon, Aug 10, 2009 at 4:13 PM, Michael Fontana <
>>> michael.fontana@xxxxxxxxxxx> wrote:
>>>
>>>> Do a ping the device and port 3938, which seems to be what is being
>>>> refused.  This could be your network and/or firewall restricting the
>>>> transaction.
>>>>
>>>> Did this just start happening?  Has it worked before?
>>>>
>>>>
>>>>
>>>> ----- Original Message -----
>>>> From: "Roger Xu" <wellmetus@xxxxxxxxx>
>>>> To: oracle-l@xxxxxxxxxxxxx
>>>> Sent: Monday, August 10, 2009 3:40:39 PM GMT -06:00 US/Canada Central
>>>> Subject: WARN http: snmehl_connect: connect failed to ... Connection
>>>> refused    (error = 111)
>>>>
>>>>
>>>> Dear List,
>>>>
>>>> Why am I unable to access Database Control via
>>>> http://bplnap11.dpsg.net:1158/em ?
>>>>
>>>> $ emctl status dbconsole
>>>> Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
>>>> Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
>>>> https://bplnap11.dpsg.net:1158/em/console/aboutApplication
>>>> Oracle Enterprise Manager 10g is running.
>>>> ------------------------------------------------------------------
>>>> Logs are generated in directory
>>>> /oracle/OraHome1/bplnap11.dpsg.net_ups60d0/sysman/log
>>>> $ cat /oracle/OraHome1/install/portlist.ini
>>>> iSQL*Plus HTTP port number =5560
>>>> iSQL*Plus HTTP port number =5560
>>>> Enterprise Manager Console HTTP Port (ups60d0) = 1158
>>>> Enterprise Manager Agent Port (ups60d0) = 3938
>>>> $ tail /oracle/OraHome1/bplnap11.dpsg.net_ups60d0/sysman/log/emdctl.trc
>>>> 2009-08-10 15:05:23 Thread-4135143632 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> 2009-08-10 15:05:27 Thread-4135057616 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> 2009-08-10 15:05:31 Thread-4135512272 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> 2009-08-10 15:05:35 Thread-4135721168 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> 2009-08-10 15:05:39 Thread-4135958736 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> 2009-08-10 15:05:43 Thread-4135237840 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> 2009-08-10 15:05:47 Thread-4135012560 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> 2009-08-10 15:05:51 Thread-4135286992 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> 2009-08-10 15:05:55 Thread-4135479504 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> 2009-08-10 15:05:59 Thread-4135233744 WARN http: snmehl_connect: connect
>>>> failed to ( bplnap11.dpsg.net:3938 ): Connection refused (error = 111)
>>>> $
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Roger Xu
>>>>
>>>> --
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Michael Fontana
>>>>
>>>> Sr. Technical Consultant
>>>>
>>>> Enkitec M: 214.912.3709
>>>>
>>>> enkitec
>>>>
>>>> oracle_certified_partner
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

Other related posts: