Problem
When trying to install software through apt you are getting this error:
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.100.178«, user »ucs-slave$«, database »pkgdb«, SSL on
Environment
Your are using the Software-Installation-Monitor app.
Solution
For some reason the system account got lost. Assuming the packet database resides at the master server re-create it by
root@ucs-slave:~# univention-pkgdb-scan --db-server 'ucs-master.domain.com' --add 'ucs-slave$'