Hier der Status des Service
Code: Alles auswählen
opsiconfd.service - opsi server daemon
Loaded: loaded (/lib/systemd/system/opsiconfd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-09-26 15:41:33 CEST; 2s ago
Process: 2122 ExecStart=/usr/bin/opsiconfd start --log-level-stderr=0 (code=exited, status=1/FAILURE)
Main PID: 2122 (code=exited, status=1/FAILURE)
CPU: 1.035s
Sep 26 15:41:33 sgs061005 opsiconfd[2122]: File "opsiconfd/utils.py", line 234, in redis_client
Sep 26 15:41:33 sgs061005 opsiconfd[2122]: File "opsiconfd/utils.py", line 222, in get_redis_connection
Sep 26 15:41:33 sgs061005 opsiconfd[2122]: File "redis/commands/core.py", line 1132, in ping
Sep 26 15:41:33 sgs061005 opsiconfd[2122]: File "redis/client.py", line 1235, in execute_command
Sep 26 15:41:33 sgs061005 opsiconfd[2122]: File "redis/connection.py", line 1387, in get_connection
Sep 26 15:41:33 sgs061005 opsiconfd[2122]: File "redis/connection.py", line 617, in connect
Sep 26 15:41:33 sgs061005 opsiconfd[2122]: redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
Sep 26 15:41:33 sgs061005 systemd[1]: opsiconfd.service: Main process exited, code=exited, status=1/FAILURE
Sep 26 15:41:33 sgs061005 systemd[1]: opsiconfd.service: Failed with result 'exit-code'.
Sep 26 15:41:33 sgs061005 systemd[1]: opsiconfd.service: Consumed 1.035s CPU time.
Grafana läuft auch mit dem User Opsiconfd, das einloggen per WEBoberfläche funktioniert ohne Probleme.
Redis Server läuft
Sobald ich irgendwelche config routinen starte, wie zb. opsiconfd kommt dieser Fehler:
Code: Alles auswählen
[4] [2022-09-26 15:54:43.446] [ ] Failed to connect to grafana api 'http://localhost:3000': HTTPConnectionPool(host='localhost', port=3000): Max retries exceeded with url: /api/users/lookup?loginOrEmail=opsiconfd (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe4d5fc9780>: Failed to establish a new connection: [Errno 111] Connection refused')) (grafana.py:154)
[4] [2022-09-26 15:54:45.492] [ ] Failed to setup redis downsampling: Error 111 connecting to localhost:6379. Connection refused. (setup.py:259)