Univention Bugzilla – Bug 48677
univention-pkgdb-scan fails on fresh installed memberserver
Last modified: 2021-05-14 16:38:27 CEST
Yesterday I setup a new memberserver. The setup went well, but on console I can see errors when using "univention-install" I have the errors mesages not available anymore, but there is the same problem described in the forum: https://help.univention.com/t/new-slave-pg-hba-conf-error/10977 --- 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 578, in main connection = open_database_connection(config_registry, pkgdbu=False) 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: no pg_hba.conf entry for host "192.168.103.2", user "MPAVDC1$", database "pkgdb", SSL on ---
as suggested by @Christian_Voelker I ran "univention-pkgdb-scan --db-server 'database-host' --add 'slave$'", which fixed the issue. The process gave the output "user slave$ added to group ..."
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.