Impossible de démarrer le démon MQTT Manager

Bonjour,
Suite à une coupure de courant, j’ai le demon de MQTT Manager qui ne veut plus démarrer.
J’ai tenté de Désinstaller + Réinstaller le broker Mosquito.
J’ai tenté de Relancer les dépendances.
Mais l’état du borker Mosquitto reste en NOK.

Log mqtt2 :

[2025-12-30 16:35:07] ERROR  Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-12-30 16:35:07]WARNING Service mosquitto non lancé, je lance une installation
[2025-12-30 16:35:14] INFO  Démarrage du démon MQTT Manager : sudo  /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel debug --socketport 55035 --mqtt_server mqtts://127.0.0.1:8883 --client_key /var/www/html/plugins/mqtt2/data/ssl/client.key --client_crt /var/www/html/plugins/mqtt2/data/ssl/client.crt --ca /var/www/html/plugins/mqtt2/data/ssl/ca.crt --username "jeedom" --password "sLSa2IiCnIOGkoi2bL3QBstIQSCjQkkwBCkp31Ee6yYvl0epdtcPIVZyV6MXMmpH" --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey zwX9gPNTcdtmH0VgikFYUI1KaLYbb6f86GI55Uy11shT84XWLJkeedsDImv1pDae --cycle 0.3 --root_topic jeedom --pid /tmp/jeedom/mqtt2/deamon.pid
[2025-12-30 16:35:44] ERROR  Impossible de démarrer le démon MQTT Manager, vérifiez les logs
[2025-12-30 16:40:07] ERROR  Attention je pense qu'il y a un soucis avec le démon que j'ai relancé plus de 3 fois consécutivement
[2025-12-30 16:40:07]WARNING Service mosquitto non lancé, je lance une installation
[2025-12-30 16:40:14] INFO  Démarrage du démon MQTT Manager : sudo  /usr/bin/node /var/www/html/plugins/mqtt2/resources/mqtt2d/mqtt2d.js --loglevel debug --socketport 55035 --mqtt_server mqtts://127.0.0.1:8883 --client_key /var/www/html/plugins/mqtt2/data/ssl/client.key --client_crt /var/www/html/plugins/mqtt2/data/ssl/client.crt --ca /var/www/html/plugins/mqtt2/data/ssl/ca.crt --username "jeedom" --password "sLSa2IiCnIOGkoi2bL3QBstIQSCjQkkwBCkp31Ee6yYvl0epdtcPIVZyV6MXMmpH" --callback http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php --apikey zwX9gPNTcdtmH0VgikFYUI1KaLYbb6f86GI55Uy11shT84XWLJkeedsDImv1pDae --cycle 0.3 --root_topic jeedom --pid /tmp/jeedom/mqtt2/deamon.pid
[2025-12-30 16:40:44] ERROR  Impossible de démarrer le démon MQTT Manager, vérifiez les logs

log mqtt2d :

[2025-12-30 15:40:15] INFO  : Start mqtt2d
[2025-12-30 15:40:15] INFO  : Log level on  : debug
[2025-12-30 15:40:15] INFO  : Socket port : 55035
[2025-12-30 15:40:15] INFO  : MQTT : mqtts://127.0.0.1:8883
[2025-12-30 15:40:15] INFO  : Username : jeedom
[2025-12-30 15:40:15] INFO  : Password : sLSa2IiCnIOGkoi2bL3QBstIQSCjQkkwBCkp31Ee6yYvl0epdtcPIVZyV6MXMmpH
[2025-12-30 15:40:15] INFO  : Root topic : jeedom
[2025-12-30 15:40:15] INFO  : PID file : /tmp/jeedom/mqtt2/deamon.pid
[2025-12-30 15:40:15] INFO  : Apikey : zwX9gPNTcdtmH0VgikFYUI1KaLYbb6f86GI55Uy11shT84XWLJkeedsDImv1pDae
[2025-12-30 15:40:15] INFO  : Callback : http://127.0.0.1:80/plugins/mqtt2/core/php/jeeMqtt2.php
[2025-12-30 15:40:15] INFO  : Cycle : 0.3
[2025-12-30 15:40:15] INFO  : Client key : /var/www/html/plugins/mqtt2/data/ssl/client.key
[2025-12-30 15:40:15] INFO  : Client crt : /var/www/html/plugins/mqtt2/data/ssl/client.crt
[2025-12-30 15:40:15] INFO  : CA : /var/www/html/plugins/mqtt2/data/ssl/ca.crt
[2025-12-30 15:40:16] INFO  : Connect to mqtt server
[2025-12-30 15:40:16] DEBUG  : HTTP listen on 127.0.0.1 port : 55035 started
[2025-12-30 15:40:16] ERROR  : Error on connection to mqtt server : Error: connect ECONNREFUSED 127.0.0.1:8883

