Domoticz ne démarre plus après un redémarrage

Posez ici vos questions d'utilisation, de configuration de DomoticZ, de bugs, de conseils sur le logiciel lui même dans son utilisation et son paramétrage.
Des forums spécifiques sont ouverts ci-dessous pour regrouper les différents sujets.
philmasse50
Messages : 15
Inscription : 29 mai 2017, 01:05
Localisation : Manche FRANCE

Re: Domoticz ne démarre plus après un redémarrage

Message par philmasse50 »

Bonsoir:
Désolé de ma réponse approximative, voici le résultat


pi@raspberrypi:~ $ sudo lsof -i | grep 8080
pi@raspberrypi:~ $ sudo service domoticz.sh restart
pi@raspberrypi:~ $ sudo service domoticz.sh status
● domoticz.service - LSB: Home Automation System
Loaded: loaded (/etc/init.d/domoticz.sh)
Active: active (running) since ven. 2017-06-16 00:23:07 CEST; 3s ago
Process: 2052 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
Process: 2061 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/domoticz.service
└─2067 /home/domoticz/domoticz/domoticz -daemon -www 8080 -sslwww 443

juin 16 00:23:07 raspberrypi domoticz.sh[2061]: 2017-06-16 00:23:07.032 Domoticz V3.5877 (c)2012...Cuz
juin 16 00:23:07 raspberrypi domoticz.sh[2061]: 2017-06-16 00:23:07.033 Build Hash: 15b013c, Dat...:33
juin 16 00:23:07 raspberrypi domoticz[2066]: Domoticz is starting up....
juin 16 00:23:07 raspberrypi domoticz[2067]: Domoticz running...
juin 16 00:23:07 raspberrypi domoticz.sh[2061]: 2017-06-16 00:23:07.033 Startup Path: /home/domo...cz/
juin 16 00:23:07 raspberrypi domoticz.sh[2061]: domoticz: Domoticz is starting up....
juin 16 00:23:07 raspberrypi systemd[1]: Started LSB: Home Automation System.
Hint: Some lines were ellipsized, use -l to show in full.
pi@raspberrypi:~ $

Merci de vos réponses
Philippe
philmasse50
Messages : 15
Inscription : 29 mai 2017, 01:05
Localisation : Manche FRANCE

Re: Domoticz ne démarre plus après un redémarrage

Message par philmasse50 »

Bonsoir :
Toujours domoticz off, voici ce que je trouve

pi@raspberrypi:/home/domoticz/domoticz $ sudo ./domoticz -l
2017-06-16 23:28:50.301 Domoticz V3.5877 (c)2012-2016 GizMoCuz
2017-06-16 23:28:50.302 Build Hash: 15b013c, Date: 2016-11-10 16:44:33
2017-06-16 23:28:50.302 Startup Path: /home/domoticz/domoticz/
2017-06-16 23:28:50.348 Sunrise: 06:00:00 SunSet:22:10:00
2017-06-16 23:28:50.348 EventSystem: reset all events...
2017-06-16 23:28:50.365 Active notification subsystems: email (1/12)
2017-06-16 23:28:50.368 Error: WebServer(HTTP) startup failed on address 0.0.0.0 with port: 8080: bind: Address already in use
2017-06-16 23:28:50.368 Error: WebServer(HTTP) check if no other application is using port: 8080
2017-06-16 23:28:50.384 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Address already in use
2017-06-16 23:28:50.384 Error: WebServer(SSL) check privileges for opening ports below 1024
2017-06-16 23:28:50.385 Proxymanager started.
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
pure virtual method called
terminate called recursively
pi@raspberrypi:/home/domoticz/domoticz $


quelqu'un pourrait il m'aider.
Merci
Doume
Messages : 550
Inscription : 28 déc. 2014, 10:27
Localisation : Nord (59)
Contact :

Re: Domoticz ne démarre plus après un redémarrage

Message par Doume »

Tu as plusieurs serveurs qui se disputent les ports 8080 et 443
Peut-être Domoticz lancé 2 fois ?
Ou un serveur Apache ou Lynx tournant en // de Domoticz ?
patrice
Messages : 1720
Inscription : 22 sept. 2014, 21:51

Re: Domoticz ne démarre plus après un redémarrage

Message par patrice »

Bonjour
un
sudo netstat -tlnp | grep 8080

te donnera tout ce qui ecoute le 8080
Raspberry pi 3, Dongle RfxCom et Zigate +, plugin de pipiche, Volets Roulants profalux, contrôle d'éclairage, détecteurs de présence, alarme incendie, pilotage livebox ...
Objectif : WAF > 1
philmasse50
Messages : 15
Inscription : 29 mai 2017, 01:05
Localisation : Manche FRANCE

Re: Domoticz ne démarre plus après un redémarrage

Message par philmasse50 »

Merci pour vos réponses, en effet le problème venait de"motion", je l'ai désinstallé et tout est rentré dans l'ordre.

Merci encore
Doume
Messages : 550
Inscription : 28 déc. 2014, 10:27
Localisation : Nord (59)
Contact :

Re: Domoticz ne démarre plus après un redémarrage

Message par Doume »

motion peut être configuré pour utiliser d'autres ports, et Domoticz aussi, d'ailleurs !
philmasse50
Messages : 15
Inscription : 29 mai 2017, 01:05
Localisation : Manche FRANCE

Re: Domoticz ne démarre plus après un redémarrage

Message par philmasse50 »

Merci pour ces aides, je vais installer motion et essayer de le configurer correctemet
MERCI ENCORE :D :D :D
Répondre