Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

Connection failed: [Errno 111] Connection refused to

avatar
Contributor

Hi,

We installed HDP using root account successfully and the services came up after the install ok with no issues. But now, all services are down and we see the message "Connection failed: [Errno 111] Connection refused to sibi1b.gov.calgary.ab.ca:"

Not sure what is going on...Anyone had this issue and the resolution. Any help will be greatly appreciated.

Rebooting the server didn't help as well.

Thanks

Chandra


install-summary.jpg
15 REPLIES 15

avatar

Can you please look at the logs files for one the services under /var/log, that might provide more insight into specific issue

avatar
Contributor

I am seeing this in zoo keeper log ...any idea what this means

2016-06-14 02:55:01,693 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@1007] - Closed socket connection for client /10.71.34.225:56032 (no session established for client) 2016-06-14 02:56:01,723 - INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxnFactory@197] - Accepted socket connection from /10.71.34.225:56208 2016-06-14 02:56:01,723 - WARN [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:NIOServerCnxn@357] - caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 0x0, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:228) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) at java.lang.Thread.run(Thread.java:745)

avatar
Contributor

dont know what i did..but i tried restarting each service manually using command line and it started working. One wierd thing is that if i try to start all the services from the Ambari dashboard it does not work. But i try to start all the services from the hosts page which says "start all host components" it works. Also the zookeeper service keeps stopping all the time. otherthan that all the services are running fine. Any suggestions will be greatly appreciated.

avatar

Can you please confirm your zookeeper version? make sure its >= 3.4.5.

avatar
Contributor

my zookeeper version is 3.4.6.2.4

avatar

Please check this stpes:-

1. Make sure hostname is right, iptables, selinux are stop

2. Check ps -aef for each process and kill it from cli [if you are able to see the process running]

3. Start the process from ambari.

let me know if it works.

avatar
Mentor

@chandramouli muthukumaran

One time I forgot this setting and I encountered the same problem.

Enable NTP on the Cluster and on the Browser Host

The clocks of all the nodes in your cluster and the machine that runs the browser through which you access Ambari Web must be able to synchronize with each other.

How to enable ntp

avatar
New Contributor

Hello,

I have same problem with Metrics Collector Process: Connection failed: [Errno 111] Connection refused to dnode01.cedar.cluster.ada:6188

NTP is enabled on all 16 nodes, but there is no positive affect

I'm not sure how the status of NTP on Browsing Host (which is not part of cluster) can affect the operation of cluster?

Can help with my case? Please let me know, if you need more details

avatar

@chandramouli muthukumaran

If issue is resolve, then lets close this.

avatar
New Contributor

Ambari Version 2.6.0.0

HDP version 2.6.3.0-235

Oracle Database 12c

1. Running the script ../ranger-admin/db_setup.py generates an error:

SQLException : SQL state: 42000 java.sql.SQLSyntaxErrorException: ORA-04044: procedure, function, package, or type is not allowed here

Change the lines in the script db_setup.py

# query = get_cmd + " -c \; -query \"select * from ;\""

query = get_cmd + " -c \; -query \'select * from ;\'"

2. Script ..oracle/xa_core_db_oracle.sql did not started

Can't login into Ranger UI

avatar
Explorer

45451-error1.png

Even I am facing the same issue of connection, please help me resolve the issue

Do I need to create any certificate keys??

avatar
Mentor

@chandramouli muthukumaran

You opened a thread "Connection failed: [Errno 111] Connection refused to" to which you received a couple of responses from me and Ashnee Sharma it's a good habit to acknowledge whether a solution resolved your issue so other members facing the same situation could use the solution.

Can you do the right thing because members strive to help in return they expect a response.


avatar
Mentor

@Miro Ka @Gaurav Bapat

You are responding to an old thread (July 2017) and I am pretty sure members are ignoring. It's advisable to open a new thread could you reformat your questions in a new thread.

If I get a notification I will try to help .


avatar
Mentor

@chandramouli muthukumaran

As reminded by @Ashnee Sharma If a reponse resolved your problem, could you Accept the answer by Clicking on Accept button below,

That would be a great help to Community users to find a solution quickly for these kinds of errors and also reward the members who strive to keep this forum active.

avatar
Mentor

@chandramouli muthukumaran

I was just checking one of the issues you raised chandramouli muthukumaran Jun 14, 2016 at 03:24 PM. You received a couple of answers from me and Ashnee Sharma but unfortunately, you didn't accept either of the answers, this is unacceptable as HCC members go a long way to help whenever you open a thread and any solution provided if it resolved the issue should benefit other members who encounter the same issue.
Please ensure members who give solutions to your problems are rewarded this helps to keep member motivated to respond.

Labels