Page 5 sur 8

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 25 mars 2020, 22:14
par marcus_54
Voila je suis sous buster

Code : Tout sélectionner

cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
Et j'ai toujours le problème des librairies

Code : Tout sélectionner

pi@Domoticz:~/domoticz $ sudo ./domoticz
./domoticz: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by ./domoticz)
./domoticz: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by ./domoticz)
Une idée ?

Merci

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 25 mars 2020, 22:19
par vil1driver

Code : Tout sélectionner

sudo apt-get update 
sudo apt-get install libc6 libc6-dev

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 25 mars 2020, 22:57
par marcus_54
j'avais lancé avant un

Code : Tout sélectionner

sudo apt-get upgrate 
qui a duré 1h :cry:
C'est reparti ;)
il faut que je revoie les détails demain, mais l'essentiel est là

Merci

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 25 mars 2020, 23:32
par BernArd
Rassures Toi @natsamfa, nous sommes toujours débutant quelques parts...

je débute aussi sur la domotique, et de plus, je vais tenter le suivi sur une vieille tablette, au lieu de l'ordi fixe, qui lui est en Debian Buster !

Mais, chaque chose en son temps...
Là, ce pâté m'a appris, qu'il va falloir que je fasse des sauvegardes alternées... parce que j'ai une sauvegarde générale, mais une seule ! j'aurai donc une second script qui se fera sur un autre support...

et si j'avais compris le super pâté dans lequel je m'étais fourré, j'aurai évité de faire une sauvegarde, comme je le fais à chaque fois que je fais une manip ou un doc nouveau... et je l'ai faite après avoir constaté le plantage de domoticz... :shock:

Donc, à chaque chose, "malheur" est bon ;)

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 25 mars 2020, 23:56
par BernArd
en vous lisant, j'ai utilisé la console de commande, et j'ai fait :
root@debian-fixe:/home/bernard/domoticz# ./domoticz
2020-03-25 23:35:15.138 Status: Domoticz V2020.1 (c)2012-2020 GizMoCuz
...
puis Ctrl+c pour sortir...
et, plus de visu sur les navigateurs... :shock:

je fais alors :
# /etc/init.d/domoticz.sh start
et à nouveau une visu sur le navigateur... puis fais stop :shock:

puis :
# service domoticz.sh start
à nouveau une visu sur le navigateur... :shock:

ce qui fait au minimum, voui, je sais, j'suis tout nouveau en domotique... trois commandes pour un service... :shock:
laquelle, est en définitif, la commande principale ?
Pétard... serait-ce pas le meilleur moyen de se planter, avec toutes ces commandes... ?
Possible de les réunir afin d'en faire une seule, qui commande en Principal ?

Merci d'éclairer ma Lanterne ;)

Oups... avant d'envoyer ce commentaire, j'ai fais :
root@debian-fixe:/home/bernard/domoticz# ./domoticz
2020-03-25 23:52:38.389 Status: Domoticz V2020.1 (c)2012-2020 GizMoCuz
2020-03-25 23:52:38.389 Status: Build Hash: 77b93f111, Date: 2020-03-22 16:45:56
2020-03-25 23:52:38.408 Status: Startup Path: /home/bernard/domoticz/
2020-03-25 23:52:38.414 Sunrise: 06:47:00 SunSet: 19:13:00
2020-03-25 23:52:38.414 Day length: 12:26:00 Sun at south: 12:60:00
2020-03-25 23:52:38.414 Civil twilight start: 06:18:00 Civil twilight end: 19:42:00
2020-03-25 23:52:38.414 Nautical twilight start: 05:44:00 Nautical twilight end: 20:16:00
2020-03-25 23:52:38.414 Astronomical twilight start: 05:09:00 Astronomical twilight end: 20:51:00
2020-03-25 23:52:38.428 Status: PluginSystem: Started, Python version '3.7.3'.
2020-03-25 23:52:38.430 Active notification Subsystems: (0/13)
2020-03-25 23:52:38.430 Error: WebServer(HTTP) startup failed on address 0.0.0.0 with port: 8080: bind: Address already in use
2020-03-25 23:52:38.430 Error: WebServer(HTTP) check if no other application is using port: 8080
2020-03-25 23:52:38.432 Error: WebServer(SSL) startup failed on address 0.0.0.0 with port: 443: bind: Address already in use
2020-03-25 23:52:38.432 Error: WebServer(SSL) check privileges for opening ports below 1024
2020-03-25 23:52:38.432 Error: No servers are configured. Hence mydomoticz will not be started either (if configured)
terminate called without an active exception
2020-03-25 23:52:38.432 Error: Domoticz(pid:19627, tid:19627('domoticz')) received fatal signal 6 (Aborted)
2020-03-25 23:52:38.432 Error: siginfo address=0x4cab, address=0x7f82444d17bb
2020-03-25 23:52:38.435 Error: Failed to start gdb, will use backtrace() for printing stack frame

