# Noob question: can't initialize the PBS dataservice

**URL:** <https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456>\
**Category:** Users/Site Administrators\
**Created:** [February 11, 2019, 9:29am UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456 "2019-02-11T09:29:28Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![mikescchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mikescchen/32/192_2.png) [@mikescchen](https://community.openpbs.org/u/mikescchen)\
**Post date:** [February 18, 2019, 8:05am UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/21 "2019-02-18T08:05:16Z")

</div>

Hi,  
Weird…  
I tried again but the result is the same.  
I didn’t follow your steps exactly, but I’ll post the details:  
Postgres: built from source, 9.6.12:

> ./configure --prefix=/opt/pbs/pgsql  
> make -j4  
> make install

PBSpro: git tag v19.1.1:

> git checkout v19.1.1  
> sh autogen.sh  
> ./configure --prefix=/opt/pbs --with-database-dir=/opt/pbs/pgsql --with-database-user=postgres  
> make -j4  
> make install  
> chown -R postgres:postgres /opt/pbs/pgsql  
> /opt/pbs/libexec/pbs\_postinstall  
> chkconfig --add pbs  
> service pbs start

(I didn’t create the “pbs” account. is this the problem?)

Mike

---

<div class="post-metadata">

**Author:** ![mikescchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mikescchen/32/192_2.png) [@mikescchen](https://community.openpbs.org/u/mikescchen)\
**Post date:** [February 18, 2019, 8:18am UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/22 "2019-02-18T08:18:18Z")

</div>

Ah okay…  
I just see the DB test post you posted earlier.  
I’ll try that first.  
Sorry!

Mike

---

<div class="post-metadata">

**Author:** ![mikescchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mikescchen/32/192_2.png) [@mikescchen](https://community.openpbs.org/u/mikescchen)\
**Post date:** [February 18, 2019, 8:26am UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/23 "2019-02-18T08:26:11Z")

</div>

Done!  
The problem is in the difference of:

> make; make install

and

> make world; make install-world

when building postgres.  
Thank you very much!

---

<div class="post-metadata">

**Author:** ![nmonama](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@nmonama](https://community.openpbs.org/u/nmonama)\
**Post date:** [February 18, 2019, 11:46am UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/24 "2019-02-18T11:46:47Z")

</div>

> [@bremanandjk](#):
>
> create extension hstore;

Hi I get the following when I do my DB test:  
ERROR: could not open extension control file “/opt/pbs/pgsql/share/extension/hstore.control”

Regards,  
Nkwe

---

<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:** [February 18, 2019, 12:04pm UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/25 "2019-02-18T12:04:55Z")

</div>

Hi,

Check the permissions for that pgsql dir,  
Its should be owned by database user.

Ideally, i will prefer build in user’s home directory and configure with PBS pro, so that user can easily access without any permissions error.

Additionally, plz check whether that hstore files are available in /pgsqlshare/extension dir. If not available, plz do rebuild you pgsql with ./configure, make world, make install-world.

Warm regards,  
Brem Anand J K

---

<div class="post-metadata">

**Author:** ![nmonama](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@nmonama](https://community.openpbs.org/u/nmonama)\
**Post date:** [February 18, 2019, 1:06pm UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/26 "2019-02-18T13:06:26Z")

</div>

Hi Brem,

Thank you.

It is working.

Regards,  
Nkwe

---

<div class="post-metadata">

**Author:** ![martinitime1975](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/martinitime1975/32/216_2.png) [@martinitime1975](https://community.openpbs.org/u/martinitime1975)\
**Post date:** [May 16, 2019, 3:19pm UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/27 "2019-05-16T15:19:53Z")

</div>

I’m attempting to compile 19.1.1 from source. I have installed the newer postgresql 9.6 packages using the postgres repo. During the make phase, I’m consistently getting this error:

…  
/lib64/python2.7/config -lpython2.7 -lpthread -lutil -lm -lssl -lcrypto -ldl -lcrypt -lc  
/bin/ld: /usr/pgsql-9.6/lib/libpq.a(fe-connect.o): undefined reference to symbol ‘gss\_delete\_sec\_context@@gssapi\_krb5\_2\_MIT’  
//usr/lib64/libgssapi\_krb5.so.2: error adding symbols: DSO missing from command line  
collect2: error: ld returned 1 exit status

I have build the newest krb5 from source and loaded it with an environment module, but I can’t seem to get configure to point to the newer version. Any ideas?

Thanks,  
Brian

---

<div class="post-metadata">

**Author:** ![martinitime1975](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/martinitime1975/32/216_2.png) [@martinitime1975](https://community.openpbs.org/u/martinitime1975)\
**Post date:** [May 24, 2019, 7:54pm UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/28 "2019-05-24T19:54:25Z")

</div>

As root, I can get the new krb5 module to load, but still getting errors in configure step:

/bin/ld: /usr/pgsql-11/lib/libpq.a(fe-connect.o): undefined reference to symbol ‘gss\_delete\_sec\_context@@gssapi\_krb5\_2\_MIT’  
/apps/krb5/1.17/lib/libgssapi\_krb5.so.2: error adding symbols: DSO missing from command line  
collect2: error: ld returned 1 exit status

---

<div class="post-metadata">

**Author:** ![zistambo](https://avatars.discourse-cdn.com/v4/letter/z/f07891/32.png) [@zistambo](https://community.openpbs.org/u/zistambo)\
**Post date:** [April 2, 2020, 7:18pm UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/29 "2020-04-02T19:18:45Z")

</div>

Hello Martin,

Were you able to find a solution to this problem?

---

<div class="post-metadata">

**Author:** ![martinitime1975](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/martinitime1975/32/216_2.png) [@martinitime1975](https://community.openpbs.org/u/martinitime1975)\
**Post date:** [April 2, 2020, 7:49pm UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/30 "2020-04-02T19:49:33Z")

</div>

No, and to be honest I switched companies and their HPC cluster uses another scheduler, so I switched to it for my home vm lab.

---

<div class="post-metadata">

**Author:** ![zistambo](https://avatars.discourse-cdn.com/v4/letter/z/f07891/32.png) [@zistambo](https://community.openpbs.org/u/zistambo)\
**Post date:** [April 2, 2020, 7:51pm UTC](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456/31 "2020-04-02T19:51:29Z")

</div>

I see. Thank you. I am considering Slurm as an alternative, but I want to get PBS Pro working for a few days before I decide.

[Previous page](https://community.openpbs.org/t/noob-question-cant-initialize-the-pbs-dataservice/1456.md?page=1)
