Bonjour à tous,
Je viens de recevoir mon Raspberry Pi 3, et j'ai un souci après l'installation du trio knxd/linknx/knxweb.
Au départ, j'ai laissé le Rpi avec l'install d'usine (la version NOOBS). J'ai cru que c'était lié à ça, alors j'ai tout repris à partir de la Raspbian Lite up to date, mais finalement le problème se reproduit...
La ligne de commande pour lancer l'install :
sudo sh ./install-trio.sh --raspberry --with-mysql --login=knx --password=xxx--groups=adm --with-webmin --knxd-ipport=192.168.0.50 --knxweb-cvsversion --linknx-cvsversion --linknx_xml=/var/www/html/knxweb2
(je pense que l'argument --linknx_xml n'était pas nécessaire, mais comme j'avais un doute sur le chemin /var/www/knxweb2 ou /var/www/html/knxweb2, je me suis dit autant le spécifier).
Le résultat de l'install est disponible en pièce jointe...
Au final, je peux constater que knxd semble bien démarré (en tous cas c'est ce que me dit knxweb, mais impossible de démarrer linknx)
Lorsque je fais un sudo /etc/init.d/linknx start (ou restart), j'ai ceci :
[....] Restarting linknx (via systemctl): linknx.serviceJob for linknx.service failed. See 'systemctl status linknx.service' and 'journalctl -xn' for details.
Un sudo systemctl status linknx.service me dit :
● linknx.service - LSB: linknx initscript
Loaded: loaded (/etc/init.d/linknx)
Active: failed (Result: exit-code) since sam. 2016-11-26 16:31:16 CET; 3h 25min ago
Process: 1945 ExecStart=/etc/init.d/linknx start (code=exited, status=1/FAILURE)
nov. 26 16:31:16 domotik linknx[1945]: *** Starting service: linknx using /usr/local/bin/linknx and args : --c... root
nov. 26 16:31:16 domotik systemd[1]: linknx.service: control process exited, code=exited status=1
nov. 26 16:31:16 domotik systemd[1]: Failed to start LSB: linknx initscript.
nov. 26 16:31:16 domotik systemd[1]: Unit linknx.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Un sudo journalctl -xn me retourne :
-- Logs begin at sam. 2016-11-26 16:27:15 CET, end at sam. 2016-11-26 19:58:51 CET. --
nov. 26 19:58:48 domotik sudo[3845]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/etc/init.d/linknx restart
nov. 26 19:58:48 domotik sudo[3845]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
nov. 26 19:58:48 domotik systemd[1]: Starting LSB: linknx initscript...
-- Subject: L'unité (unit) linknx.service a commencé à démarrer
-- Defined-By: systemd
--
-- L'unité (unit) linknx.service a commencé à démarrer.
nov. 26 19:58:48 domotik linknx[3862]: *** Starting service: linknx using /usr/local/bin/linknx and args : --config=/v
nov. 26 19:58:48 domotik systemd[1]: linknx.service: control process exited, code=exited status=1
nov. 26 19:58:48 domotik systemd[1]: Failed to start LSB: linknx initscript.
-- Subject: L'unité (unit) linknx.service a échoué
-- Defined-By: systemd
--
-- L'unité (unit) linknx.service a échoué, avec le résultat failed.
nov. 26 19:58:48 domotik systemd[1]: Unit linknx.service entered failed state.
nov. 26 19:58:48 domotik sudo[3845]: pam_unix(sudo:session): session closed for user root
nov. 26 19:58:51 domotik sudo[3897]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/journalctl -xn
nov. 26 19:58:51 domotik sudo[3897]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Bref, je me sens coincé...
Any help ?
Merci !