2020-03-25 23:52:38.435 Error: #0 ./domoticz : + 0x181646 [0x55e26cb92646]
2020-03-25 23:52:38.435 Error: #1 ./domoticz : + 0x1821ad [0x55e26cb931ad]
2020-03-25 23:52:38.435 Error: #2 /lib/x86_64-linux-gnu/libpthread.so.0 : + 0x12730 [0x7f824481b730]
2020-03-25 23:52:38.435 Error: #3 /lib/x86_64-linux-gnu/libc.so.6 : gsignal + 0x10b [0x7f82444d17bb]
2020-03-25 23:52:38.435 Error: #4 /lib/x86_64-linux-gnu/libc.so.6 : abort + 0x121 [0x7f82444bc535]
2020-03-25 23:52:38.435 Error: #5 ./domoticz : + 0x8eea45 [0x55e26d2ffa45]
2020-03-25 23:52:38.435 Error: #6 ./domoticz : + 0x855bf6 [0x55e26d266bf6]
2020-03-25 23:52:38.435 Error: #7 ./domoticz : + 0x855c41 [0x55e26d266c41]
2020-03-25 23:52:38.435 Error: #8 ./domoticz : + 0x7dce3 [0x55e26ca8ece3]
2020-03-25 23:52:38.435 Error: #9 /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main + 0xeb [0x7f82444be09b]
2020-03-25 23:52:38.435 Error: #10 ./domoticz : + 0xb813a [0x55e26cac913a]
Abandon
root@debian-fixe:/home/bernard/domoticz#
il devait être furieux, car la majorité est écrit en rouge !

j'ai fais cette commande pour stopper domoticz la nuit, l'ordi étant en veille...

compliqué domoticz...
mais, j'suis nouveau dans ce domaine ;)

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 26 mars 2020, 07:56
par natsamfa
Oui j'ai eu ça aussi, c'est le port 8080 qui est déjà utilisé, tape :

Code : Tout sélectionner

sudo fuser -k 8080/tcp
pour tuer ce qui utilise le port 8080
Après tu peux relancer Domoticz avec :

Code : Tout sélectionner

sudo ./domoticz
Si lors de l'install tu avais choisi un autre port que le 8080 standard, lance plutôt Domoticz en changeant 8181 par celui de l'install :

Code : Tout sélectionner

sudo ./domoticz -www 8181 -sslwww 0
Tu peux retourner sur l'interface web de Domoticz en lançant l'adresse web:le port que tu as choisi
Si tout est en ordre, fait un redémarrage via Domoticz et ça devrait rouler

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 26 mars 2020, 08:45
par marcus_54
Merci vil1driver pour ton aide.

