Error "opsiconfd" during server update

Antworten
bourhis
Beiträge: 112
Registriert: 07 Nov 2012, 15:57

Error "opsiconfd" during server update

Beitrag von bourhis »

Hi,

when I updated my server (apt update && apt dist-upgrade) I got an error while configuring "opsiconfd":

Code: Alles auswählen

[5] [2023-06-20 14:07:24.155] [               ] Running opsiconfd setup   (setup.py:212)
[4] [2023-06-20 14:07:24.178] [               ] Failed to setup backend: (MySQLdb.OperationalError) (2003, 'Can\'t connect to MySQL server on \'127.0.0.1\' (111 "Connection refused")')
(Background on this error at: https://sqlalche.me/e/14/e3q8)   (setup.py:231)
[4] [2023-06-20 14:07:41.799] [               ] Failed to get directories from depot: (MySQLdb.OperationalError) (2003, 'Can\'t connect to MySQL server on \'127.0.0.1\' (111 "Connection refused")')
(Background on this error at: https://sqlalche.me/e/14/e3q8)   (Rights.py:306)
[5] [2023-06-20 14:07:41.800] [               ] Setting rights on '/etc/shadow'   (Rights.py:236)
[5] [2023-06-20 14:07:41.800] [               ] Setting rights on '/var/log/opsi/opsiconfd/opsiconfd.log'   (Rights.py:236)
[5] [2023-06-20 14:07:41.801] [               ] Setting rights recursively on '/var/lib/opsiconfd/addons'   (Rights.py:236)
[5] [2023-06-20 14:07:41.810] [               ] Setting rights recursively on '/etc/opsi'   (Rights.py:236)
[5] [2023-06-20 14:07:41.811] [               ] Setting rights recursively on '/etc/opsi/ssl'   (Rights.py:236)
[5] [2023-06-20 14:07:41.811] [               ] Setting rights on '/etc/opsi/ssl/opsi-ca-cert.pem'   (Rights.py:236)
[5] [2023-06-20 14:07:41.812] [               ] Setting rights on '/etc/opsi/ssl/opsi-ca-cert.pem'   (Rights.py:236)
[5] [2023-06-20 14:07:41.812] [               ] Setting rights on '/etc/opsi/ssl/opsi-ca-key.pem'   (Rights.py:236)
[5] [2023-06-20 14:07:41.813] [               ] Setting rights on '/etc/opsi/ssl/opsiconfd-cert.pem'   (Rights.py:236)
[5] [2023-06-20 14:07:41.814] [               ] Setting rights on '/etc/opsi/ssl/opsiconfd-key.pem'   (Rights.py:236)
I had to restart to access my "opsi" server.

Is there a way to fix this problem or can I just ignore it?

Best regards.
Benutzeravatar
ThomasT
uib-Team
Beiträge: 544
Registriert: 26 Jun 2013, 12:26

Re: Error "opsiconfd" during server update

Beitrag von ThomasT »

Hello,

there was a timing problem when performing upgrades. The sql-server did not start quickly enough for the opsiconfd. The bug should be fixed in one of the following updates.

Kind Regards
Kein Support per DM!
_________________________
opsi support - https://www.uib.de/
For productive opsi installations we recommend support contracts.
Antworten