Failed to upgrade PBS Datastore

Hi all,

Need some help on this please?

Starting PBS
PBS Home directory /var/spool/pbs needs updating.
Running /opt/pbs/libexec/pbs_habitat to update it.


Data service directory from previous PBS installation not found,
Datastore upgrade cannot continue
Failed to upgrade PBS Datastore

Thanks

Looks like PBS Pro is confused about the state of the datastore directory. Based on the previous thread, I am concerned that Torque is getting in the way. We may need to add Torque to the list of conflicting packages when PBS Pro is installed. Please try performing a clean install of PBS Pro by following these steps:

  1. Read all of these steps before you start and understand what you are about to do before you proceed.
  2. Stop any running PBS Pro services. (/etc/init.d/pbs stop)
  3. Stop any running Torque services.
  4. Make a backup of your system. At the very least, backup all Torque configuration files and components you may need to recover.
  5. Uninstall PBS Pro. (e.g. for CentOS: yum erase pbspro-server)
  6. Ensure PBS Pro is unsinstalled. (The following should be empty: rpm -qa | grep pbs)
  7. Uninstall Torque and make sure it’s uninstalled.
  8. CAUTION: Don’t delete any files or directories you haven’t backed up. Delete the following:
  • /etc/pbs.conf
  • /var/spool/pbs
  1. Perform a fresh install of the PBS Pro RPM.
  2. Start PBS Pro services.

I suspect it will successfully create the database and the PBS Pro services will start normally at this point. If you could capture your session in a typescript, that might help to identify problems if things continue to fail.

1 Like