Support Questions

Find answers, ask questions, and share your expertise

VNC Server install failed in Ambari on curl statement. How do I edit?

avatar
Contributor

Fellow Techies--

The VNC install on Ambari failed on:

resource_management.core.exceptions.Fail: Execution of 'curl -o /etc/yum.repos.d/epel-apache-maven.repo https://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo' returned 35. curl: (35) SSL connect error

When I issue the statement interactively to avoid the SSL error through my ssh terminal as:

curl -o /etc/yum.repos.d/epel-apache-maven.repo http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo , the file downloads as expected.

10138-successcurl.png

Where or how do I edit this? Here's what I see on the config page for the VNC Server install. The curl statement must be embedded in one of the *.tar files. Please advise on what the next step is toward resolution.

10139-configvnc.png

1 ACCEPTED SOLUTION

avatar
Super Collaborator

try setting install.mvn to false and see if that helps.

View solution in original post

5 REPLIES 5

avatar
Super Collaborator

in the curl where you get error you are using https and in the curl command from ssh, you are using http.

avatar
Contributor

Thanks Karthik--I am not directly using either. The curl statement is embedded somewhere. Do you know where, or how I can bypass the failure event?

avatar
Super Collaborator

not sure what the issue is .. are you following this guide https://github.com/hortonworks-gallery/ambari-vnc-service

the only difference i see between the guide and your screenshot is the intellij location, you have https, while the guide has http. try that.

avatar
Super Collaborator

try setting install.mvn to false and see if that helps.

avatar
Contributor

Karthik, That is a good idea. I can manually install Maven! Thank you so much for answering my question.