N'arrive pas à démarrer le server Domoticz
N'arrive pas à démarrer le server Domoticz
Bonjour,
J'ai créé une VM avec Raspberry Pi Desktop et installé Domoticz dessus, quand j'essaie de démarrer le serveur Domoticz avec la commande "sudo /etc/init.d/domoticz.sh start" ça m'affiche : "[ ok ] Starting domoticz.sh (via systemctl): domoticz.service.", je pensais que c'était bon mais il ne se lance pas car déjà je n'arrive pas à me connecter à Domoticz sur le web et je le vois avec les commandes :
- "sudo /etc/init.d/domoticz.sh status" qui m'affiche :
"● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Sat 2022-04-02 20:57:59 CEST; 33min ago
Docs: man:systemd-sysv-generator(8)
Process: 686 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
avril 02 20:57:59 raspberry systemd[1]: Starting LSB: Home Automation System...
avril 02 20:57:59 raspberry domoticz.sh[686]: start-stop-daemon: unable to s…ry)
avril 02 20:57:59 raspberry systemd[1]: Started LSB: Home Automation System.
Hint: Some lines were ellipsized, use -l to show in full.",
- Et la commande : "ps -aef | grep domoticz" qui m'affiche " :
"pi 7795 1474 0 21:53 pts/0 00:00:00 grep --color=auto domoticz".
Et puis même quand je lance la commande : "sudo netstat -antp" je ne vois pas le port 8080 que j'ai mis par-défaut.
Merci d'avance de m'aider.
J'ai créé une VM avec Raspberry Pi Desktop et installé Domoticz dessus, quand j'essaie de démarrer le serveur Domoticz avec la commande "sudo /etc/init.d/domoticz.sh start" ça m'affiche : "[ ok ] Starting domoticz.sh (via systemctl): domoticz.service.", je pensais que c'était bon mais il ne se lance pas car déjà je n'arrive pas à me connecter à Domoticz sur le web et je le vois avec les commandes :
- "sudo /etc/init.d/domoticz.sh status" qui m'affiche :
"● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh; generated)
Active: active (exited) since Sat 2022-04-02 20:57:59 CEST; 33min ago
Docs: man:systemd-sysv-generator(8)
Process: 686 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
avril 02 20:57:59 raspberry systemd[1]: Starting LSB: Home Automation System...
avril 02 20:57:59 raspberry domoticz.sh[686]: start-stop-daemon: unable to s…ry)
avril 02 20:57:59 raspberry systemd[1]: Started LSB: Home Automation System.
Hint: Some lines were ellipsized, use -l to show in full.",
- Et la commande : "ps -aef | grep domoticz" qui m'affiche " :
"pi 7795 1474 0 21:53 pts/0 00:00:00 grep --color=auto domoticz".
Et puis même quand je lance la commande : "sudo netstat -antp" je ne vois pas le port 8080 que j'ai mis par-défaut.
Merci d'avance de m'aider.
Re: N'arrive pas à démarrer le server Domoticz
Bonjour Sutiper et bienvenu sur le forum
Je viens de déplacer ton sujet dans la section dédiée aux VM.
Tu essayes d'accéder à DomoticZ depuis ta VM où depuis ton PC ?
Je viens de déplacer ton sujet dans la section dédiée aux VM.
Tu essayes d'accéder à DomoticZ depuis ta VM où depuis ton PC ?
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Re: N'arrive pas à démarrer le server Domoticz
Bonjour Keros,
J'essaye d'accéder à Domoticz depuis mon PC, c'est-à-dire en dehors de ma VM.
J'essaye d'accéder à Domoticz depuis mon PC, c'est-à-dire en dehors de ma VM.
Re: N'arrive pas à démarrer le server Domoticz
Tu as essayé d'accéder à DomoticZ depuis ta VM avec l'adresse 127.0.0.1:8080 ?
Comment bien utiliser le forum : Poser une question, Mettre un script, un fichier, une image ou des logs
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Mes petits guides : Débuter en programmation, Le débogage, Le choix de matériel, Les sauvegardes
Ma présentation - Mes Tutos
Re: N'arrive pas à démarrer le server Domoticz
Bonjour,
Je n'avais pas essayé et je l'ai fait et ça ne marche pas, ça m'affiche l'erreur "xx.xx.xx.xx n'autorise pas la connexion."
Je n'avais pas essayé et je l'ai fait et ça ne marche pas, ça m'affiche l'erreur "xx.xx.xx.xx n'autorise pas la connexion."
-
Chrominator
- Messages : 1042
- Inscription : 19 déc. 2015, 07:29
- Localisation : France
Re: N'arrive pas à démarrer le server Domoticz
Ces deux traces concordent et indiquent que Domoticz ne tourne pas, donc la connexion échouera.Sutiper a écrit : 02 avr. 2022, 21:57 Active: active (exited) since Sat 2022-04-02 20:57:59 CEST; 33min ago
- Et la commande : "ps -aef | grep domoticz" qui m'affiche " :
"pi 7795 1474 0 21:53 pts/0 00:00:00 grep --color=auto domoticz".
Pour savoir ce qui coince, une solution est de le lancer manuellement depuis son répertoire.
Code : Tout sélectionner
cd domoticz
./domoticzUn bon frein vaut mieux que deux sparadraps.
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
Re: N'arrive pas à démarrer le server Domoticz
J'ai fait ce que vous m'avez dit et quand je lance la deuxième commande ça m'affiche : "./domoticz: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory".
-
Chrominator
- Messages : 1042
- Inscription : 19 déc. 2015, 07:29
- Localisation : France
Re: N'arrive pas à démarrer le server Domoticz
Essaye d'installer la bibliothèque manquante :
Et redémarre ton système.
Code : Tout sélectionner
sudo apt-get install libusb-0.1-4Un bon frein vaut mieux que deux sparadraps.
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
Re: N'arrive pas à démarrer le server Domoticz
La libraire est déjà installée, merci comme-même.
-
Chrominator
- Messages : 1042
- Inscription : 19 déc. 2015, 07:29
- Localisation : France
Re: N'arrive pas à démarrer le server Domoticz
Ce n'est pas le constat que fait Domoticz.
Pb de chemin d'accès (PATH) ?Sutiper a écrit : 03 avr. 2022, 21:18 ......: libusb-0.1.so.4: cannot open shared object file: No such file or directory".
Un bon frein vaut mieux que deux sparadraps.
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06