Uploaded image for project: 'PBS Pro'
  1. PP-756

Upgrading from an older version to the latest mainline version fails to start the PBS daemons

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None
    • Story Points:
      1

      Description

      I had installed the mainline version of PBS last year. I then wanted to upgrade to the latest mainline version. I built the RPMS and then did a rpm -U pbspro_.....

      When I went to start PBS using systemctl start PBS it fails to start. When I do

      systemctl status pbs

      I see the following

      [root@centos7 RPMS]# systemctl status pbs
      ‚óŹ pbs.service - Portable Batch System
      Loaded: loaded (/opt/pbs/libexec/pbs_init.d; enabled; vendor preset: disabled)
      Active: failed (Result: exit-code) since Fri 2017-04-21 13:06:57 MDT; 17s ago
      Docs: man:pbs(8)
      Process: 50750 ExecStart=/opt/pbs/libexec/pbs_init.d start (code=exited, status=1/FAILURE)

      Apr 21 13:06:56 centos7.usa.org pbs_init.d[50750]: Running /opt/pbs/libexec/pbs_habitat to update it.
      Apr 21 13:06:56 centos7.usa.org pbs_init.d[50750]: ***
      Apr 21 13:06:57 centos7.usa.org su[50896]: (to postgres) root on none
      Apr 21 13:06:57 centos7.usa.org su[50981]: (to postgres) root on none
      Apr 21 13:06:57 centos7.usa.org pbs_init.d[50750]: /opt/pbs/pgsql/pg_upgrade not found
      Apr 21 13:06:57 centos7.usa.org pbs_init.d[50750]: Failed to upgrade PBS Datastore
      Apr 21 13:06:57 centos7.usa.org systemd[1]: pbs.service: control process exited, code=exited status=1
      Apr 21 13:06:57 centos7.usa.org systemd[1]: Failed to start Portable Batch System.
      Apr 21 13:06:57 centos7.usa.org systemd[1]: Unit pbs.service entered failed state.
      Apr 21 13:06:57 centos7.usa.org systemd[1]: pbs.service failed

      I'm not sure why it is trying to upgrade the DB since the version of pgsql has not changed on this system

        Attachments

          Activity

            People

            • Assignee:
              prakashcv13 Prakash Varandani
              Reporter:
              JonShelley Jon Shelley
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: