Problem with starting PBS

Good day. When im trying to start PBSpro on Linux Astra SE 1.6 after succesful install im getting next error:
Data service directory from previous PBS installation not found
Datastore upgrade continue
Failed to upgrade PBS Datastore.
I ran pbs_habitat script, but got same errors. The system is clean. Can you help me to solve this problem?

Please state your PBS Pro version.
Please check these links:

  1. Failed to upgrade PBS Datastore
  2. https://pbspro.atlassian.net/browse/PP-1284

i downloaded last version from github master branch. I saw this links, they didn’t help

If this is your fresh installation (not upgradation), then it looks like your PBS_HOME is pointing to non-empty directory.
In the above case I would suggest you to stop pbs (if any daemons is running) then backup and clean the PBS_HOME directory(or provide new path) and start it again.
Hope this will resolve your issue.

+1 @riyazhakki

Please check your PBS_HOME and PBS_EXEC

Thank you for introducing to AstraLinux, i did download the AstraLinux image, deployed and compiled PBS Professional from the source and it worked for me without any issues .


image

my pbs.conf
You downloaded Linux Astra Common edition (orel). Im trying to deploy pbs on Astra Linux Special edition (smolensk). This is protected version for commercial use

Thank you for answer but this doesn’t help. I removed pbs_home and rerun pbs, but he can’t connect to PBS dataservice.

Good day! Can you give me more advices? Im working on this problem 3rd day and i can’t to solve it

  • is SELinux turned off and system rebooted after disabling it

  • ports 15001 to 15009 and 17001 should be open for PBS Pro internal communication

  • try to disable firewall

  • please check and share the logs (pg-logs)

    root@astral:/var/spool/pbs# cat /etc/pbs.conf
    PBS_SERVER=astral
    PBS_START_SERVER=1
    PBS_START_SCHED=1
    PBS_START_COMM=1
    PBS_START_MOM=1
    PBS_EXEC=/opt/pbs
    PBS_HOME=/var/spool/pbs
    PBS_CORE_LIMIT=unlimited
    PBS_SCP=/usr/bin/scp
    root@astral:/var/spool/pbs# ls -ltr
    total 56
    -rw-r–r-- 1 root root 19 May 19 15:43 pbs_environment
    drwxr-xr-x 2 root root 4096 May 19 15:43 aux
    drwx------ 2 root root 4096 May 19 15:43 checkpoint
    drwxrwxrwt 2 root root 4096 May 19 15:43 undelivered
    -rw-r–r-- 1 root root 7 May 19 15:45 pbs_version
    drwxr-x–x 4 root root 4096 May 19 15:45 mom_priv
    drwxr-x— 2 root root 4096 May 19 15:45 sched_priv
    drwxr-xr-x 2 root root 4096 May 21 13:00 comm_logs
    drwxr-xr-x 2 root root 4096 May 21 13:00 mom_logs
    drwxr-xr-x 2 root root 4096 May 21 13:00 sched_logs
    drwxr-x— 7 root root 4096 May 21 13:00 server_priv
    drwxr-xr-x 2 root root 4096 May 21 13:00 server_logs
    drwx------ 20 postgres root 4096 May 21 13:02 datastore
    drwxrwxrwt 2 root root 4096 May 21 13:02 spool
    root@astral:/var/spool/pbs# cd datastore/
    root@astral:/var/spool/pbs/datastore# ls -ltr
    total 124
    -rw------- 1 postgres postgres 4 May 19 15:45 PG_VERSION
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_twophase
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_tblspc
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_snapshots
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_serial
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_replslot
    drwx------ 4 postgres postgres 4096 May 19 15:45 pg_multixact
    drwx------ 4 postgres postgres 4096 May 19 15:45 pg_logical
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_dynshmem
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_commit_ts
    -rw------- 1 postgres postgres 88 May 19 15:45 postgresql.auto.conf
    -rw------- 1 postgres postgres 1636 May 19 15:45 pg_ident.conf
    drwx------ 3 postgres postgres 4096 May 19 15:45 pg_xlog
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_subtrans
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_clog
    -rw------- 1 postgres root 22407 May 19 15:45 postgresql.conf
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_log
    drwx------ 6 postgres postgres 4096 May 19 15:45 base
    -rw------- 1 postgres root 4172 May 19 15:45 pg_hba.conf
    drwx------ 2 postgres postgres 4096 May 19 15:45 pg_notify
    -rw------- 1 postgres postgres 82 May 19 15:45 postmaster.opts
    drwx------ 2 postgres postgres 4096 May 19 15:46 global
    drwx------ 2 postgres postgres 4096 May 19 15:55 pg_stat_tmp
    drwx------ 2 postgres postgres 4096 May 19 15:55 pg_stat
    -rw------- 1 root root 12 May 21 13:02 pbs_dblock

    root@astral:/var/spool/pbs/datastore# cat pg_hba.conf

    TYPE DATABASE USER ADDRESS METHOD

    IPv4 local connections:

    local all all md5
    host all all 0.0.0.0/0 md5
    host all all 127.0.0.1/32 md5

    IPv6 local connections:

    host all all ::1/128 md5

  • you can change pg_hba.conf entry against the below line to trust and then start the pbs services
    host all all 127.0.0.1/32 md5

pbs
image
firewall disabled
SELinux not installed on Astra Linux SE
ports are opened. Pg_logs on russian language. Can you translate it?

datastore

Thank you

Sure please post it

Sure

Thank you @legio . Text would be helpful, screenshots wont help to translate.

Oh, im sorry xD. Didn’t think about it

< 2020-05-21 16:38:32.880 +05 >СООБЩЕНИЕ: система БД была выключена: 2020-05-21 16:38:31 +05
< 2020-05-21 16:38:32.882 +05 >СООБЩЕНИЕ: Защита от наложения мультитранзакций сейчас включена
< 2020-05-21 16:38:32.888 +05 >СООБЩЕНИЕ: система БД готова принимать подключения
< 2020-05-21 16:38:32.889 +05 >СООБЩЕНИЕ: процесс запуска автоочистки создан
2020-05-21 16:38:33 [3401] АУДИТ: УСПЕХ, Подключение, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): мандатная метка: {0,0}
2020-05-21 16:38:33 [3401] АУДИТ: УСПЕХ, Отключение, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10)
2020-05-21 16:38:33 [3401] АУДИТ: ОТКАЗ, Отключение, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): потеряно соединение с клиентом
2020-05-21 16:38:34 [3401] АУДИТ: УСПЕХ, Подключение, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): мандатная метка: {0,0}
2020-05-21 16:38:34 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): база данных “pbs_datastore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Отключение, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10)
2020-05-21 16:38:35 [3401] АУДИТ: ОТКАЗ, Отключение, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): потеряно соединение с клиентом
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Подключение, [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): мандатная метка: {0,0}
< 2020-05-21 16:38:35.566 +05 >ОШИБКА: схема “pbs” не существует
< 2020-05-21 16:38:35.566 +05 >ОПЕРАТОР: /*
* Copyright © 1994-2020 Altair Engineering, Inc.
* For more information, contact Altair at www.altair.com.
*
* This file is part of the PBS Professional (“PBS Pro”) software.
*
* Open Source License Information:
*
* PBS Pro is free software. You can redistribute it and/or modify it under the
* terms of the GNU Affero General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* PBS Pro is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE.
* See the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*
* Commercial License Information:
*
* For a copy of the commercial license terms and conditions,
* go to: (http://www.pbspro.com/UserArea/agreement.html)
* or contact the Altair Legal Department.
*
* Altair’s dual-license business model allows companies, individuals, and
* organizations to create proprietary derivative works of PBS Pro and
* distribute them - whether embedded or bundled with other software -
* under a commercial license agreement.
*
* Use of Altair’s trademarks, including but not limited to “PBS™”,
* “PBS Professional®”, and “PBS Pro™” and Altair’s logos is subject to Altair’s
* trademark licensing policies.
*
/
/

* pbs_schema.sql - contains sql code to re-create the PBS database schema
*
/
drop schema pbs cascade;
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:create schema pbs;
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:create extension hstore;
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): тип “hstore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): тип “hstore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “->”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “->”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “->”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “->”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “?”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “?”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “?|”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “?|”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “?&”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “?&”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “-”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “-”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “-”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “-”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “-”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “-”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “||”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “||”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “@>”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “@>”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “<@”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “<@”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “@”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “@”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “~”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “~”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): преобразование типа из “text[]” в “hstore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): преобразование типа из “hstore” в “json”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): преобразование типа из “hstore” в “jsonb”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “%%”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “%%”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “%#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “%#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#=”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#=”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “=”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “=”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “<>”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “<>”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#<#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#<#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#<=#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#<=#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#>#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#>#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#>=#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): оператор “#>=#”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): класс операторов “btree_hstore_ops” для метода доступа “hstore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): класс операторов “hash_hstore_ops” для метода доступа “hstore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): тип “ghstore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): тип “ghstore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): класс операторов “gist_hstore_ops” для метода доступа “hstore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): класс операторов “gin_hstore_ops” для метода доступа “hstore”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): таблица “info”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): таблица “server”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): таблица “scheduler”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:/

  • Table pbs.scheduler holds scheduler instance information
    */
    CREATE TABLE pbs.scheduler (

2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): таблица “mominfo_time”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): таблица “node”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:/*

  • Table pbs.node holds information about PBS nodes
    /
    CREATE TABLE pbs.node (
    nd_name TEXT
    2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:CREATE INDEX nd_idx_cr
    ON pbs.node
    ( nd_creattm );
    2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): таблица “queue”
    2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:/
  • Table pbs.queue holds queue information
    /
    CREATE TABLE pbs.queue (
    qu_name TEXT NOT NU
    2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:CREATE INDEX que_idx_cr
    ON pbs.queue
    ( qu_ctime );
    2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): таблица “resv”
    2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:/
  • Table pbs.resv holds reservation information
    /
    CREATE TABLE pbs.resv (
    ri_resvID TEXT
    2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): таблица “job”
    2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:/
  • Table pbs.job holds job information
    */
    CREATE TABLE pbs.job (
    ji_jobid TEXT NOT NULL,

2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:CREATE INDEX job_rank_idx
ON pbs.job
( ji_qrank );
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): таблица “job_scr”
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Создание объекта (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:CREATE INDEX job_scr_idx ON pbs.job_scr (ji_jobid);
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Отключение, [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10)
2020-05-21 16:38:35 [3401] АУДИТ: ОТКАЗ, Отключение, [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): потеряно соединение с клиентом
2020-05-21 16:38:35 [3401] АУДИТ: УСПЕХ, Подключение, [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): мандатная метка: {0,0}
2020-05-21 16:38:36 [3401] АУДИТ: УСПЕХ, Субъект, [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10):SQL:alter user “postgres” SUPERUSER ENCRYPTED PASSWORD ‘U0KSz_&qzRez#ivU’
2020-05-21 16:38:36 [3401] АУДИТ: УСПЕХ, Отключение, [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10)
2020-05-21 16:38:36 [3401] АУДИТ: ОТКАЗ, Отключение, [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): потеряно соединение с клиентом
< 2020-05-21 16:38:37.012 +05 >СООБЩЕНИЕ: получен запрос на быстрое выключение
< 2020-05-21 16:38:37.012 +05 >СООБЩЕНИЕ: прерывание всех активных транзакций
< 2020-05-21 16:38:37.013 +05 >СООБЩЕНИЕ: процесс запуска автоочистки завершается
< 2020-05-21 16:38:37.014 +05 >СООБЩЕНИЕ: выключение
< 2020-05-21 16:38:37.619 +05 >СООБЩЕНИЕ: система БД выключена
< 2020-05-21 16:38:38.838 +05 >СООБЩЕНИЕ: система БД была выключена: 2020-05-21 16:38:37 +05
< 2020-05-21 16:38:38.842 +05 >СООБЩЕНИЕ: Защита от наложения мультитранзакций сейчас включена
< 2020-05-21 16:38:38.845 +05 >СООБЩЕНИЕ: система БД готова принимать подключения
< 2020-05-21 16:38:38.846 +05 >СООБЩЕНИЕ: процесс запуска автоочистки создан

Thank you @legio for the above logs.
Could you please share the Postgres version deployed on the system.

Please browse this discussion: Noob question: can't initialize the PBS dataservice

Check this : https://github.com/2ndQuadrant/repmgr/issues/414 (updated)

Hi @bremanandjk , could you please check on the below issue

<2020-05-21 16: 38: 32.880 +05> MESSAGE: the database system was turned off: 2020-05-21 16:38:31 +05
<2020-05-21 16: 38: 32.882 +05> MESSAGE: Protection against multi-transaction overlay is now enabled
<2020-05-21 16: 38: 32.888 +05> MESSAGE: The database system is ready to accept connections
<2020-05-21 16: 38: 32.889 +05> MESSAGE: auto-cleaning start process created
2020-05-21 16:38:33 [3401] AUDIT: SUCCESS, Connection, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): mandatory label: {0 , 0}
2020-05-21 16:38:33 [3401] AUDIT: SUCCESS, Disable, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10)
2020-05-21 16:38:33 [3401] AUDIT: FAILURE, Disconnect, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): connection to the client is lost
2020-05-21 16:38:34 [3401] AUDIT: SUCCESS, Connection, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): mandatory label: {0 , 0}
2020-05-21 16:38:34 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): base pbs_datastore data
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Disconnect, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10)
2020-05-21 16:38:35 [3401] AUDIT: FAILURE, Disconnect, [local], “postgres”, SU = “postgres” (10), CU = “postgres” (10): connection to the client is lost
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Connection, [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): mandatory label: {0 , 0}
<2020-05-21 16: 38: 35.566 +05> ERROR: pbs scheme does not exist
<2020-05-21 16: 38: 35.566 +05> OPERATOR: / *
* Copyright © 1994-2020 Altair Engineering, Inc.
* For more information, contact Altair at www.altair.com.
*
* This file is part of the PBS Professional (“PBS Pro") software.
*
* Open Source License Information:
*
* PBS Pro is free software. You can redistribute it and / or modify it under the
* terms of the GNU Affero General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* PBS Pro is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE.
* See the GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*
* Commercial License Information:
*
* For a copy of the commercial license terms and conditions,
* go to: (http://www.pbspro.com/UserArea/agreement.html)
* or contact the Altair Legal Department.
*
* Altair’s dual-license business model allows companies, individuals, and
* organizations to create proprietary derivative works of PBS Pro and
* distribute them - whether embedded or bundled with other software -
* under a commercial license agreement.
*
* Use of Altair’s trademarks, including but not limited to “PBS ™”,
* “PBS Professional®”, and “PBS Pro ™” and Altair’s logos is subject to Altair’s
* trademark licensing policies.
*
/
/
* pbs_schema.sql - contains sql code to re-create the PBS database schema
*
/
drop schema pbs cascade;
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): SQL : create schema pbs;
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): SQL : create extension hstore;
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): type “Hstore"
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): type “Hstore"
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): statement “->”
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): statement “->”
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): statement “->”
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): statement “->”
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): statement “?”
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): statement “?”
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres” (10): statement “? |”
2020-05-21 16:38:35 [3401] AUDIT: SUCCESS, Creation of an object (CREATE), [local], “pbs_datastore”, SU = “postgres” (10), CU = “postgres”