When running univention-join on a new backup domain controller, the join process fails with:
**************************************************************************
* Join failed! *
* Contact your system administrator *
**************************************************************************
* Message: FAILED: 50univention-pkgdb.inst
**************************************************************************
The package is installed, however the join script fails, the /var/log/univention/join.log has this as the final entry:
Configure 50univention-pkgdb.inst Tue Mar 27 13:27:46 PDT 2018
2018-03-27 13:27:46.381745892-07:00 (in joinscript_init)
Traceback (most recent call last):
File "/usr/sbin/univention-pkgdb-scan", line 37, in <module>
univention.pkgdb.main()
File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 576, in main
connection = open_database_connection(config_registry, pkgdbu=True)
File "/usr/lib/pymodules/python2.7/univention/pkgdb.py", line 560, in open_database_connection
connection = pgdb.connect(database=connectstring)
File "/usr/lib/python2.7/dist-packages/pgdb.py", line 1615, in connect
cnx = _connect(dbname, dbhost, dbport, dbopt, dbuser, dbpasswd)
pg.InternalError: FATAL: database "pkgdb" does not exist
Tue Mar 27 13:27:46 PDT 2018: finish /usr/sbin/univention-join
Not sure what I am missing as the package univention-pkgdb is installed.