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: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18.1.1
    • Component/s: Server
    • Labels:
      None

      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

        1. after fix.txt
          85 kB
        2. before fix.txt
          83 kB
        3. pbs_habitat test.txt
          101 kB
        4. pbs_habitat updated message.txt
          0.4 kB
        5. posttrans test.txt
          7 kB

          Issue links

            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:
                  Resolved: