adminuser@srv-opsi:~$ sudo apt-get install opsiconfd
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les NOUVEAUX paquets suivants seront installés :
opsiconfd
0 mis à jour, 1 nouvellement installés, 0 à enlever et 2 non mis à jour.
Il est nécessaire de prendre 34,3 Mo dans les archives.
Après cette opération, 108 Mo d'espace disque supplémentaires seront utilisés.
Réception de :1
http://download.opensuse.org/repositori ... untu_20.04 opsiconfd 4.2.0.246-1 [34,3 MB]
34,3 Mo réceptionnés en 3s (11,2 Mo/s)
Sélection du paquet opsiconfd précédemment désélectionné.
(Lecture de la base de données... 154011 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../opsiconfd_4.2.0.246-1_amd64.deb ...
Dépaquetage de opsiconfd (4.2.0.246-1) ...
Paramétrage de opsiconfd (4.2.0.246-1) ...
[5] [2022-03-18 08:03:20.780] [ ] Running opsiconfd setup (setup.py:203)
[4] [2022-03-18 08:03:21.280] [ ] Warning '"is not" with a literal. Did you mean "!="?' in file '<string>', line 254 (logging.py:795)
[5] [2022-03-18 08:03:21.383] [ ] Creating base path: '/var/lib/opsi/config' (File.py:215)
[5] [2022-03-18 08:03:21.699] [ ] Creating opsi base (SQL.py:611)
[5] [2022-03-18 08:03:29.163] [ ] Setting up default values. (ConfigurationData.py:64)
[5] [2022-03-18 08:03:29.340] [ ] Finished setting up default values. (ConfigurationData.py:71)
[4] [2022-03-18 08:03:29.713] [ ] Warning '"is not" with a literal. Did you mean "!="?' in file '<string>', line 254 (logging.py:795)
[5] [2022-03-18 08:03:29.815] [ ] Connection to database 'opsi' on 'localhost' as user 'opsi' (MySQL.py:62)
[5] [2022-03-18 08:03:29.988] [ ] Creating opsi base (SQL.py:611)
[4] [2022-03-18 08:03:39.858] [ ] Warning '"is not" with a literal. Did you mean "!="?' in file '<string>', line 254 (logging.py:795)
[5] [2022-03-18 08:03:40.245] [ ] Setting rights on '/etc/shadow' (Rights.py:233)
[5] [2022-03-18 08:03:40.247] [ ] Setting rights on '/var/log/opsi/opsiconfd/opsiconfd.log' (Rights.py:233)
[5] [2022-03-18 08:03:40.249] [ ] Setting rights on '/etc/dhcp/dhcpd.conf' (Rights.py:233)
[5] [2022-03-18 08:03:40.251] [ ] Setting rights recursively on '/var/lib/opsiconfd/addons' (Rights.py:233)
[5] [2022-03-18 08:03:40.252] [ ] Setting rights recursively on '/etc/opsi' (Rights.py:233)
[5] [2022-03-18 08:03:40.255] [ ] Setting rights recursively on '/etc/opsi/ssl' (Rights.py:233)
[5] [2022-03-18 08:03:40.256] [ ] Setting rights on '/etc/opsi/ssl/opsi-ca-cert.pem' (Rights.py:233)
[5] [2022-03-18 08:03:40.257] [ ] Setting rights on '/etc/opsi/ssl/opsi-ca-cert.pem' (Rights.py:233)
[5] [2022-03-18 08:03:40.259] [ ] Setting rights on '/etc/opsi/ssl/opsi-ca-key.pem' (Rights.py:233)
[5] [2022-03-18 08:03:40.261] [ ] Setting rights on '/etc/opsi/ssl/opsiconfd-cert.pem' (Rights.py:233)
[5] [2022-03-18 08:03:40.263] [ ] Setting rights on '/etc/opsi/ssl/opsiconfd-key.pem' (Rights.py:233)
[4] [2022-03-18 08:03:42.285] [ ] Failed to setup redis downsampling: Error 111 connecting to localhost:6379. Connection refused. (setup.py:250)
Traceback (most recent call last):
File "redis/connection.py", line 607, in connect
File "redis/retry.py", line 45, in call_with_retry
File "redis/connection.py", line 608, in <lambda>
File "redis/connection.py", line 673, in _connect
File "redis/connection.py", line 661, in _connect
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "opsiconfd/setup.py", line 248, in setup
File "opsiconfd/statistics.py", line 72, in setup_metric_downsampling
File "redis/client.py", line 1173, in execute_command
File "redis/connection.py", line 1370, in get_connection
File "redis/connection.py", line 613, in connect
redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.