# PBS Installation on CentOS7 instance on Open Stack

**URL:** <https://community.openpbs.org/t/pbs-installation-on-centos7-instance-on-open-stack/1352>\
**Category:** Users/Site Administrators\
**Created:** [December 12, 2018, 5:15pm UTC](https://community.openpbs.org/t/pbs-installation-on-centos7-instance-on-open-stack/1352 "2018-12-12T17:15:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgarg](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rgarg](https://community.openpbs.org/u/rgarg)\
**Post date:** [December 12, 2018, 5:15pm UTC](https://community.openpbs.org/t/pbs-installation-on-centos7-instance-on-open-stack/1352/1 "2018-12-12T17:15:39Z")

</div>

Hi,

I am trying to install PBS on Centos7. I am facing an error (Failed to connect to PBS Data Service) while starting PBS Pro. Below is the snapshot for the same.

![image|690x255](upload://kZUEOUReGNa1AutXNfy53RKcDR.png

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/pbspro/original/1X/025fa9f3a2505b0141974101a049415388f88e97.png)

Any further guidance would be really helpful.

Thanks,  
Rakhen

---

<div class="post-metadata">

**Author:** ![mkaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mkaro/32/85_2.png) [@mkaro](https://community.openpbs.org/u/mkaro)\
**Post date:** [December 12, 2018, 5:25pm UTC](https://community.openpbs.org/t/pbs-installation-on-centos7-instance-on-open-stack/1352/2 "2018-12-12T17:25:36Z")

</div>

It looks like an issue with hostname resolution. I see the message “Could not resolve dataservice host pbs-server” in the output. Please check your DNS settings, /etc/nsswitch.conf, /etc/hosts, and /etc/pbs.conf to ensure they are configured properly. It doesn’t appear to be an issue with firewalls, but please also keep that in mind if you have further problems.

---

<div class="post-metadata">

**Author:** ![rgarg](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rgarg](https://community.openpbs.org/u/rgarg)\
**Post date:** [December 12, 2018, 5:41pm UTC](https://community.openpbs.org/t/pbs-installation-on-centos7-instance-on-open-stack/1352/3 "2018-12-12T17:41:11Z")

</div>

Hi,

I have cross-checked /etc/pbs.conf, /etc/hosts. The hostname is same for both with proper settings and there isn’t any issue with firewalls as well as DNS

Thanks,  
Rakhen

---

<div class="post-metadata">

**Author:** ![mkaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mkaro/32/85_2.png) [@mkaro](https://community.openpbs.org/u/mkaro)\
**Post date:** [December 12, 2018, 5:52pm UTC](https://community.openpbs.org/t/pbs-installation-on-centos7-instance-on-open-stack/1352/4 "2018-12-12T17:52:57Z")

</div>

What happens when you try to ping pbs-server?

---

<div class="post-metadata">

**Author:** ![rgarg](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@rgarg](https://community.openpbs.org/u/rgarg)\
**Post date:** [December 12, 2018, 5:58pm UTC](https://community.openpbs.org/t/pbs-installation-on-centos7-instance-on-open-stack/1352/5 "2018-12-12T17:58:57Z")

</div>

It says name or service not known. Previously while checking for DNS I did a ping for ssh IP for open stack

---

<div class="post-metadata">

**Author:** ![mkaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mkaro/32/85_2.png) [@mkaro](https://community.openpbs.org/u/mkaro)\
**Post date:** [December 12, 2018, 6:08pm UTC](https://community.openpbs.org/t/pbs-installation-on-centos7-instance-on-open-stack/1352/6 "2018-12-12T18:08:19Z")

</div>

I suspect once you get can ping the node successfully you will be able to start PBS Pro.