Configuration du plugin :

Liste des plugins :
{2FCFBE24-E5DA-4B72-8B05-C4A36BA533CB}


Informations Jeedom

Core : 4.5.1 (master)
DNS Jeedom : oui

Plugin : MQTT Manager
Version : 2025-12-02 01:21:15 (stable)
Statut Démon : Stoppé - (2025-12-30 16:35:07)

bonjour

il faut cliquer sur reinstaller ou redemarrer sur mosquitto sur la panneau de mqtt.

Bonjour,
Quand je clique sur (Re)Démarrer ou (Ré)Installer, j’ai le message « … réussi » qui apparait en bas mais rien ne change sur le statut du broker.

il faut sauvegarder apres ou avant je sais plus.

sinon donne nous la log de mosquitto.

Bonjour

Pourriez-vous donner la page de configuration de zigbeelinker avec le mode d’installation visible:

Explications sur les options d’installation

Plusieurs options sont possibles :

  • Solution complète locale : Tout pour démarrer sur votre Jeedom.
    L’adaptateur Zigbee est installé sur cette machine, et les équipements seront créés dans votre Jeedom.
  • Zigbee2mqtt + Client MQTT :
    Idem à la solution en dessus, mais le serveur MQTT sera géré par un autre plugin ou par vos soins.
  • Zigbee2mqtt + Serveur MQTT : Mode « Antenne »
    Permet de déporter l’adaptateur Zigbee (Ex : clé usb) sur une autre machine. Sur votre Jeedom principal, vous installez ce plugin avec l’option « Client MQTT » pour intégrer les équipements.
  • Client MQTT : Client seulement
    Zigbee2mqtt + MQTT sont sur une autre machine (pas d’installation sur cette machine). Ici vont remonter les équipements grâce au Client MQTT.
  • Zigbee2mqtt : Seulement Zigbee2mqtt
    Installer Zigbee2mqtt sur cette machine.
1 « J'aime »

Voici la page de configuration de zigbeelinker :

Y’a un souci ici, qui ne concerne pas le problème actuel, mais zigbeelinker affiche version max disponible, 2.1.2 alors que le l’on ai sur >2.7

Page santé jeedom ?

Voici :

Ce qui est surprenant c’est que j’ai rien touché aux configurations.
Tout fonctionnait parfaitement avant la coupure d’électricité…
J’ai tenté de mettre à jour Zigbee2MQTT en version 2.1.2 en relançant les dépendances.
La montée de version ne se fait pas.
Voici les logs :

zigbee2mqtt :