Je pense que c'est OK,
Domoticz est fonctionnel, il a gardé mon port 8084.
Je croise les doigts pour que l'ensemble soit stable.
A+

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 26 mars 2020, 09:12
par natsamfa
C'est clair que wil1driver a été d'une grande aide.
Heureusement qu'il y a encore des personnes comme lui pour aider les débutants même si je comprends qu'à force de répéter souvent les mêmes choses, ça peux devenir lassant.

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 26 mars 2020, 09:26
par BernArd
;)
voici ce matin, la même commande, alors que les deux autres sont à stop :
j'espace les deux lignes concernées ;)
root@debian-fixe:/home/bernard/domoticz# ./domoticz
2020-03-26 09:18:40.933 Status: Domoticz V2020.1 (c)2012-2020 GizMoCuz
2020-03-26 09:18:40.933 Status: Build Hash: 77b93f111, Date: 2020-03-22 16:45:56
2020-03-26 09:18:40.953 Status: Startup Path: /home/bernard/domoticz/
2020-03-26 09:18:40.965 Sunrise: 06:45:00 SunSet: 19:14:00
2020-03-26 09:18:40.965 Day length: 12:29:00 Sun at south: 12:59:00
2020-03-26 09:18:40.965 Civil twilight start: 06:16:00 Civil twilight end: 19:43:00
2020-03-26 09:18:40.965 Nautical twilight start: 05:42:00 Nautical twilight end: 20:17:00
2020-03-26 09:18:40.965 Astronomical twilight start: 05:07:00 Astronomical twilight end: 20:52:00
2020-03-26 09:18:40.978 Status: PluginSystem: Started, Python version '3.7.3'.
2020-03-26 09:18:40.980 Active notification Subsystems: (0/13)

2020-03-26 09:18:40.986 Status: WebServer(HTTP) started on address: 0.0.0.0 with port 8080
2020-03-26 09:18:40.988 Status: WebServer(SSL) started on address: 0.0.0.0 with port 443

2020-03-26 09:18:40.989 Starting shared server on: 0.0.0.0:6144
2020-03-26 09:18:40.989 Status: TCPServer: shared server started...
2020-03-26 09:18:40.989 Status: RxQueue: queue worker started...
2020-03-26 09:18:42.990 Status: NotificationSystem: thread started...
2020-03-26 09:18:42.990 Status: EventSystem: reset all events...
2020-03-26 09:18:42.990 Status: EventSystem: reset all device statuses...
2020-03-26 09:18:43.003 Status: Python EventSystem: Initalizing event module.
2020-03-26 09:18:43.003 Status: EventSystem: Started
2020-03-26 09:18:43.003 Status: EventSystem: Queue thread started...
2020-03-26 09:18:43.192 Status: RFLink: Using serial port: /dev/ttyUSB0
2020-03-26 09:18:43.465 Status: PluginSystem: Entering work loop.
2020-03-26 09:18:53.547 (RFLink USB) Temp (Auriol-V2-Entrée)
2020-03-26 09:19:05.187 Status: Incoming connection from: 192.168.1.49
2020-03-26 09:19:07.661 (RFLink USB) Temp + Humidity (Ascot-Ch-GB-InoValley)
2020-03-26 09:19:42.273 (RFLink USB) Temp (Bresser-Nd-FineOffset)
2020-03-26 09:19:50.510 (RFLink USB) Temp (Auriol-V2-Entrée)
2020-03-26 09:19:57.665 (RFLink USB) Temp + Humidity (Ascot-Ch-GB-InoValley)
2020-03-26 09:20:30.026 (RFLink USB) Temp (Bresser-Nd-FineOffset)
2020-03-26 09:20:47.830 (RFLink USB) Temp (Auriol-V2-Entrée)
2020-03-26 09:21:18.027 (RFLink USB) Temp (Bresser-Nd-FineOffset)
2020-03-26 09:21:37.672 (RFLink USB) Temp + Humidity (Ascot-Ch-GB-InoValley)
2020-03-26 09:21:44.515 (RFLink USB) Temp (Auriol-V2-Entrée)
...
aucune indication anormale sur le port 8080... et 443... !
sans rien avoir "touché"...
là, je mesure que je méconnais totalement le fonctionnement de domoticz :?

Re: (RÉSOLU) Après mise à jour, toujours impossible de redémarrer Domoticz...

Publié : 26 mars 2020, 09:39
par natsamfa
Et ça refonctionne maintenant ?