devicehive / IoT-framework

* DEPRECATED * DeviceHive GO Framework for IoT and M2M
http://devicehive.com
MIT License
40 stars 17 forks source link

AllJoyn bridge snap fails to install on Raspberry Pi2 #22

Closed demon-xxi closed 8 years ago

demon-xxi commented 8 years ago

System Info:

(RaspberryPi2)ubuntu@localhost:~$ uname -a
Linux localhost.localdomain 4.2.0-1014-raspi2 #21-Ubuntu SMP Mon Oct 26 17:36:49 UTC 2015 armv7l armv7l armv7l GNU/Linux
(RaspberryPi2)ubuntu@localhost:~$ snappy list 
Name        Date       Version Developer 
ubuntu-core 2015-11-13 3       ubuntu    
webdm       2015-11-13 0.9.4   canonical 
pi2         2015-11-13 0.16    canonical 

Syslog:

Dec  8 18:28:20 localhost snappy[1204]: verify.go:85: Signature check failed, but installing anyway as requested
Dec  8 18:29:19 localhost kernel: [ 1372.706244] audit: type=1400 audit(1449599359.789:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG" pid=1224 comm="apparmor_parser"
Dec  8 18:29:22 localhost kernel: [ 1375.134564] audit: type=1400 audit(1449599362.217:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG" pid=1227 comm="apparmor_parser"
Dec  8 18:29:24 localhost kernel: [ 1377.890591] audit: type=1400 audit(1449599364.973:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="devicehive-alljoyn_snappy-config_IHQCdaKgYbdG" pid=1230 comm="apparmor_parser"
Dec  8 18:29:29 localhost systemd[1]: Reloading.
Dec  8 18:29:29 localhost systemd[1]: Started AllJoyn Daemon.
Dec  8 18:29:29 localhost systemd[1]: Starting AllJoyn Daemon...
Dec  8 18:29:29 localhost ubuntu-core-launcher[1247]: execv failed: No such file or directory
Dec  8 18:29:29 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service: main process exited, code=exited, status=1/FAILURE
Dec  8 18:29:29 localhost systemd[1]: Unit devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:29 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service failed.
Dec  8 18:29:29 localhost dbus[795]: [system] Reloaded configuration
Dec  8 18:29:29 localhost systemd[1]: Reloading.
Dec  8 18:29:30 localhost systemd[1]: Starting DeviceHive AllJoyn Service...
Dec  8 18:29:30 localhost ubuntu-core-launcher[1264]: execv failed: No such file or directory
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service: main process exited, code=exited, status=1/FAILURE
Dec  8 18:29:30 localhost systemd[1]: Failed to start DeviceHive AllJoyn Service.
Dec  8 18:29:30 localhost systemd[1]: Unit devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service failed.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:30 localhost systemd[1]: Started AllJoyn Daemon.
Dec  8 18:29:30 localhost systemd[1]: Starting AllJoyn Daemon...
Dec  8 18:29:30 localhost ubuntu-core-launcher[1266]: execv failed: No such file or directory
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service: main process exited, code=exited, status=1/FAILURE
Dec  8 18:29:30 localhost systemd[1]: Unit devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service failed.
Dec  8 18:29:30 localhost snappy[1204]: main.go:57: DEBUG: [snappy install --allow-unauthenticated devicehive-alljoyn_1.0.2_multi.snap] failed: devicehive-alljoyn_1.0.2_multi.snap failed to install: [start devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service] failed with exit status 1: Job for devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service failed. See "systemctl status devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service" and "journalctl -xe" for details.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:30 localhost systemd[1]: Started AllJoyn Daemon.
Dec  8 18:29:30 localhost systemd[1]: Starting AllJoyn Daemon...
Dec  8 18:29:30 localhost systemd[1268]: Failed at step CHDIR spawning /usr/bin/ubuntu-core-launcher: No such file or directory
Dec  8 18:29:30 localhost systemd[1]: Starting DeviceHive AllJoyn Service...
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service: main process exited, code=exited, status=200/CHDIR
Dec  8 18:29:30 localhost systemd[1269]: Failed at step CHDIR spawning /usr/bin/ubuntu-core-launcher: No such file or directory
Dec  8 18:29:30 localhost systemd[1]: Unit devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service failed.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service: main process exited, code=exited, status=200/CHDIR
Dec  8 18:29:30 localhost systemd[1]: Failed to start DeviceHive AllJoyn Service.
Dec  8 18:29:30 localhost systemd[1]: Unit devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service failed.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:30 localhost systemd[1]: Starting DeviceHive AllJoyn Service...
Dec  8 18:29:30 localhost systemd[1273]: Failed at step CHDIR spawning /usr/bin/ubuntu-core-launcher: No such file or directory
Dec  8 18:29:30 localhost systemd[1]: Started AllJoyn Daemon.
Dec  8 18:29:30 localhost systemd[1]: Starting AllJoyn Daemon...
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service: main process exited, code=exited, status=200/CHDIR
Dec  8 18:29:30 localhost systemd[1274]: Failed at step CHDIR spawning /usr/bin/ubuntu-core-launcher: No such file or directory
Dec  8 18:29:30 localhost systemd[1]: Failed to start DeviceHive AllJoyn Service.
Dec  8 18:29:30 localhost systemd[1]: Unit devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service failed.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service: main process exited, code=exited, status=200/CHDIR
Dec  8 18:29:30 localhost systemd[1]: Unit devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:30 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service failed.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:31 localhost systemd[1]: Starting DeviceHive AllJoyn Service...
Dec  8 18:29:31 localhost systemd[1278]: Failed at step CHDIR spawning /usr/bin/ubuntu-core-launcher: No such file or directory
Dec  8 18:29:31 localhost systemd[1]: Started AllJoyn Daemon.
Dec  8 18:29:31 localhost systemd[1]: Starting AllJoyn Daemon...
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service: main process exited, code=exited, status=200/CHDIR
Dec  8 18:29:31 localhost systemd[1279]: Failed at step CHDIR spawning /usr/bin/ubuntu-core-launcher: No such file or directory
Dec  8 18:29:31 localhost systemd[1]: Failed to start DeviceHive AllJoyn Service.
Dec  8 18:29:31 localhost systemd[1]: Unit devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service failed.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service: main process exited, code=exited, status=200/CHDIR
Dec  8 18:29:31 localhost systemd[1]: Unit devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service failed.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:31 localhost systemd[1]: Started AllJoyn Daemon.
Dec  8 18:29:31 localhost systemd[1]: Starting AllJoyn Daemon...
Dec  8 18:29:31 localhost systemd[1282]: Failed at step CHDIR spawning /usr/bin/ubuntu-core-launcher: No such file or directory
Dec  8 18:29:31 localhost systemd[1]: Starting DeviceHive AllJoyn Service...
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service: main process exited, code=exited, status=200/CHDIR
Dec  8 18:29:31 localhost systemd[1283]: Failed at step CHDIR spawning /usr/bin/ubuntu-core-launcher: No such file or directory
Dec  8 18:29:31 localhost systemd[1]: Unit devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service failed.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service: main process exited, code=exited, status=200/CHDIR
Dec  8 18:29:31 localhost systemd[1]: Failed to start DeviceHive AllJoyn Service.
Dec  8 18:29:31 localhost systemd[1]: Unit devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service failed.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service holdoff time over, scheduling restart.
Dec  8 18:29:31 localhost systemd[1]: start request repeated too quickly for devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service
Dec  8 18:29:31 localhost systemd[1]: Failed to start AllJoyn Daemon.
Dec  8 18:29:31 localhost systemd[1]: Unit devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_alljoyn-daemon_IHQCdaKgYbdG.service failed.
Dec  8 18:29:31 localhost systemd[1]: start request repeated too quickly for devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service
Dec  8 18:29:31 localhost systemd[1]: Failed to start DeviceHive AllJoyn Service.
Dec  8 18:29:31 localhost systemd[1]: Unit devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service entered failed state.
Dec  8 18:29:31 localhost systemd[1]: devicehive-alljoyn_devicehive-alljoyn_IHQCdaKgYbdG.service failed.
Pilatuz commented 8 years ago

service launch script location was wrong