# Installation on centos 7

**URL:** <https://community.openpbs.org/t/installation-on-centos-7/1682>\
**Category:** Users/Site Administrators\
**Created:** [June 29, 2019, 2:44am UTC](https://community.openpbs.org/t/installation-on-centos-7/1682 "2019-06-29T02:44:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sphong](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sphong](https://community.openpbs.org/u/sphong)\
**Post date:** [June 29, 2019, 2:44am UTC](https://community.openpbs.org/t/installation-on-centos-7/1682/1 "2019-06-29T02:44:24Z")

</div>

Hello.

I am new to here and trying to install PBS pro on a system that consists of a head node and 26 compute nodes. Now I am dealing with only two nodes for testing.

I have tried about tens of times to install PBS pro 19.1.1 right after installing centOS 7.6.1810 (Core) minimal.  
Following “INSTALL” file in the source code, I installed prerequisite packages and installed PBS pro without other actions.

After installing pbspro-server and starting PBS pro, I always receive the error,

initdb: could not access directory “/var/spool/pbs/datastore”: Permission denied.

I checked that postgresql, postgresql-server, postgresql-contrib are installed.  
In other case, when I installed postgresql95 (higher version), I receive an error

* * *

\*\*\* Error initializing the PBS dataservice  
Error details:  
/bin exists, binaries missing…exiting

Could someone help me how to install PBS pro from the start?

Thank you.

---

<div class="post-metadata">

**Author:** ![bremanandjk](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/bremanandjk/32/144_2.png) [@bremanandjk](https://community.openpbs.org/u/bremanandjk)\
**Post date:** [June 30, 2019, 9:12am UTC](https://community.openpbs.org/t/installation-on-centos-7/1682/2 "2019-06-30T09:12:11Z")

</div>

Hello,

It could be permission issue related to selinux security !

Cloud you please try running /opt/pbs/libexec/pbs\_habitat manually (as root user), prior that, just delete your \<PBS\_HOME\> dir, (say /var/spool/pbs).

Regards,  
Brem

---

<div class="post-metadata">

**Author:** ![sphong](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@sphong](https://community.openpbs.org/u/sphong)\
**Post date:** [July 2, 2019, 7:35am UTC](https://community.openpbs.org/t/installation-on-centos-7/1682/3 "2019-07-02T07:35:26Z")

</div>

Thank you.

As you commented, I run pbs\_habitat manually and it worked!

Now I would like to try detailed setup.

Sincerely,  
S. Hong
