Univention Bugzilla – Bug 35902
Traceback in pkgdb when postgres not running
Last modified: 2018-04-14 13:47:00 CEST
Please check if a test case is possible. +++ This bug was initially created as a clone of Bug #34723 +++ Reported by traceback feedback: Traceback: The init function of the module has failed: InternalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/management/console/protocol/modserver.py", line 228, in handle self.__handler.init() File "/usr/lib/pymodules/python2.6/univention/management/console/modules/pkgdb/__init__.py", line 210, in init self.connection = updb.open_database_connection(self.ucr, pkgdbu=True) File "/usr/lib/pymodules/python2.6/univention/pkgdb.py", line 521, in open_database_connection connection = pgdb.connect(database=connectstring) File "/usr/lib/python2.6/dist-packages/pgdb.py", line 482, in connect dbtty, dbuser, dbpasswd) InternalError: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?