Alors je reboot et je fait une serie de commande
Code : Tout sélectionner
login as: pi
pi@192.168.1.14's password:
Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Sep 21 11:06:23 2017
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
pi@raspberrypi:~ $ pm2 list
┌────────────┬────┬──────┬──────┬────────┬─────────┬────────┬─────┬───────────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
├────────────┼────┼──────┼──────┼────────┼─────────┼────────┼─────┼───────────┼──────┼──────────┤
│ homebridge │ 0 │ fork │ 1426 │ online │ 36 │ 0s │ 66% │ 20.4 MB │ pi │ disabled │
└────────────┴────┴──────┴──────┴────────┴─────────┴────────┴─────┴───────────┴──────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
pi@raspberrypi:~ $ pm2 list
┌────────────┬────┬──────┬──────┬────────┬─────────┬────────┬─────┬───────────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
├────────────┼────┼──────┼──────┼────────┼─────────┼────────┼─────┼───────────┼──────┼──────────┤
│ homebridge │ 0 │ fork │ 1532 │ online │ 46 │ 0s │ 99% │ 19.7 MB │ pi │ disabled │
└────────────┴────┴──────┴──────┴────────┴─────────┴────────┴─────┴───────────┴──────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
pi@raspberrypi:~ $ pm2 list
┌────────────┬────┬──────┬──────┬────────┬─────────┬────────┬─────┬────────────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
├────────────┼────┼──────┼──────┼────────┼─────────┼────────┼─────┼────────────┼──────┼──────────┤
│ homebridge │ 0 │ fork │ 1667 │ online │ 57 │ 0s │ 0% │ 956.0 KB │ pi │ disabled │
└────────────┴────┴──────┴──────┴────────┴─────────┴────────┴─────┴────────────┴──────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
pi@raspberrypi:~ $ sudo systemctl status homebridge
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2017-09-21 11:07:27 CEST; 131ms ago
Main PID: 1745 (node)
CGroup: /system.slice/homebridge.service
└─1745 node /usr/lib/node_modules/homebridge/bin/homebridge -U /var/homebridge
sept. 21 11:07:27 raspberrypi systemd[1]: Started Node.js HomeKit Server.
pi@raspberrypi:~ $ sudo systemctl status homebridge
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2017-09-21 11:07:31 CEST; 1s ago
Process: 1745 ExecStart=/usr/lib/node_modules/homebridge/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)
Main PID: 1745 (code=exited, status=1/FAILURE)
sept. 21 11:07:31 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
pi@raspberrypi:~ $ sudo systemctl status homebridge
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2017-09-21 11:07:31 CEST; 7s ago
Process: 1745 ExecStart=/usr/lib/node_modules/homebridge/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)
Main PID: 1745 (code=exited, status=1/FAILURE)
sept. 21 11:07:31 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
pi@raspberrypi:~ $ sudo systemctl status homebridge
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2017-09-21 11:07:45 CEST; 1s ago
Process: 1973 ExecStart=/usr/lib/node_modules/homebridge/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)
Main PID: 1973 (code=exited, status=1/FAILURE)
sept. 21 11:07:45 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
sept. 21 11:07:45 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
pi@raspberrypi:~ $ sudo systemctl status homebridge
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2017-09-21 11:07:45 CEST; 8s ago
Process: 1973 ExecStart=/usr/lib/node_modules/homebridge/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)
Main PID: 1973 (code=exited, status=1/FAILURE)
sept. 21 11:07:45 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
sept. 21 11:07:45 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
pi@raspberrypi:~ $ sudo systemctl status homebridge
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2017-09-21 11:07:59 CEST; 439ms ago
Process: 2180 ExecStart=/usr/lib/node_modules/homebridge/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)
Main PID: 2180 (code=exited, status=1/FAILURE)
sept. 21 11:07:59 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
sept. 21 11:07:59 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
pi@raspberrypi:~ $ pm2 list
┌────────────┬────┬──────┬──────┬────────┬─────────┬────────┬──────┬───────────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
├────────────┼────┼──────┼──────┼────────┼─────────┼────────┼──────┼───────────┼──────┼──────────┤
│ homebridge │ 0 │ fork │ 2308 │ online │ 107 │ 0s │ 200% │ 22.8 MB │ pi │ disabled │
└────────────┴────┴──────┴──────┴────────┴─────────┴────────┴──────┴───────────┴──────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
pi@raspberrypi:~ $ pm2 list
┌────────────┬────┬──────┬──────┬────────┬─────────┬────────┬──────┬───────────┬──────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ user │ watching │
├────────────┼────┼──────┼──────┼────────┼─────────┼────────┼──────┼───────────┼──────┼──────────┤
│ homebridge │ 0 │ fork │ 2441 │ online │ 118 │ 0s │ 149% │ 22.1 MB │ pi │ disabled │
└────────────┴────┴──────┴──────┴────────┴─────────┴────────┴──────┴───────────┴──────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
pi@raspberrypi:~ $ sudo systemctl status homebridge
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2017-09-21 11:08:23 CEST; 2s ago
Main PID: 2591 (homebridge)
CGroup: /system.slice/homebridge.service
├─2591 homebridge
├─2607 /bin/sh -c /bin/echo -n "$(npm -g prefix)/lib/node_modules"
└─2608 npm
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** Please fix your application to use the native API of Avahi!
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** Please fix your application to use the native API of Avahi!
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially)
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in t
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** Please fix your application to use the native API of Avahi!
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** Please fix your application to use the native API of Avahi!
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
...skipping...
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2017-09-21 11:08:23 CEST; 2s ago
Main PID: 2591 (homebridge)
CGroup: /system.slice/homebridge.service
├─2591 homebridge
├─2607 /bin/sh -c /bin/echo -n "$(npm -g prefix)/lib/node_modules"
└─2608 npm
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** Please fix your application to use the native API of Avahi!
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** Please fix your application to use the native API of Avahi!
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs>
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially)
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** The program 'nodejs' called 'DNSServiceRegister()' which is not supported (or only supported partially) in t
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** Please fix your application to use the native API of Avahi!
sept. 21 11:08:24 raspberrypi homebridge[2591]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** Please fix your application to use the native API of Avahi!
sept. 21 11:08:24 raspberrypi nodejs[2591]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=nodejs&f=DNSServiceRegister>
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
pi@raspberrypi:~ $ sudo systemctl status homebridge
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2017-09-21 11:08:27 CEST; 7s ago
Process: 2591 ExecStart=/usr/lib/node_modules/homebridge/bin/homebridge $HOMEBRIDGE_OPTS (code=exited, status=1/FAILURE)
Main PID: 2591 (code=exited, status=1/FAILURE)
sept. 21 11:08:27 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
sept. 21 11:08:27 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
pi@raspberrypi:~ $
Je suis pas expert (vraiment pas) mais j'ai l'impression en fait quil redemarre en boucle ou je me trompe? le process fait que changer le nombre de restart fait peur et uptime est toujour a 0 ...normal ? je pense pas!