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...
je fais alors :
# /etc/init.d/domoticz.sh start
et à nouveau une visu sur le navigateur... puis fais stop
puis :
# service domoticz.sh start
à nouveau une visu sur le navigateur...
ce qui fait au minimum, voui, je sais, j'suis tout nouveau en domotique... trois commandes pour un service...
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
