Support Questions

Find answers, ask questions, and share your expertise

Error while installing Data Services

avatar
New Contributor

We have Cloudera Private Cloud 7.1.9

When trying to install Data Services, we get this error:

    "unable to resolve either the CM url, CDP console, or localhost"

We verified DNS settings and the hostname is resolved correctly. 

What can the issue be? where can we find logs with additional details?

error.png

14 REPLIES 14

avatar
Community Manager

@Oren Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our CDP experts @venkatsambath @upadhyayk04  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Collaborator

Hello @Oren 

Thank you for reaching out to the community

Please double-check the following especially vault.localhost.localdomain’s ping should be resolved

 

https://docs.cloudera.com/cdp-private-cloud-data-services/1.5.4/installation-ecs/topics/cdppvc-insta...

 

Checks to make sure there are less than 3 nameserver entries in the /etc/resolv.conf file, and checks the connections to the Cloudera Manager cluster and the CDP console. It also checks to see if vault.localhost.localdomain’s ping can be resolved. If not, it is likely that the host /etc/nsswitch.conf file is misconfigured.
If this inspection fails:

Check the /etc/resolv.conf and /etc/nsswitch.conf files and ensure that /etc/resolv.conf does not contain 3 or more nameservers, and that /etc/nsswitch.conf must contain myhostname under the hosts field.
Check to see if the connections were resolved correctly. If connection to the CDP console fails, check to see if your DNS wildcard is configured properly.

 

 Let us know if you have any further queries

avatar
Community Manager

@Oren Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. Thanks.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar

Hi @DianaTorres 
unfortunately all listed above is configured correctly.

is there any log where I can check the exact error ?
thanks

shai.

avatar
Master Collaborator

Hello @shaihavivqlik 

That's really strange. Usually, this error occurs when we cannot lookup 

vault.localhost.localdomain

Can you check your /etc/hosts as well? Also, try pinging your CM server as well

 Something is for sure wrong in the DNS records. I don't we can check any logs as this is failing at the pre-reqs itself

avatar

ping to CM server works just fine, using DNS or IP address.

avatar
Master Collaborator

Hello,

Thank you for your update

Can you please confirm if you are able to ping localhost 

# nslookup localhost

How many nameservers are present in /etc/resolv.conf

avatar

I get this when running nslookup localhost

Non-authoritative answer:
Name: localhost
Address: 127.0.0.1
** server can't find localhost: SERVFAIL

I have 1 nameserver in resolv.conf

avatar
Master Collaborator

So here is the error localhost is not resolving 

Please fix the /etc/hosts from any of the working node

Check if the below lines are added or not

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6