Domoticz innacessible

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.
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

J'ai exactement la meme chose.. sudo etant l'appropriation du droit root. Ca ne change rien de passer en root avec su a l'avance

Du coup je valide bien que mon domoticz est lancé. Mais je ne sais pas comment avoir plus de log... :'(
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

Code : Tout sélectionner

limabravo@domoticz:~ $ sudo su
root@domoticz:/home/limabravo# /etc/init.d/domoticz.sh start
[ ok ] Starting domoticz.sh (via systemctl): domoticz.service.

Code : Tout sélectionner

root@domoticz:/home/limabravo# /etc/init.d/domoticz.sh status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; generated; vendor preset: enabled)
   Active: active (exited) since Wed 2018-02-28 12:12:16 CET; 2min 19s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1856 ExecStop=/etc/init.d/domoticz.sh stop (code=exited, status=0/SUCCESS)
  Process: 2108 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

févr. 28 12:12:16 domoticz systemd[1]: Starting LSB: Home Automation System...
févr. 28 12:12:16 domoticz domoticz.sh[2108]: 2018-02-28 12:12:16.770  Domoticz V3.8153 (c)2012-2017 GizMoCuz
févr. 28 12:12:16 domoticz domoticz.sh[2108]: 2018-02-28 12:12:16.770  Build Hash: 494fff7, Date: 2017-07-30 12:19:41
févr. 28 12:12:16 domoticz domoticz.sh[2108]: 2018-02-28 12:12:16.771  Startup Path: /home/limabravo/domoticz/
févr. 28 12:12:16 domoticz domoticz.sh[2108]: domoticz: Domoticz is starting up....
févr. 28 12:12:16 domoticz domoticz[2115]: Domoticz running...
févr. 28 12:12:16 domoticz systemd[1]: Started LSB: Home Automation System.
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

Par contre sur le fofo us on ma demandé de faire ca:

Code : Tout sélectionner

sudo ./domoticz
Apparement interactive mode et j'ai ce retour:

Code : Tout sélectionner

limabravo@domoticz:~/domoticz $ sudo ./domoticz
2018-02-28 10:37:32.212  Domoticz V3.8153 (c)2012-2017 GizMoCuz
2018-02-28 10:37:32.212  Build Hash: 494fff7, Date: 2017-07-30 12:19:41
2018-02-28 10:37:32.213  Startup Path: /home/limabravo/domoticz/
2018-02-28 10:37:32.263  Sunrise: 07:43:00 SunSet:18:40:00
2018-02-28 10:37:32.263  EventSystem: reset all events...
*** stack smashing detected ***: ./domoticz terminated
Abandon
:| :|
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
foudepc83
Messages : 230
Inscription : 15 août 2016, 11:58

Re: Domoticz innacessible

Message par foudepc83 »

*** stack smashing detected ***: ./domoticz terminated

Alors la je n'ai aucun idée , attendons l'avis des autres
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

bordel de @#~é}( le problème vient de disparaître après un arrêt électrique.

Je suis degouté si jamais je ne sais pas d'ou vient le probleme je n'aurai jamai le moyen de le resoudre.
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
foudepc83
Messages : 230
Inscription : 15 août 2016, 11:58

Re: Domoticz innacessible

Message par foudepc83 »

Relou !

Bon espérons que cela ne recommencera plus
Doume
Messages : 550
Inscription : 28 déc. 2014, 10:27
Localisation : Nord (59)
Contact :

Re: Domoticz innacessible

Message par Doume »

l'erreur 'Stack smashing detected' indique un bug logiciel
Une fonction écrit en débordement dans une variable locale ( stockée dans la pile )
A mon avis, ça se reproduira ! (les mêmes causes produisant les mêmes effets)
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

Bah oui je me doute bien c'est ca mon problème. Je sais pas d'où ça vient :(
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
landaisbenj
Messages : 695
Inscription : 12 mars 2017, 19:24

Re: Domoticz innacessible

Message par landaisbenj »

Doume a écrit :Une fonction écrit en débordement dans une variable locale

Qu'est ce que tu entends parler par ca? Surtout par "en debordement"

Est ce que ca pourrai venir d'un de mes scripts domoticz ?
Rpbi3b: Domoticz + Homebridge + Monit + Freebox scripts + Shellinabox; Rpbi2: Jarvis
Domoticz: Derniere stable; RFLINK: Dernière stable; Xiaomi Gateway
Doume
Messages : 550
Inscription : 28 déc. 2014, 10:27
Localisation : Nord (59)
Contact :

Re: Domoticz innacessible

Message par Doume »

Normalement, un script ne devrait pas pouvoir crasher domoticz, même s'il est buggé
En effet, si un script essaie d'écrire hors de sa mémoire 'privée', le runtime devrait le virer, mais pas crasher lui-même.
Ceci dit, à ce stade, impossible de dire si il y a un de tes scripts qui est fautif (ex : il crée tableau de 10 variables, et il essaie d'écrire dans la 11è !) mais le runtime d'execution devrait être protégé : Donc il serait buggé aussi.
Répondre