Page 2 sur 2

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

Publié : 16 juin 2017, 00:25
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

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

Publié : 16 juin 2017, 23:32
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

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

Publié : 17 juin 2017, 09:07
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 ?

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

Publié : 17 juin 2017, 09:18
par patrice
Bonjour
un
sudo netstat -tlnp | grep 8080

te donnera tout ce qui ecoute le 8080

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

Publié : 21 juin 2017, 16:26
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

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

Publié : 23 juin 2017, 16:57
par Doume
motion peut être configuré pour utiliser d'autres ports, et Domoticz aussi, d'ailleurs !

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

Publié : 25 juin 2017, 10:30
par philmasse50
Merci pour ces aides, je vais installer motion et essayer de le configurer correctemet
MERCI ENCORE :D :D :D