[2025-12-30 17:25:04] DEBUG  [Maison][Lixee Zlink] : Jeedom-->MQTT en erreur, impossible d'envoyer un ordre car le client MQTT n'est pas connecté. Client MQTT=[Aucun][Client MQTT Local]
[2025-12-30 17:26:04] DEBUG  [Maison][Lixee Zlink] : Ping de réveil de l'équipement
[2025-12-30 17:26:04] DEBUG  [Maison][Lixee Zlink] : Jeedom-->MQTT, topic=zigbee2mqtt/Lixee Zlink/get, json={"active_register_tier_delivered":"","current_tier1_summ_delivered":"","current_summ_delivered":"","current_tier2_summ_delivered":"","current_tier3_summ_delivered":"","start_notice_e_j_p":"","current_tier4_summ_delivered":"","current_tier5_summ_delivered":"","current_tier6_summ_delivered":"","meter_serial_number":"","available_power":"","apparent_power":"","current_tarif":"","MOTDETAT":"","schedule_h_p_h_c":"","tomorrow_color":"","rms_current":"","rms_current_max":"","warn_d_p_s":""}
[2025-12-30 17:26:26] DEBUG  [Maison][Lixee Zlink] : MQTT-->Jeedom, Topic=zigbee2mqtt/Lixee Zlink, Payload={"active_register_tier_delivered":"HP..","apparent_power":550,"available_power":45,"current_summ_delivered":0,"current_tarif":"HC..","current_tier1_summ_delivered":23516,"current_tier2_summ_delivered":2399,"current_tier3_summ_delivered":442,"current_tier4_summ_delivered":292,"current_tier5_summ_delivered":8,"current_tier6_summ_delivered":11,"device":{"applicationVersion":14,"dateCode":"20240422","friendlyName":"Lixee Zlink","hardwareVersion":1,"ieeeAddr":"0x00158d0006206b20","manufacturerID":4151,"manufacturerName":"LiXee","model":"ZLinky_TIC","networkAddress":3352,"powerSource":"Mains (single phase)","softwareBuildID":"4000-0014","stackVersion":2,"type":"Router","zclVersion":3},"linkquality":239,"meter_serial_number":"021861851517","mot_d_etat":"000000","rms_current":2,"rms_current_max":90,"schedule_h_p_h_c":0,"start_notice_e_j_p":0,"tomorrow_color":"----","update":{"installed_version":1,"latest_version":17,"state":"available"},"warn_d_p_s":0}
[2025-12-30 17:26:26] DEBUG      active_register_tier_delivered = HP..
[2025-12-30 17:26:26] DEBUG      current_tier1_summ_delivered = 23516
[2025-12-30 17:26:26] DEBUG      current_summ_delivered = 0
[2025-12-30 17:26:26] DEBUG      current_tier2_summ_delivered = 2399
[2025-12-30 17:26:26] DEBUG      current_tier3_summ_delivered = 442
[2025-12-30 17:26:26] DEBUG      start_notice_e_j_p = 0
[2025-12-30 17:26:26] DEBUG      current_tier4_summ_delivered = 292
[2025-12-30 17:26:26] DEBUG      current_tier5_summ_delivered = 8
[2025-12-30 17:26:26] DEBUG      current_tier6_summ_delivered = 11
[2025-12-30 17:26:26] DEBUG      meter_serial_number = 021861851517
[2025-12-30 17:26:26] DEBUG      available_power = 45
[2025-12-30 17:26:26] DEBUG      apparent_power = 550
[2025-12-30 17:26:26] DEBUG      current_tarif = HC..
[2025-12-30 17:26:26] DEBUG      schedule_h_p_h_c = 0
[2025-12-30 17:26:26] DEBUG      tomorrow_color = ----
[2025-12-30 17:26:26] DEBUG      rms_current = 2
[2025-12-30 17:26:26] DEBUG      rms_current_max = 90
[2025-12-30 17:26:26] DEBUG      warn_d_p_s = 0
[2025-12-30 17:26:26] DEBUG      linkquality = 239
[2025-12-30 17:26:41] DEBUG  [Maison][Lixee Zlink] : MQTT-->Jeedom, Topic=zigbee2mqtt/Lixee Zlink, Payload={"active_register_tier_delivered":"HP..","apparent_power":550,"available_power":45,"current_summ_delivered":0,"current_tarif":"HC..","current_tier1_summ_delivered":23516,"current_tier2_summ_delivered":2399,"current_tier3_summ_delivered":442,"current_tier4_summ_delivered":292,"current_tier5_summ_delivered":8,"current_tier6_summ_delivered":11,"device":{"applicationVersion":14,"dateCode":"20240422","friendlyName":"Lixee Zlink","hardwareVersion":1,"ieeeAddr":"0x00158d0006206b20","manufacturerID":4151,"manufacturerName":"LiXee","model":"ZLinky_TIC","networkAddress":3352,"powerSource":"Mains (single phase)","softwareBuildID":"4000-0014","stackVersion":2,"type":"Router","zclVersion":3},"linkquality":239,"meter_serial_number":"021861851517","mot_d_etat":"000000","rms_current":2,"rms_current_max":90,"schedule_h_p_h_c":0,"start_notice_e_j_p":0,"tomorrow_color":"----","update":{"installed_version":1,"latest_version":17,"state":"available"},"warn_d_p_s":0}
[2025-12-30 17:26:41] DEBUG      active_register_tier_delivered = HP..
[2025-12-30 17:26:41] DEBUG      current_tier1_summ_delivered = 23516
[2025-12-30 17:26:41] DEBUG      current_summ_delivered = 0
[2025-12-30 17:26:41] DEBUG      current_tier2_summ_delivered = 2399
[2025-12-30 17:26:41] DEBUG      current_tier3_summ_delivered = 442
[2025-12-30 17:26:41] DEBUG      start_notice_e_j_p = 0
[2025-12-30 17:26:41] DEBUG      current_tier4_summ_delivered = 292
[2025-12-30 17:26:41] DEBUG      current_tier5_summ_delivered = 8
[2025-12-30 17:26:41] DEBUG      current_tier6_summ_delivered = 11
[2025-12-30 17:26:41] DEBUG      meter_serial_number = 021861851517
[2025-12-30 17:26:41] DEBUG      available_power = 45
[2025-12-30 17:26:41] DEBUG      apparent_power = 550
[2025-12-30 17:26:41] DEBUG      current_tarif = HC..
[2025-12-30 17:26:41] DEBUG      schedule_h_p_h_c = 0
[2025-12-30 17:26:41] DEBUG      tomorrow_color = ----
[2025-12-30 17:26:41] DEBUG      rms_current = 2
[2025-12-30 17:26:41] DEBUG      rms_current_max = 90
[2025-12-30 17:26:41] DEBUG      warn_d_p_s = 0
[2025-12-30 17:26:41] DEBUG      linkquality = 239
[2025-12-30 17:27:00] DEBUG  [Maison][Lixee Zlink] : MQTT-->Jeedom, Topic=zigbee2mqtt/Lixee Zlink, Payload={"active_register_tier_delivered":"HP..","apparent_power":550,"available_power":45,"current_summ_delivered":0,"current_tarif":"HC..","current_tier1_summ_delivered":23516,"current_tier2_summ_delivered":2399,"current_tier3_summ_delivered":442,"current_tier4_summ_delivered":292,"current_tier5_summ_delivered":8,"current_tier6_summ_delivered":11,"device":{"applicationVersion":14,"dateCode":"20240422","friendlyName":"Lixee Zlink","hardwareVersion":1,"ieeeAddr":"0x00158d0006206b20","manufacturerID":4151,"manufacturerName":"LiXee","model":"ZLinky_TIC","networkAddress":3352,"powerSource":"Mains (single phase)","softwareBuildID":"4000-0014","stackVersion":2,"type":"Router","zclVersion":3},"linkquality":239,"meter_serial_number":"021861851517","mot_d_etat":"000000","rms_current":2,"rms_current_max":90,"schedule_h_p_h_c":0,"start_notice_e_j_p":0,"tomorrow_color":"----","update":{"installed_version":1,"latest_version":17,"state":"available"},"warn_d_p_s":0}
[2025-12-30 17:27:00] DEBUG      active_register_tier_delivered = HP..
[2025-12-30 17:27:00] DEBUG      current_tier1_summ_delivered = 23516
[2025-12-30 17:27:00] DEBUG      current_summ_delivered = 0
[2025-12-30 17:27:00] DEBUG      current_tier2_summ_delivered = 2399
[2025-12-30 17:27:00] DEBUG      current_tier3_summ_delivered = 442
[2025-12-30 17:27:00] DEBUG      start_notice_e_j_p = 0
[2025-12-30 17:27:00] DEBUG      current_tier4_summ_delivered = 292
[2025-12-30 17:27:00] DEBUG      current_tier5_summ_delivered = 8
[2025-12-30 17:27:00] DEBUG      current_tier6_summ_delivered = 11
[2025-12-30 17:27:00] DEBUG      meter_serial_number = 021861851517
[2025-12-30 17:27:00] DEBUG      available_power = 45
[2025-12-30 17:27:00] DEBUG      apparent_power = 550
[2025-12-30 17:27:00] DEBUG      current_tarif = HC..
[2025-12-30 17:27:00] DEBUG      schedule_h_p_h_c = 0
[2025-12-30 17:27:00] DEBUG      tomorrow_color = ----
[2025-12-30 17:27:00] DEBUG      rms_current = 2
[2025-12-30 17:27:00] DEBUG      rms_current_max = 90
[2025-12-30 17:27:00] DEBUG      warn_d_p_s = 0
[2025-12-30 17:27:00] DEBUG      linkquality = 239

zigbee2mqtt_demon :

[2025-12-30 17:18:20] INFO  ############ Arrêt des services ############
[2025-12-30 17:18:20] INFO  ##### Arrêt du service ZigbeeLinker #####
[2025-12-30 17:18:20] INFO  ##### Service ZigbeeLinker Arrêté #####
[2025-12-30 17:18:20] INFO  ##### Arrêt du service Client MQTT (Client MQTT Local)#####
[2025-12-30 17:18:20] INFO  ##### Le service Client MQTT ([Aucun][Client MQTT Local]) s'est déconnecté. #####
[2025-12-30 17:18:21] INFO  ##### Le service Client MQTT (Client MQTT Local) s'est arrêté correctement #####
[2025-12-30 17:18:21] INFO  ##### Arrêt du service Zigbee2MQTT #####
[2025-12-30 17:18:21] INFO  ##### Tentative d'arrêt du service Zigbee2MQTT (méthode 1)
[2025-12-30 17:18:23] INFO  #####  -->  Attend que le service s'arrête complètement depuis 1 seconde(s)
[2025-12-30 17:18:24] INFO  ##### Service Zigbee2MQTT arrêté.
[2025-12-30 17:18:24] INFO  ##### Le service Zigbee2MQTT s'est arrêté correctement. #####
[2025-12-30 17:25:42] INFO  ############ Démarrage des service ############
[2025-12-30 17:25:42] INFO  ##### Démarrage du service ZigbeeLinker #####
[2025-12-30 17:25:44] INFO  ##### Service ZigbeeLinker démarré #####
[2025-12-30 17:25:44] INFO  ##### Démarrage du service Zigbee2MQTT #####
[2025-12-30 17:25:45] INFO  ##### Le service Zigbee2MQTT démarre... #####
[2025-12-30 17:25:45] INFO  ##### Démarrage du service Client MQTT (Client MQTT Local) #####
[2025-12-30 17:25:46] INFO  #####  -->  Attend que le service Client MQTT (Client MQTT Local) démarre depuis 1 seconde(s)
[2025-12-30 17:25:46] INFO  ##### Connexion avec identification (Client MQTT Local) #####
[2025-12-30 17:25:46] INFO  ##### Le service Client MQTT a démarré (Client MQTT Local) #####
[2025-12-30 17:25:47] INFO  ##### Le service Client MQTT ([Aucun][Client MQTT Local]) s'est connecté. #####
[2025-12-30 17:25:47] INFO  [Aucun][Client MQTT Local] : Client MQTT subscribe : 1
[2025-12-30 17:25:47] INFO  ##### Le client MQTT Client MQTT Local a reçu un premier message de Zigbee2MQTT #####
[2025-12-30 17:25:47] INFO  ##### Démarrage du service Client MQTT (Client MQTT Local) terminé avec succès #####
[2025-12-30 17:25:47] INFO  ##### Le service zigbee2mqtt a démarré #####

zigbee2mqtt_dep :

-------------------- TRUNCATED LOG --------------------
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:5 https://deb.nodesource.com/node_22.x nodistro InRelease
Reading package lists...
#######################################################
##### Install Git
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:10.2.1-1).
gcc is already the newest version (4:10.2.1-1).
make is already the newest version (4.3-4.1).
git is already the newest version (1:2.30.2-1+deb11u5).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
#######################################################
##### Install libsystemd-dev
Reading package lists...
Building dependency tree...
Reading state information...
libsystemd-dev is already the newest version (247.3-7+deb11u7).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
#######################################################
##### Install Socat
Socat is already installed, nothing to do
#######################################################
##### Install yaml php and restart apache
Yaml is already installed, nothing to do
#######################################################
#####            Zigbee2MQTT 1/2                      #
#######################################################
##### Z2M VERSION to install : 2.1.1
##### Z2M INSTALL DIR : /opt/zigbee2mqtt
##### Z2M DATA DIR : /var/www/html/plugins/zigbee2mqtt/data/zigbee2mqtt
#######################################################
##### Remove Zigbee2mqtt service
##### Download Zigbee2MQTT from git
Cloning into '/opt/zigbee2mqtt'...
Note: switching to '1accb8b66b95b99658c50e4c0209edcb946a5fe2'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
#######################################################
##### Install or update NodeJs
NodeJs 22 already installed : Nothing to do !
####### Installation de pnpm@9.15.4
changed 1 package in 10s
1 package is looking for funding
run `npm fund` for details
#######################################################
#    INSTALLING : Mosquitto for Php                   #
#######################################################
Mosquitto for Php is already installed, checking version...
Detected version: 0.4.0
Mosquitto-PHP version 0.4.0 is outdated (< 0.5.0), forcing reinstall.
#######################################################
##### Install client dependency
Reading package lists...
Building dependency tree...
Reading state information...
php-pear is already the newest version (1:1.10.12+submodules+notgz+20210212-1).
libmosquitto-dev is already the newest version (2.0.11-1+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
php7.4-dev is already the newest version (7.4.33-1+deb11u9).
php7.4-xml is already the newest version (7.4.33-1+deb11u9).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
#######################################################
##### Try installing client : First method
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading Mosquitto-0.4.0.tgz ...
Starting to download Mosquitto-0.4.0.tgz (23,804 bytes)
........done: 23,804 bytes
5 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
Please provide the prefix of the libmosquitto installation [autodetect] : building in /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0
running: /tmp/pear/temp/Mosquitto/configure --with-php-config=/usr/bin/php-config --with-mosquitto
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20190902
checking for PHP installed headers prefix... /usr/include/php/20190902
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking for mosquitto support... yes, shared
checking for mosquitto files in default path... checking /usr... found in /usr
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/Mosquitto/mosquitto.c -o mosquitto.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/Mosquitto/mosquitto.c  -fPIC -DPIC -o .libs/mosquitto.o
/bin/bash /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/Mosquitto/mosquitto_message.c -o mosquitto_message.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/Mosquitto -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/Mosquitto/mosquitto_message.c  -fPIC -DPIC -o .libs/mosquitto_message.o
In file included from /usr/include/php/20190902/Zend/zend.h:355,
from /usr/include/php/20190902/main/php.h:34,
from /tmp/pear/temp/Mosquitto/mosquitto_message.c:5:
/tmp/pear/temp/Mosquitto/mosquitto_message.c: In function 'php_mosquitto_message_read_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/pear/temp/Mosquitto/mosquitto_message.c:292:36: note: in expansion of macro 'zend_get_std_object_handlers'
292 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/Mosquitto/mosquitto_message.c: In function 'php_mosquitto_message_write_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/pear/temp/Mosquitto/mosquitto_message.c:332:36: note: in expansion of macro 'zend_get_std_object_handlers'
332 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/Mosquitto/mosquitto_message.c: In function 'php_mosquitto_message_has_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/pear/temp/Mosquitto/mosquitto_message.c:392:36: note: in expansion of macro 'zend_get_std_object_handlers'
392 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/pear/temp/Mosquitto/mosquitto_message.c: In function 'zm_startup_mosquitto_message':
/tmp/pear/temp/Mosquitto/mosquitto_message.c:564:51: warning: assignment to 'zend_object_write_property_t' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types]
564 |  mosquitto_message_object_handlers.write_property = php_mosquitto_message_write_property;
|                                                   ^
/bin/bash /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/include -I/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/main -I/tmp/pear/temp/Mosquitto -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2    -o mosquitto.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/modules  mosquitto.lo mosquitto_message.lo -lmosquitto
libtool: link: cc -shared  -fPIC -DPIC  .libs/mosquitto.o .libs/mosquitto_message.o   -lmosquitto  -g -O2   -Wl,-soname -Wl,mosquitto.so -o .libs/mosquitto.so
libtool: link: ( cd ".libs" && rm -f "mosquitto.la" && ln -s "../mosquitto.la" "mosquitto.la" )
/bin/bash /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/libtool --mode=install cp ./mosquitto.la /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/modules
libtool: install: cp ./.libs/mosquitto.so /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/modules/mosquitto.so
libtool: install: cp ./.libs/mosquitto.lai /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/modules/mosquitto.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/modules
----------------------------------------------------------------------
Libraries have been installed in:
/tmp/pear/temp/pear-build-rootXVUrxU/Mosquitto-0.4.0/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
running: make INSTALL_ROOT="/tmp/pear/temp/pear-build-rootXVUrxU/install-Mosquitto-0.4.0" install
Installing shared extensions:     /tmp/pear/temp/pear-build-rootXVUrxU/install-Mosquitto-0.4.0/usr/lib/php/20190902/
running: find "/tmp/pear/temp/pear-build-rootXVUrxU/install-Mosquitto-0.4.0" | xargs ls -dils
263835   4 drwxr-xr-x 3 root root   4096 Dec 30 17:20 /tmp/pear/temp/pear-build-rootXVUrxU/install-Mosquitto-0.4.0
263859   4 drwxr-xr-x 3 root root   4096 Dec 30 17:20 /tmp/pear/temp/pear-build-rootXVUrxU/install-Mosquitto-0.4.0/usr
263860   4 drwxr-xr-x 3 root root   4096 Dec 30 17:20 /tmp/pear/temp/pear-build-rootXVUrxU/install-Mosquitto-0.4.0/usr/lib
263861   4 drwxr-xr-x 3 root root   4096 Dec 30 17:20 /tmp/pear/temp/pear-build-rootXVUrxU/install-Mosquitto-0.4.0/usr/lib/php
263862   4 drwxr-xr-x 2 root root   4096 Dec 30 17:20 /tmp/pear/temp/pear-build-rootXVUrxU/install-Mosquitto-0.4.0/usr/lib/php/20190902
263858 188 -rwxr-xr-x 1 root root 189872 Dec 30 17:20 /tmp/pear/temp/pear-build-rootXVUrxU/install-Mosquitto-0.4.0/usr/lib/php/20190902/mosquitto.so
Build process completed successfully
Installing '/usr/lib/php/20190902/mosquitto.so'
install ok: channel://pecl.php.net/Mosquitto-0.4.0
configuration option "php_ini" is not set to php.ini location
You should add "extension=mosquitto.so" to php.ini
./install_mqttcli.sh: line 101: 108571 Done                    sudo printf "\n"
108572 Segmentation fault      | pecl install Mosquitto-alpha
#######################################################
##### Try installing client : Second method (complile)
#######################################################
#### D?sinstallation de mosquitto PECL
Unable to remove "extension=mosquitto.so" from php.ini
uninstall ok: channel://pecl.php.net/Mosquitto-0.4.0
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version (12.9).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
### Clone https://github.com/mgdm/Mosquitto-PHP
Cloning into 'Mosquitto-PHP'...
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking target system type... aarch64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib
checking for PHP extension directory... /usr/lib/php/20190902
checking for PHP installed headers prefix... /usr/include/php/20190902
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... gawk
checking for mosquitto support... yes, shared
checking for mosquitto files in default path... checking /usr... found in /usr
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
config.status: executing libtool commands
/bin/bash /tmp/Mosquitto-PHP/libtool --mode=compile cc  -I. -I/tmp/Mosquitto-PHP -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Mosquitto-PHP/mosquitto.c -o mosquitto.lo
libtool: compile:  cc -I. -I/tmp/Mosquitto-PHP -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/Mosquitto-PHP/mosquitto.c  -fPIC -DPIC -o .libs/mosquitto.o
/bin/bash /tmp/Mosquitto-PHP/libtool --mode=compile cc  -I. -I/tmp/Mosquitto-PHP -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /tmp/Mosquitto-PHP/mosquitto_message.c -o mosquitto_message.lo
libtool: compile:  cc -I. -I/tmp/Mosquitto-PHP -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/Mosquitto-PHP/mosquitto_message.c  -fPIC -DPIC -o .libs/mosquitto_message.o
In file included from /usr/include/php/20190902/Zend/zend.h:355,
from /usr/include/php/20190902/main/php.h:34,
from /tmp/Mosquitto-PHP/mosquitto_message.c:5:
/tmp/Mosquitto-PHP/mosquitto_message.c: In function 'php_mosquitto_message_read_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/Mosquitto-PHP/mosquitto_message.c:292:36: note: in expansion of macro 'zend_get_std_object_handlers'
292 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/Mosquitto-PHP/mosquitto_message.c: In function 'php_mosquitto_message_write_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/Mosquitto-PHP/mosquitto_message.c:332:36: note: in expansion of macro 'zend_get_std_object_handlers'
332 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/Mosquitto-PHP/mosquitto_message.c: In function 'php_mosquitto_message_has_property':
/usr/include/php/20190902/Zend/zend_object_handlers.h:192:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
192 |  (&std_object_handlers)
|  ^
/tmp/Mosquitto-PHP/mosquitto_message.c:392:36: note: in expansion of macro 'zend_get_std_object_handlers'
392 |   zend_object_handlers * std_hnd = zend_get_std_object_handlers();
|                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/Mosquitto-PHP/mosquitto_message.c: In function 'zm_startup_mosquitto_message':
/tmp/Mosquitto-PHP/mosquitto_message.c:564:51: warning: assignment to 'zend_object_write_property_t' {aka 'struct _zval_struct * (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} from incompatible pointer type 'void (*)(zval *, zval *, zval *, void **)' {aka 'void (*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)'} [-Wincompatible-pointer-types]
564 |  mosquitto_message_object_handlers.write_property = php_mosquitto_message_write_property;
|                                                   ^
/bin/bash /tmp/Mosquitto-PHP/libtool --mode=link cc -DPHP_ATOM_INC -I/tmp/Mosquitto-PHP/include -I/tmp/Mosquitto-PHP/main -I/tmp/Mosquitto-PHP -I/usr/include/php/20190902 -I/usr/include/php/20190902/main -I/usr/include/php/20190902/TSRM -I/usr/include/php/20190902/Zend -I/usr/include/php/20190902/ext -I/usr/include/php/20190902/ext/date/lib  -DHAVE_CONFIG_H  -g -O2    -o mosquitto.la -export-dynamic -avoid-version -prefer-pic -module -rpath /tmp/Mosquitto-PHP/modules  mosquitto.lo mosquitto_message.lo -lmosquitto
libtool: link: cc -shared  -fPIC -DPIC  .libs/mosquitto.o .libs/mosquitto_message.o   -lmosquitto  -g -O2   -Wl,-soname -Wl,mosquitto.so -o .libs/mosquitto.so
libtool: link: ( cd ".libs" && rm -f "mosquitto.la" && ln -s "../mosquitto.la" "mosquitto.la" )
/bin/bash /tmp/Mosquitto-PHP/libtool --mode=install cp ./mosquitto.la /tmp/Mosquitto-PHP/modules
libtool: install: cp ./.libs/mosquitto.so /tmp/Mosquitto-PHP/modules/mosquitto.so
libtool: install: cp ./.libs/mosquitto.lai /tmp/Mosquitto-PHP/modules/mosquitto.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /tmp/Mosquitto-PHP/modules
----------------------------------------------------------------------
Libraries have been installed in:
/tmp/Mosquitto-PHP/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the 'LD_RUN_PATH' environment variable
during linking
- use the '-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to '/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing shared extensions:     /usr/lib/php/20190902/
#######################################################
##### Inject Mosquitto Client into PHP
#######################################################
##### Restarting Apache
#######################################################
##### Congrat ! Client MQTT now installed.
#######################################################
#####            Zigbee2MQTT 2/2                      #
#######################################################
##### Compile Zigbee2MQTT                             #
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +366
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 366, reused 0, downloaded 0, added 0
Progress: resolved 366, reused 89, downloaded 0, added 0
Progress: resolved 366, reused 227, downloaded 0, added 0
Progress: resolved 366, reused 366, downloaded 0, added 23
Progress: resolved 366, reused 366, downloaded 0, added 200
Progress: resolved 366, reused 366, downloaded 0, added 366, done
dependencies:
+ ajv 8.17.1
+ bind-decorator 1.0.11
+ debounce 2.2.0
+ express-static-gzip 2.2.0
+ fast-deep-equal 3.1.3
+ finalhandler 1.3.1
+ git-last-commit 1.0.1
+ humanize-duration 3.32.1
+ js-yaml 4.1.0
+ json-stable-stringify-without-jsonify 1.0.1
+ jszip 3.10.1
+ moment 2.30.1
+ mqtt 5.10.3
+ object-assign-deep 0.4.0
+ rimraf 6.0.1
+ semver 7.7.0
+ source-map-support 0.5.21
+ throttleit 2.1.0
+ winston 3.17.0
+ winston-syslog 2.7.1
+ winston-transport 4.9.0
+ ws 8.18.0
+ zigbee-herdsman 3.2.5
+ zigbee-herdsman-converters 21.31.0
+ zigbee2mqtt-frontend 0.9.4
optionalDependencies:
+ sd-notify 2.8.0
devDependencies:
+ @eslint/core 0.11.0
+ @eslint/js 9.19.0
+ @ianvs/prettier-plugin-sort-imports 4.4.1
+ @types/eslint__js 8.42.3
+ @types/finalhandler 1.2.3
+ @types/humanize-duration 3.27.4
+ @types/js-yaml 4.0.9
+ @types/node 22.13.0
+ @types/object-assign-deep 0.4.3
+ @types/readable-stream 4.0.18
+ @types/sd-notify 2.8.2
+ @types/serve-static 1.15.7
+ @types/ws 8.5.14
+ @vitest/coverage-v8 3.0.4
+ eslint 9.19.0
+ eslint-config-prettier 10.0.1
+ prettier 3.4.2
+ tmp 0.2.3
+ typescript 5.7.3
+ typescript-eslint 8.22.0
+ vitest 3.0.4
Done in 14.4s
> zigbee2mqtt@2.1.1 build /opt/zigbee2mqtt
> tsc && node index.js writehash
##### Configure Zigbee2MQTT
#######################################################
#                         END                         #
#######################################################

Tout mes équipements en zigbee fonctionne correctement.
Ce sont mes équipements en Zwave qui ne fonctionnement plus car le démon de MQTT MANAGER est NOK

En relisant les logs mqtt, je vois l’adresse et le port suivant :
[2025-12-30 17:05:15] DEBUG : HTTP listen on 127.0.0.1 port : 55035 started

je pense qu’il y a un soucis sur cette adresse et port

Normalement non. Pourquoi ce sentiment ?

Je viens de passer en mode « Broker distant » en y mettant l’ip et le port configuré sous zigbee2mqtt.
Ca refonctionne.
Mais je suis surpris, car il me semble pas que MQTT Manager était paramétré comme cela avnt la coupure d’électricité…

1 « J'aime »

Il faudrait donner la page de configuration entière de zigbeelinker. Le log d’installation des dépendances n’est pas très clair.



On voit au moins pourquoi il installe la 2.1.1

Antoine