11-08-2020, 02:42 PM
(11-08-2020, 02:33 PM)raoulh Wrote: [ -> ]Il faut regarder ce que dit le log de calaos-server....
root@intel-corei7-64:~# vi calaos-server.log
-- Logs begin at Sun 2020-11-08 12:30:11 UTC, end at Sun 2020-11-08 12:38:05 UTC. --
Nov 08 12:30:13 intel-corei7-64 systemd[1]: Starting Calaos home automation server service...
Nov 08 12:30:13 intel-corei7-64 systemd[1]: Started Calaos home automation server service.
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: ╔═══════════════════════════════════════════════╗
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: ║ ║
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: ║ Calaos Server Daemon - http://www.calaos.fr ║
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: ║ v3.0-rc1-93-g81b6f0e6 ║
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: ╚═══════════════════════════════════════════════╝
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: Using config path: /etc/calaos/
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: Using cache path: /home/root/.cache/calaos/
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: [INF] server (Prefix.cpp:26) Binaries directory is: /usr/bin
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: [INF] server (Prefix.cpp:27) Libraries directory is: /usr/lib
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: [INF] server (Prefix.cpp:28) Data directory is: /usr/share/calaos
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: [INF] history (HistLogger.cpp:189) History logger, setup database to /home/root/.cache/calaos/events.db
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: [INF] server (CalaosConfig.cpp:246) States cache read successfully.
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: [ERR] server (CalaosConfig.cpp:54) There was a parse error
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: [ERR] server (CalaosConfig.cpp:55) Error document empty.
Nov 08 12:30:13 intel-corei7-64 calaos_server[548]: [ERR] server (CalaosConfig.cpp:56) In file /etc/calaos/io.xml At line 0
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Main process exited, code=exited, status=255/EXCEPTION
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Failed with result 'exit-code'.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Service has no hold-off time (RestartSec=0), scheduling restart.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Scheduled restart job, restart counter is at 1.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: Stopped Calaos home automation server service.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: Starting Calaos home automation server service...
Nov 08 12:30:13 intel-corei7-64 systemd[1]: Started Calaos home automation server service.
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: ╔═══════════════════════════════════════════════╗
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: ║ ║
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: ║ Calaos Server Daemon - http://www.calaos.fr ║
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: ║ v3.0-rc1-93-g81b6f0e6 ║
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: ╚═══════════════════════════════════════════════╝
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: Using config path: /etc/calaos/
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: Using cache path: /home/root/.cache/calaos/
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: [INF] server (Prefix.cpp:26) Binaries directory is: /usr/bin
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: [INF] server (Prefix.cpp:27) Libraries directory is: /usr/lib
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: [INF] server (Prefix.cpp:28) Data directory is: /usr/share/calaos
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: [INF] server (CalaosConfig.cpp:246) States cache read successfully.
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: [ERR] server (CalaosConfig.cpp:54) There was a parse error
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: [ERR] server (CalaosConfig.cpp:55) Error document empty.
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: [ERR] server (CalaosConfig.cpp:56) In file /etc/calaos/io.xml At line 0
Nov 08 12:30:13 intel-corei7-64 calaos_server[631]: [INF] history (HistLogger.cpp:189) History logger, setup database to /home/root/.cache/calaos/events.db
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Main process exited, code=exited, status=255/EXCEPTION
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Failed with result 'exit-code'.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Service has no hold-off time (RestartSec=0), scheduling restart.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Scheduled restart job, restart counter is at 2.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: Stopped Calaos home automation server service.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: Starting Calaos home automation server service...
Nov 08 12:30:13 intel-corei7-64 systemd[1]: Started Calaos home automation server service.
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: ╔═══════════════════════════════════════════════╗
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: ║ ║
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: ║ Calaos Server Daemon - http://www.calaos.fr ║
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: ║ v3.0-rc1-93-g81b6f0e6 ║
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: ╚═══════════════════════════════════════════════╝
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: Using config path: /etc/calaos/
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: Using cache path: /home/root/.cache/calaos/
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: [INF] server (Prefix.cpp:26) Binaries directory is: /usr/bin
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: [INF] server (Prefix.cpp:27) Libraries directory is: /usr/lib
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: [INF] server (Prefix.cpp:28) Data directory is: /usr/share/calaos
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: [INF] server (CalaosConfig.cpp:246) States cache read successfully.
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: [ERR] server (CalaosConfig.cpp:54) There was a parse error
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: [ERR] server (CalaosConfig.cpp:55) Error document empty.
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: [ERR] server (CalaosConfig.cpp:56) In file /etc/calaos/io.xml At line 0
Nov 08 12:30:13 intel-corei7-64 calaos_server[634]: [INF] history (HistLogger.cpp:189) History logger, setup database to /home/root/.cache/calaos/events.db
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Main process exited, code=exited, status=255/EXCEPTION
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Failed with result 'exit-code'.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Service has no hold-off time (RestartSec=0), scheduling restart.
Nov 08 12:30:13 intel-corei7-64 systemd[1]: calaos-server.service: Scheduled restart job, restart counter is at 3.
- calaos-server.log 1/114 0%
Il me remonte une erreur avec le WAGO :
root@intel-corei7-64:~# systemctl status calaos-server
● calaos-server.service - Calaos home automation server service
Loaded: loaded (/lib/systemd/system/calaos-server.service; enabled; vendor p>
Active: active (running) since Sun 2020-11-08 12:50:09 UTC; 1min 2s ago
Process: 560 ExecStartPre=/bin/mkdir -p /home/root/.cache/calaos /etc/calaos >
Main PID: 562 (calaos_server)
Tasks: 3 (limit: 4915)
Memory: 11.2M
CGroup: /system.slice/calaos-server.service
├─562 /usr/bin/calaos_server --config /etc/calaos --cache /home/root>
└─633 /usr/bin/calaos_wago --socket /tmp/calaos_proc_cc04920b-9cd8-f>
Nov 08 12:51:01 intel-corei7-64 calaos_server[562]: [ERR] wago (WagoExternProc_>
Nov 08 12:51:01 intel-corei7-64 calaos_server[562]: [ERR] wago (WagoMap.cpp:140>
Nov 08 12:51:02 intel-corei7-64 calaos_server[562]: [INF] wago (WagoExternProc_>
Nov 08 12:51:04 intel-corei7-64 calaos_server[562]: [ERR] wago (WagoCtrl.cpp:67>
Nov 08 12:51:05 intel-corei7-64 calaos_server[562]: [INF] wago (WagoExternProc_>
Nov 08 12:51:07 intel-corei7-64 calaos_server[562]: [ERR] wago (WagoCtrl.cpp:67>
Nov 08 12:51:08 intel-corei7-64 calaos_server[562]: [INF] wago (WagoExternProc_>
Nov 08 12:51:09 intel-corei7-64 calaos_server[562]: [INF] server (CalaosConfig.>
Nov 08 12:51:10 intel-corei7-64 calaos_server[562]: [ERR] wago (WagoCtrl.cpp:67>
Nov 08 12:51:10 intel-corei7-64 calaos_server[562]: [WRN] wago (WagoExternProc_>