Bonjour,
ah oui, j'avais oublié de dire sur quelle plateforme , c'était installé.
Donc, c'est sur ma machine de test, que je fais mes essais et apres je mets sur ma machine de prod.

- domoticz-test.png (85.3 Kio) Consulté 700 fois
et ça tourne sur un
RPi 4b avec:
lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Donc, ce matin , je le démarre (test arrêté pendant la nuit) et voilà les logs dans domoticz.
les lignes concernant "SSL", n'apparaissent qu’après un démarrage. A part ça tout va bien.
J'ai acces à domoticz et les 2 choses qui tournent "livebox et speedtest" fonctionnent.
2024-03-03 10:48:04.460 Sunrise: 07:12:00 SunSet: 18:27:00
2024-03-03 10:48:04.461 Day length: 11:15:00 Sun at south: 12:50:00
2024-03-03 10:48:04.461 Civil twilight start: 06:42:00 Civil twilight end: 18:57:00
2024-03-03 10:48:04.462 Nautical twilight start: 06:07:00 Nautical twilight end: 19:32:00
2024-03-03 10:48:04.464 Astronomical twilight start: 05:32:00 Astronomical twilight end: 20:07:00
2024-03-03 10:48:04.852 Active notification Subsystems: (0/13)
2024-03-03 10:48:04.400 Status: Domoticz V2024.4 (c)2012-2024 GizMoCuz
2024-03-03 10:48:04.400 Status: Build Hash: 731719420, Date: 2024-01-30 09:16:34
2024-03-03 10:48:04.400 Status: Startup Path: /home/jeeper/domoticz/
2024-03-03 10:48:04.797 Status: PluginSystem: Started, Python version '3.9.2', 3 plugin definitions loaded.
2024-03-03 10:48:05.054 Starting shared server on: :::6144
2024-03-03 10:48:05.039 Status: WebServer(HTTP) started on address: :: with port 8080
2024-03-03 10:48:05.051 Status: WebServer(SSL) started on address: :: with port 443
2024-03-03 10:48:05.054 Status: TCPServer: shared server started...
2024-03-03 10:48:05.055 Status: RxQueue: queue worker started...
2024-03-03 10:48:05.048 Error: [web:443] missing SSL certificate chain file ./server_cert.pem!
2024-03-03 10:48:05.048 Error: [web:443] missing SSL certificate file ./server_cert.pem!
2024-03-03 10:48:05.048 Error: [web:443] missing SSL private key file ./server_cert.pem!
2024-03-03 10:48:05.048 Error: [web:443] missing SSL DH parameters file ./server_cert.pem!
2024-03-03 10:48:07.059 Status: NotificationSystem: thread started...
2024-03-03 10:48:07.063 Status: EventSystem: reset all events...
2024-03-03 10:48:07.070 Status: dzVents: Write file: /home/jeeper/domoticz/scripts/dzVents/generated_scripts/livebox.lua
2024-03-03 10:48:07.071 Status: EventSystem: reset all device statuses...
2024-03-03 10:48:07.172 Status: Python EventSystem: Initializing event module.
2024-03-03 10:48:07.173 Status: EventSystem: Started
2024-03-03 10:48:07.174 Status: EventSystem: Queue thread started...
2024-03-03 10:49:08.664 Status: Login successful from 192.168.0.6 for user 'admin'
2024-03-03 10:49:08.664 Status: [web:8080] Incoming connection from: 192.168.0.6
Apres, je vais vérifier le statut de domoticz:
sudo systemctl status domoticz.service
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: failed (Result: timeout) since Sun 2024-03-03 10:52:34 CET; 3min 1>
Docs: man:systemd-sysv-generator(8)
Process: 585 ExecStart=/etc/init.d/domoticz.sh start (code=killed, signal=T>
Tasks: 19 (limit: 3933)
CPU: 2.885s
CGroup: /system.slice/domoticz.service
└─1478 /home/jeeper/domoticz/domoticz $ -syslog local1
mars 03 10:49:08 raspberrypi-4b domoticz.sh[1478]: 2024-03-03 10:49:08.664 Sta>
mars 03 10:49:08 raspberrypi-4b domoticz[1478]: [web:8080] Incoming connection >
mars 03 10:50:23 raspberrypi-4b domoticz.sh[1478]: domoticz: [web:8080] Incomin>
mars 03 10:50:23 raspberrypi-4b domoticz[1478]: [web:8080] Incoming connection >
mars 03 10:50:23 raspberrypi-4b domoticz.sh[1478]: 2024-03-03 10:50:23.038 Sta>
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: start operation t>
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: Failed with resul>
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: Unit process 1478>
mars 03 10:52:34 raspberrypi-4b systemd[1]: Failed to start LSB: Home Automatio>
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: Consumed 2.151s C>
lines 1-20/20 (END)
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: failed (Result: timeout) since Sun 2024-03-03 10:52:34 CET; 3min 10s ago
Docs: man:systemd-sysv-generator(8)
Process: 585 ExecStart=/etc/init.d/domoticz.sh start (code=killed, signal=TERM)
Tasks: 19 (limit: 3933)
CPU: 2.885s
CGroup: /system.slice/domoticz.service
└─1478 /home/jeeper/domoticz/domoticz $ -syslog local1
mars 03 10:49:08 raspberrypi-4b domoticz.sh[1478]: 2024-03-03 10:49:08.664 Status: [web:8080] Incomin>
mars 03 10:49:08 raspberrypi-4b domoticz[1478]: [web:8080] Incoming connection from: 192.168.0.6
mars 03 10:50:23 raspberrypi-4b domoticz.sh[1478]: domoticz: [web:8080] Incoming connection from: 127.>
mars 03 10:50:23 raspberrypi-4b domoticz[1478]: [web:8080] Incoming connection from: 127.0.0.1
mars 03 10:50:23 raspberrypi-4b domoticz.sh[1478]: 2024-03-03 10:50:23.038 Status: [web:8080] Incomin>
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: start operation timed out. Terminating.
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: Failed with result 'timeout'.
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: Unit process 1478 (domoticz) remains run>
mars 03 10:52:34 raspberrypi-4b systemd[1]: Failed to start LSB: Home Automation System.
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: Consumed 2.151s CPU time.
~
~
~
lines 1-20/20 (END)...skipping...
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: failed (Result: timeout) since Sun 2024-03-03 10:52:34 CET; 3min 10s ago
Docs: man:systemd-sysv-generator(8)
Process: 585 ExecStart=/etc/init.d/domoticz.sh start (code=killed, signal=TERM)
Tasks: 19 (limit: 3933)
CPU: 2.885s
CGroup: /system.slice/domoticz.service
└─1478 /home/jeeper/domoticz/domoticz $ -syslog local1
mars 03 10:49:08 raspberrypi-4b domoticz.sh[1478]: 2024-03-03 10:49:08.664 Status: [web:8080] Incomin>
mars 03 10:49:08 raspberrypi-4b domoticz[1478]: [web:8080] Incoming connection from: 192.168.0.6
mars 03 10:50:23 raspberrypi-4b domoticz.sh[1478]: domoticz: [web:8080] Incoming connection from: 127.>
mars 03 10:50:23 raspberrypi-4b domoticz[1478]: [web:8080] Incoming connection from: 127.0.0.1
mars 03 10:50:23 raspberrypi-4b domoticz.sh[1478]: 2024-03-03 10:50:23.038 Status: [web:8080] Incomin>
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: start operation timed out. Terminating.
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: Failed with result 'timeout'.
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: Unit process 1478 (domoticz) remains run>
mars 03 10:52:34 raspberrypi-4b systemd[1]: Failed to start LSB: Home Automation System.
mars 03 10:52:34 raspberrypi-4b systemd[1]: domoticz.service: Consumed 2.151s CPU time.
je retente 14 mn apres, meme commande:
sudo systemctl status domoticz.service
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: failed (Result: timeout) since Sun 2024-03-03 10:52:34 CET; 14min ago
Docs: man:systemd-sysv-generator(8)
Process: 585 ExecStart=/etc/init.d/domoticz.sh start (code=killed, signal=TERM)
Tasks: 19 (limit: 3933)
CPU: 6.364s
CGroup: /system.slice/domoticz.service
└─1478 /home/jeeper/domoticz/domoticz $ -syslog local1
mars 03 11:00:02 raspberrypi-4b domoticz[1478]: dzVents: Info: Livebox 1.15: IP WAN : xxx.xxx.xxx.xxx
mars 03 11:00:02 raspberrypi-4b domoticz[1478]: dzVents: Info: Livebox 1.15: mac : introuvable
mars 03 11:00:02 raspberrypi-4b domoticz.sh[1478]: domoticz: dzVents: Info: Livebox 1.15: mac : introuvable
mars 03 11:00:02 raspberrypi-4b domoticz.sh[1478]: 2024-03-03 11:00:02.025 Status: dzVents: Info: Livebox 1.15: mac : introuvable
mars 03 11:00:02 raspberrypi-4b domoticz.sh[1478]: domoticz: dzVents: Info: Livebox 1.15: ------ Finished livebox
mars 03 11:00:02 raspberrypi-4b domoticz.sh[1478]: 2024-03-03 11:00:02.030 Status: dzVents: Info: Livebox 1.15: ------ Finished livebox
mars 03 11:00:02 raspberrypi-4b domoticz[1478]: dzVents: Info: Livebox 1.15: ------ Finished livebox
mars 03 11:05:23 raspberrypi-4b domoticz.sh[1478]: domoticz: [web:8080] Incoming connection from: 127.0.0.1
mars 03 11:05:23 raspberrypi-4b domoticz.sh[1478]: 2024-03-03 11:05:23.847 Status: [web:8080] Incoming connection from: 127.0.0.1
mars 03 11:05:23 raspberrypi-4b domoticz[1478]: [web:8080] Incoming connection from: 127.0.0.1
plus d'erreurs mais Active "Failed", Domoticz fonctionne toujours bien !!!
JE restart le service:
sudo systemctl status domoticz.service
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (running) since Sun 2024-03-03 11:09:20 CET; 53s ago
Docs: man:systemd-sysv-generator(8)
Process: 2784 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
Tasks: 19 (limit: 3933)
CPU: 2.317s
CGroup: /system.slice/domoticz.service
└─1478 /home/jeeper/domoticz/domoticz $ -syslog local1
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > #8 0x011786fe in std::terminate() ()
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > #9 0x00ccbf0c in std::_Sp_counted_ptr_inplace<std::thread, std::allocator<std::thread>, (__gnu_cxx::_Lock_policy)2>::_M_dispose() ()
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > #10 0x00ccd7de in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() ()
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > #11 0x00d0e334 in CMQTTPush::~CMQTTPush() ()
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > #12 0xf743de74 in __run_exit_handlers (status=1, listp=0xf755d130 <__new_exitfn_called>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@en>
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > #13 0xf743e014 in __GI_exit (status=<optimized out>) at exit.c:139
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > #14 0xf7424744 in __libc_start_main (main=0xffacd504, argc=-145375232, argv=0xf7424744 <__libc_start_main+280>, init=<optimized out>, fini=0x11dbdad <__lib>
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > #15 0x00ca124c in _start ()
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
mars 03 11:09:20 raspberrypi-4b domoticz[2792]: > [Inferior 1 (process 2792) detached]
des erreurs ,mais Active "Running".
je verifie qq minutes apres le status:
sudo systemctl status domoticz.service
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: activating (start) since Sun 2024-03-03 11:12:24 CET; 3min 22s ago
Docs: man:systemd-sysv-generator(8)
Cntrl PID: 2900 (domoticz.sh)
Tasks: 20 (limit: 3933)
CPU: 1.566s
CGroup: /system.slice/domoticz.service
├─2900 /bin/sh /etc/init.d/domoticz.sh start
└─2909 /home/jeeper/domoticz/domoticz $ -syslog local1
mars 03 11:15:01 raspberrypi-4b domoticz.sh[2909]: 2024-03-03 11:15:01.992 Status: dzVents: Info: Livebox 1.15: IP WAN : xxx.xxx.xxx.xxx
mars 03 11:15:01 raspberrypi-4b domoticz[2909]: dzVents: Info: Livebox 1.15: Uptime : 25:19:29:57
mars 03 11:15:01 raspberrypi-4b domoticz.sh[2909]: domoticz: dzVents: Info: Livebox 1.15: mac : introuvable
mars 03 11:15:01 raspberrypi-4b domoticz.sh[2909]: 2024-03-03 11:15:01.993 Status: dzVents: Info: Livebox 1.15: mac : introuvable
mars 03 11:15:01 raspberrypi-4b domoticz[2909]: dzVents: Info: Livebox 1.15: Internet : true
mars 03 11:15:01 raspberrypi-4b domoticz[2909]: dzVents: Info: Livebox 1.15: IP WAN : xxx.xxx.xxx.xxx
mars 03 11:15:01 raspberrypi-4b domoticz[2909]: dzVents: Info: Livebox 1.15: mac : introuvable
mars 03 11:15:02 raspberrypi-4b domoticz.sh[2909]: domoticz: dzVents: Info: Livebox 1.15: ------ Finished livebox
mars 03 11:15:02 raspberrypi-4b domoticz.sh[2909]: 2024-03-03 11:15:01.998 Status: dzVents: Info: Livebox 1.15: ------ Finished livebox
mars 03 11:15:01 raspberrypi-4b domoticz[2909]: dzVents: Info: Livebox 1.15: ------ Finished livebox
plus d'erreurs mais Active: activating (start) ; il ne devrait pas passer à "Running"; domoticz tourne toujours bien.
reverification du statut:
sudo systemctl status domoticz.service
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: failed (Result: timeout) since Sun 2024-03-03 11:17:24 CET; 4min 12s ago
Docs: man:systemd-sysv-generator(8)
Process: 2900 ExecStart=/etc/init.d/domoticz.sh start (code=killed, signal=TERM)
Tasks: 19 (limit: 3933)
CPU: 3.176s
CGroup: /system.slice/domoticz.service
└─2909 /home/jeeper/domoticz/domoticz $ -syslog local1
mars 03 11:15:02 raspberrypi-4b domoticz.sh[2909]: 2024-03-03 11:15:01.998 Status: dzVents: Info: Livebox 1.15: ------ Finished livebox
mars 03 11:15:01 raspberrypi-4b domoticz[2909]: dzVents: Info: Livebox 1.15: ------ Finished livebox
mars 03 11:17:24 raspberrypi-4b systemd[1]: domoticz.service: start operation timed out. Terminating.
mars 03 11:17:24 raspberrypi-4b systemd[1]: domoticz.service: Failed with result 'timeout'.
mars 03 11:17:24 raspberrypi-4b systemd[1]: domoticz.service: Unit process 2909 (domoticz) remains running after unit stopped.
mars 03 11:17:24 raspberrypi-4b systemd[1]: Failed to start LSB: Home Automation System.
mars 03 11:17:24 raspberrypi-4b systemd[1]: domoticz.service: Consumed 2.006s CPU time.
mars 03 11:20:22 raspberrypi-4b domoticz.sh[2909]: domoticz: [web:8080] Incoming connection from: 127.0.0.1
mars 03 11:20:22 raspberrypi-4b domoticz.sh[2909]: 2024-03-03 11:20:22.305 Status: [web:8080] Incoming connection from: 127.0.0.1
mars 03 11:20:22 raspberrypi-4b domoticz[2909]: [web:8080] Incoming connection from: 127.0.0.1
Active "failed"; mais domoticz tourne bien.......
Je sais plus quoi penser, désolé, d'alourdir ce post avec les logs, j'ai cherché mais pas trouver sur le forum.
Ultime tentative:
sudo systemctl restart domoticz.service
sudo systemctl status domoticz.service
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (running) since Sun 2024-03-03 11:36:50 CET; 1min 17s ago
Docs: man:systemd-sysv-generator(8)
Process: 4039 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
Tasks: 19 (limit: 3933)
CPU: 3.615s
CGroup: /system.slice/domoticz.service
└─3623 /home/jeeper/domoticz/domoticz $ -syslog local1
mars 03 11:37:42 raspberrypi-4b domoticz.sh[3623]: domoticz: dzVents: Info: Livebox 1.15: ------ Start internal script: livebox: Device: "Effacer liste appels (Domoticz_RPi4b)", Index: 15
mars 03 11:37:42 raspberrypi-4b domoticz.sh[3623]: 2024-03-03 11:37:42.407 Status: dzVents: Info: Livebox 1.15: ------ Start internal script: livebox: Device: "Effacer liste appels (Domoticz_RPi4b)", Inde>
mars 03 11:37:42 raspberrypi-4b domoticz[3623]: dzVents: Info: Livebox 1.15: ------ Start internal script: livebox: Device: "Effacer liste appels (Domoticz_RPi4b)", Index: 15
mars 03 11:37:42 raspberrypi-4b domoticz.sh[4162]: {"status":null}
mars 03 11:37:42 raspberrypi-4b domoticz.sh[3623]: domoticz: dzVents: Info: Livebox 1.15: clearCallList false
mars 03 11:37:42 raspberrypi-4b domoticz.sh[3623]: 2024-03-03 11:37:42.528 Status: dzVents: Info: Livebox 1.15: clearCallList false
mars 03 11:37:42 raspberrypi-4b domoticz[3623]: dzVents: Info: Livebox 1.15: clearCallList false
mars 03 11:37:42 raspberrypi-4b domoticz.sh[3623]: domoticz: dzVents: Info: Livebox 1.15: ------ Finished livebox
mars 03 11:37:42 raspberrypi-4b domoticz.sh[3623]: 2024-03-03 11:37:42.533 Status: dzVents: Info: Livebox 1.15: ------ Finished livebox
mars 03 11:37:42 raspberrypi-4b domoticz[3623]: dzVents: Info: Livebox 1.15: ------ Finished livebox
et là tout est bien; Active: active(running); vraiment bizarre; mais peut-etre que je mets fais des idées.....
Voilà, j'espere que ce n'est pas trop à lire...
Salinois