"Instlegato" not working

Hi guys… i have build the legato as per instruction given in “readme” file…
i m using wp7-104 module and 14.04 Ubuntu…when i trying to execute “instlegato” command, i m getting this eroor:

user@user-OptiPlex-9020:~/legato-af$ bin/legs
Using legato framework found under '/home/user/legato-af'
user@user-OptiPlex-9020:~/legato-af$ export PATH=/home/user/legato-af/bin:/home/user/legato-af/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/bin:/home/user/legato-af/bin:/home/user/legato-af/bin:/home/user/legato-af/bin:/home/user/legato-af/bin/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/bin:/home/user/Sierra/LegatoYocto1501/poky/scripts:/home/user/Sierra/LegatoYocto1501/poky/bitbake/bin:/usr/local/bin:/bin:/usr/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/build/localhost/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/build/localhost/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/build/localhost/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/build/localhost/bin:/home/user/legato-af/bin/build/localhost/bin:/home/user/legato-af/build/localhost/bin:/home/user/legato-af/build/localhost/bin:/home/user/legato-af/build/localhost/bin:/home/user/Sierra/LegatoYocto1501/build_bin/tmp/work/x86_64-linux/legato-tools/git-r0/git/build/localhost/bin:/home/user/legato-af/build/localhost/bin:/home/user/legato-af/build/localhost/bin
user@user-OptiPlex-9020:~/legato-af$ source /home/user/legato-af/framework/tools/scripts/configToolchainDirEnvVars
user@user-OptiPlex-9020:~/legato-af$ exec <> /dev/tty
user@user-OptiPlex-9020:~/legato-af$ instlegato build/wp7 10.20.34.140
Installing Legato framework from: build/wp7
root@10.20.34.140's password: 
root@10.20.34.140's password: 
Legato wasn't running.
DONE.
Cleaning...
Checking target environment...
Unpacking...
Updating dynamic linker configuration...
/usr/local/lib:
	libComponent_audioPlaybackRecExe.so -> libComponent_audioPlaybackRecExe.so
	libIF_testCellNetService.cellNetService.le_cellnet.so -> libIF_testCellNetService.cellNetService.le_cellnet.so
	libIF_cm.cm.le_mdc.so -> libIF_cm.cm.le_mdc.so
	libIF_configDelete.configDelete.le_cfg.so -> libIF_configDelete.configDelete.le_cfg.so
	libIF_cm.cm.le_sim.so -> libIF_cm.cm.le_sim.so
	lible_data_client.so -> lible_data_client.so
	libIF_configTree.configTree.le_cfgAdmin.so -> libIF_configTree.configTree.le_cfgAdmin.so
	libIF_supervisor.supervisor.le_sup_state.so -> libIF_supervisor.supervisor.le_sup_state.so
	libIF_appCfgRemove.appConfig.le_cfg.so -> libIF_appCfgRemove.appConfig.le_cfg.so
	libIF_le_info_client.so -> libIF_le_info_client.so
	libIF_execInApp.execInApp.le_sup_state.so -> libIF_execInApp.execInApp.le_sup_state.so
	libComponent_logDaemon.so -> libComponent_logDaemon.so
	libIF_testAudioMccExe.audioMccExe.le_mcc_call.so -> libIF_testAudioMccExe.audioMccExe.le_mcc_call.so
	libIF_watchdog.watchdog.le_sup_wdog.so -> libIF_watchdog.watchdog.le_sup_wdog.so
	libIF_testPosDaemon.posDaemonTest.le_posCtrl.so -> libIF_testPosDaemon.posDaemonTest.le_posCtrl.so
	libComponent_cdmaPduTest.so -> libComponent_cdmaPduTest.so
	libIF_execInApp.security.le_cfg.so -> libIF_execInApp.security.le_cfg.so
	libIF_cm.cm.le_mrc.so -> libIF_cm.cm.le_mrc.so
	libIF_appSetFilePermissions.security.le_cfg.so -> libIF_appSetFilePermissions.security.le_cfg.so
	libIF_testAudioDtmf.dtmfTest.le_audio.so -> libIF_testAudioDtmf.dtmfTest.le_audio.so
	libComponent_posCtrlTest.so -> libComponent_posCtrlTest.so
	libComponent_appConfig.so -> libComponent_appConfig.so
	libIF_configDelete.configDelete.le_cfgAdmin.so -> libIF_configDelete.configDelete.le_cfgAdmin.so
	libIF_testPosDaemon.posDaemon.le_pos.so -> libIF_testPosDaemon.posDaemon.le_pos.so
	libIF_configDropWriteExe.configDropWrite.le_cfg.so -> libIF_configDropWriteExe.configDropWrite.le_cfg.so
	libComponent_cm.so -> libComponent_cm.so
	libIF_fwupdate.fwupdate.le_info.so -> libIF_fwupdate.fwupdate.le_info.so
	libIF_supervisor.supervisor.le_sup_wdog.so -> libIF_supervisor.supervisor.le_sup_wdog.so
	libComponent_supervisor.so -> libComponent_supervisor.so
	libComponent_gdbCfg.so -> libComponent_gdbCfg.so
	libComponent_filePermissions.so -> libComponent_filePermissions.so
	libIF_cm.cm.le_sms.so -> libIF_cm.cm.le_sms.so
	libIF_appSetFilePermissions.filePermissions.le_cfg.so -> libIF_appSetFilePermissions.filePermissions.le_cfg.so
	libIF_testModemSmsDeletion.smsDeletion.le_cfg.so -> libIF_testModemSmsDeletion.smsDeletion.le_cfg.so
	libIF_appCfgInstall.appConfig.le_cfg.so -> libIF_appCfgInstall.appConfig.le_cfg.so
	liblegato.so -> liblegato.so
	libIF_testAudioDtmf.dtmfTest.le_mcc_call.so -> libIF_testAudioDtmf.dtmfTest.le_mcc_call.so
	libIF_appCtrl.appCtrl.le_cfg.so -> libIF_appCtrl.appCtrl.le_cfg.so
	libIF_testAudioPlaybackRecExe.audioPlaybackRecExe.le_mcc_call.so -> libIF_testAudioPlaybackRecExe.audioPlaybackRecExe.le_mcc_call.so
	libIF_supervisor.security.le_cfg.so -> libIF_supervisor.security.le_cfg.so
	libIF_le_mrc_client.so -> libIF_le_mrc_client.so
	libIF_testAudioMccExe.audioMccExe.le_audio.so -> libIF_testAudioMccExe.audioMccExe.le_audio.so
	libIF_testAudioDtmf.dtmfTest.le_cfg.so -> libIF_testAudioDtmf.dtmfTest.le_cfg.so
	libIF_cm.cm.le_info.so -> libIF_cm.cm.le_info.so
	libIF_smackApiTest.security.le_cfg.so -> libIF_smackApiTest.security.le_cfg.so
	libComponent_userAdderRemover.so -> libComponent_userAdderRemover.so
	libComponent_mccTest.so -> libComponent_mccTest.so
	libComponent_configDropWrite.so -> libComponent_configDropWrite.so
	libIF_gdbCfg.gdbCfg.le_cfg.so -> libIF_gdbCfg.gdbCfg.le_cfg.so
	libComponent_smsTest.so -> libComponent_smsTest.so
	libIF_appCtrl.appCtrl.le_sup_ctrl.so -> libIF_appCtrl.appCtrl.le_sup_ctrl.so
	libIF_cm.cm.le_cfg.so -> libIF_cm.cm.le_cfg.so
	libIF_sdir.sdirTool.le_cfg.so -> libIF_sdir.sdirTool.le_cfg.so
	libIF_testModemMcc.mccTest.le_mcc_call.so -> libIF_testModemMcc.mccTest.le_mcc_call.so
	libIF_testModemSmsDeletion.smsDeletion.le_sms.so -> libIF_testModemSmsDeletion.smsDeletion.le_sms.so
	libIF_testPosDaemon.posDaemonTest.le_pos.so -> libIF_testPosDaemon.posDaemonTest.le_pos.so
	libIF_testPosDaemon.posDaemon.le_cfg.so -> libIF_testPosDaemon.posDaemon.le_cfg.so
	libIF_testAudioPlaybackRecExe.audioPlaybackRecExe.le_mcc_profile.so -> libIF_testAudioPlaybackRecExe.audioPlaybackRecExe.le_mcc_profile.so
	libIF_configTree.configTree.le_cfg.so -> libIF_configTree.configTree.le_cfg.so
	lible_tree_hdlr.so -> lible_tree_hdlr.so
	libComponent_dtmfTest.so -> libComponent_dtmfTest.so
	libIF_appCtrl.appCtrl.le_sup_state.so -> libIF_appCtrl.appCtrl.le_sup_state.so
	libComponent_sdirTool.so -> libComponent_sdirTool.so
	libIF_supervisor.supervisor.le_cfg.so -> libIF_supervisor.supervisor.le_cfg.so
	libIF_testAudioPlaybackRecExe.audioPlaybackRecExe.le_cfg.so -> libIF_testAudioPlaybackRecExe.audioPlaybackRecExe.le_cfg.so
	libIF_le_pos_client.so -> libIF_le_pos_client.so
	libIF_execInApp.execInApp.le_cfg.so -> libIF_execInApp.execInApp.le_cfg.so
	libComponent_posDaemon.so -> libComponent_posDaemon.so
	libIF_configDropReadExe.configDropRead.le_cfg.so -> libIF_configDropReadExe.configDropRead.le_cfg.so
	libIF_configTestExe.configTest.le_cfg.so -> libIF_configTestExe.configTest.le_cfg.so
	libIF_testAudioDtmf.dtmfTest.le_mcc_profile.so -> libIF_testAudioDtmf.dtmfTest.le_mcc_profile.so
	libComponent_configTree.so -> libComponent_configTree.so
	libIF_config.config.le_cfg.so -> libIF_config.config.le_cfg.so
	libComponent_config.so -> libComponent_config.so
	libComponent_security.so -> libComponent_security.so
	libIF_le_posCtrl_client.so -> libIF_le_posCtrl_client.so
	libIF_testPosCtrl.posCtrlTest.le_posCtrl.so -> libIF_testPosCtrl.posCtrlTest.le_posCtrl.so
	libIF_fwupdate.fwupdate.le_fwupdate.so -> libIF_fwupdate.fwupdate.le_fwupdate.so
	libIF_configTestExe.configTest.le_cfgAdmin.so -> libIF_configTestExe.configTest.le_cfgAdmin.so
	libIF_le_mdc_client.so -> libIF_le_mdc_client.so
	libIF_watchdog.watchdog.le_wdog.so -> libIF_watchdog.watchdog.le_wdog.so
	libComponent_cfgTest.so -> libComponent_cfgTest.so
	libComponent_cellNetService.so -> libComponent_cellNetService.so
	libComponent_posDaemonTest.so -> libComponent_posDaemonTest.so
	libIF_testAudioMccExe.audioMccExe.le_mcc_profile.so -> libIF_testAudioMccExe.audioMccExe.le_mcc_profile.so
	libComponent_configDropRead.so -> libComponent_configDropRead.so
	libIF_testVoiceCallService.voiceCallTest.le_audio.so -> libIF_testVoiceCallService.voiceCallTest.le_audio.so
	libComponent_appCtrl.so -> libComponent_appCtrl.so
	libComponent_configTest.so -> libComponent_configTest.so
	libIF_le_data_client.so -> libIF_le_data_client.so
	libIF_update.updateTool.le_fwupdate.so -> libIF_update.updateTool.le_fwupdate.so
	libIF_supervisor.supervisor.le_sup_ctrl.so -> libIF_supervisor.supervisor.le_sup_ctrl.so
	libComponent_le_pa_mon.so -> libComponent_le_pa_mon.so
	libIF_cm.cm.le_data.so -> libIF_cm.cm.le_data.so
	libIF_testRemoteMgmt.remoteMgmtTest.le_cfg.so -> libIF_testRemoteMgmt.remoteMgmtTest.le_cfg.so
	libComponent_audioMccExe.so -> libComponent_audioMccExe.so
	libComponent_remoteMgmtTest.so -> libComponent_remoteMgmtTest.so
	libIF_testPosDaemon.posDaemon.le_gnss.so -> libIF_testPosDaemon.posDaemon.le_gnss.so
	libjansson.so.4 -> libjansson.so.4.6.0
	libIF_config.config.le_cfgAdmin.so -> libIF_config.config.le_cfgAdmin.so
	libIF_testPosDaemon.posDaemon.le_posCtrl.so -> libIF_testPosDaemon.posDaemon.le_posCtrl.so
	libComponent_updateTool.so -> libComponent_updateTool.so
	libIF_gdbCfg.appConfig.le_cfg.so -> libIF_gdbCfg.appConfig.le_cfg.so
	libComponent_voiceCallTest.so -> libComponent_voiceCallTest.so
	libComponent_le_pa_gnss.so -> libComponent_le_pa_gnss.so
	libComponent_smsDeletion.so -> libComponent_smsDeletion.so
	libComponent_configDelete.so -> libComponent_configDelete.so
	libIF_appCfgRemove.appConfig.le_cfgAdmin.so -> libIF_appCfgRemove.appConfig.le_cfgAdmin.so
	libComponent_smsPduTest.so -> libComponent_smsPduTest.so
	libIF_testAudioCfg.cfgTest.le_audio.so -> libIF_testAudioCfg.cfgTest.le_audio.so
	libComponent_execInApp.so -> libComponent_execInApp.so
	libIF_testModemMdc.mdcTest.le_mdc.so -> libIF_testModemMdc.mdcTest.le_mdc.so
	libIF_smackApiTest.smackAPI.le_cfg.so -> libIF_smackApiTest.smackAPI.le_cfg.so
	libComponent_watchdog.so -> libComponent_watchdog.so
	libComponent_le_pa_audio.so -> libComponent_le_pa_audio.so
	libIF_testModemSms.smsTest.le_cfg.so -> libIF_testModemSms.smsTest.le_cfg.so
	libIF_watchdog.watchdog.le_cfg.so -> libIF_watchdog.watchdog.le_cfg.so
	libComponent_fwupdate.so -> libComponent_fwupdate.so
	libIF_testVoiceCallService.voiceCallTest.le_voicecall.so -> libIF_testVoiceCallService.voiceCallTest.le_voicecall.so
	libIF_testAudioPlaybackRecExe.audioPlaybackRecExe.le_audio.so -> libIF_testAudioPlaybackRecExe.audioPlaybackRecExe.le_audio.so
	libComponent_smackAPI.so -> libComponent_smackAPI.so
	libIF_appCfgInstall.appConfig.le_cfgAdmin.so -> libIF_appCfgInstall.appConfig.le_cfgAdmin.so
	libIF_gdbCfg.appConfig.le_cfgAdmin.so -> libIF_gdbCfg.appConfig.le_cfgAdmin.so
	libIF_appUserRemove.userAdderRemover.le_cfg.so -> libIF_appUserRemove.userAdderRemover.le_cfg.so
	libIF_gdbCfg.gdbCfg.le_cfgAdmin.so -> libIF_gdbCfg.gdbCfg.le_cfgAdmin.so
	libIF_appUserAdd.userAdderRemover.le_cfg.so -> libIF_appUserAdd.userAdderRemover.le_cfg.so
	libIF_testModemMcc.mccTest.le_mcc_profile.so -> libIF_testModemMcc.mccTest.le_mcc_profile.so
	libIF_testModemSms.smsTest.le_sms.so -> libIF_testModemSms.smsTest.le_sms.so
	libIF_testRemoteMgmt.remoteMgmtTest.le_remoteMgmt.so -> libIF_testRemoteMgmt.remoteMgmtTest.le_remoteMgmt.so
	libComponent_mdcTest.so -> libComponent_mdcTest.so
	libComponent_le_pa.so -> libComponent_le_pa.so
	libIF_testAudioMccExe.audioMccExe.le_cfg.so -> libIF_testAudioMccExe.audioMccExe.le_cfg.so
	libIF_le_sim_client.so -> libIF_le_sim_client.so
/lib:
	libnss_files.so.2 -> libnss_files-2.17.so
	libgcc_s.so.1 -> libgcc_s.so.1
	libdl.so.2 -> libdl-2.17.so
	libtinfo.so.5 -> libtinfo.so.5.9
	libc.so.6 -> libc-2.17.so
	libanl.so.1 -> libanl-2.17.so
	libnsl.so.1 -> libnsl-2.17.so
	libthread_db.so.1 -> libthread_db-1.0.so
	libuuid.so.1 -> libuuid.so.1.3.0
	libncursesw.so.5 -> libncursesw.so.5.9
	libblkid.so.1 -> libblkid.so.1.1.0
	libnss_dns.so.2 -> libnss_dns-2.17.so
	libutil.so.1 -> libutil-2.17.so
	libnss_compat.so.2 -> libnss_compat-2.17.so
	libBrokenLocale.so.1 -> libBrokenLocale-2.17.so
	libpthread.so.0 -> libpthread-2.17.so
	libcrypt.so.1 -> libcrypt-2.17.so
	libresolv.so.2 -> libresolv-2.17.so
	librt.so.1 -> librt-2.17.so
	libm.so.6 -> libm-2.17.so
	ld-linux.so.3 -> ld-2.17.so
/usr/lib:
	liblttng-ust-fork.so.0 -> liblttng-ust-fork.so.0.0.0
	libqmi_encdec.so.1 -> libqmi_encdec.so.1.0.0
	libpython2.7.so.1.0 -> libpython2.7.so.1.0
	libffi.so.6 -> libffi.so.6.0.0
	libqcmap_cm.so.1 -> libqcmap_cm.so.1.0.0
	libxml.so.0 -> libxml.so.0.0.0
	libloc_api.so.1 -> libloc_api.so.1.0.0
	libglib-2.0.so.0 -> libglib-2.0.so.0.3400.3
	libqmiidl.so.1 -> libqmiidl.so.1.0.0
	libconfigdb.so.0 -> libconfigdb.so.0.0.0
	liblttng-ust-tracepoint.so.0 -> liblttng-ust-tracepoint.so.0.0.0
	libqmi_cci.so.1 -> libqmi_cci.so.1.0.0
	libqmi_sap.so.1 -> libqmi_sap.so.1.0.0
	libdsnet.so.1 -> libdsnet.so.1.0.0
	liburcu-bp.so.1 -> liburcu-bp.so.1.0.0
	libgthread-2.0.so.0 -> libgthread-2.0.so.0.3400.3
	libdsutils.so.1 -> libdsutils.so.1.0.0
	libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.3400.3
	libreadline.so.6 -> libreadline.so.6.2
	libgio-2.0.so.0 -> libgio-2.0.so.0.3400.3
	liburcu.so.1 -> liburcu.so.1.0.0
	libqmiservices.so.1 -> libqmiservices.so.1.0.0
	libdiag.so.1 -> libdiag.so.1.0.0
	libqcci_legacy.so.1 -> libqcci_legacy.so.1.0.0
	liburcu-common.so.1 -> liburcu-common.so.1.0.0
	libstdc++.so.6 -> libstdc++.so.6.0.17
	liburcu-qsbr.so.1 -> liburcu-qsbr.so.1.0.0
	libkmod.so.2 -> libkmod.so.2.1.3
	libqmi_common_so.so.1 -> libqmi_common_so.so.1.0.0
	libaudcal.so.1 -> libaudcal.so.1.0.0
	libgobject-2.0.so.0 -> libgobject-2.0.so.0.3400.3
	liblog.so.0 -> liblog.so.0.0.0
	libqmi.so.1 -> libqmi.so.1.0.0
	liblttng-ust-ctl.so.1 -> liblttng-ust-ctl.so.1.0.0
	libhistory.so.6 -> libhistory.so.6.2
	libloc_adapter_so.so.1 -> libloc_adapter_so.so.1.0.0
	libz.so.1 -> libz.so.1.2.7
	libqmi_csi.so.1 -> libqmi_csi.so.1.0.0
	libdssnew.so.1 -> libdssnew.so.1.0.0
	libaudioalsa.so.1 -> libaudioalsa.so.1.0.0
	liblttng-ust.so.0 -> liblttng-ust.so.0.0.0
	libcutils.so.0 -> libcutils.so.0.0.0
	liburcu-cds.so.1 -> liburcu-cds.so.1.0.0
	liburcu-signal.so.1 -> liburcu-signal.so.1.0.0
	libacdbloader.so.1 -> libacdbloader.so.1.0.0
	libalsa_intf.so.1 -> libalsa_intf.so.1.0.0
	liblttng-ust-libc-wrapper.so.0 -> liblttng-ust-libc-wrapper.so.0.0.0
	libgps_utils_so.so.1 -> libgps_utils_so.so.1.0.0
	libacdbmapper.so.1 -> libacdbmapper.so.1.0.0
	liburcu-mb.so.1 -> liburcu-mb.so.1.0.0
	libqmi_client_qmux.so.1 -> libqmi_client_qmux.so.1.0.0
	libnetmgr.so.0 -> libnetmgr.so.0.0.0
	libdsstest.so.1 -> libdsstest.so.1.0.0
Starting Legato... 
Starting the supervisor...
FAILED
user@user-OptiPlex-9020:~/legato-af$

Any suggestions??

Hello,

One thing you can try is to ssh onto the target, and check the Legato status. If Legato is running, try uninstalling the apps, and then perform a download.

user@user-OptiPlex-9020:~/legato-af$ ssh root@10.20.34.140

root@swi-mdm9x15:~# legato status
Legato framework is running.
root@swi-mdm9x15:~# app remove \*
...
root@swi-mdm9x15:~# exit

user@user-OptiPlex-9020:~/legato-af$ instlegato build/wp7 10.20.34.140

-Kelly

Hi,

I suppose you’ve tried “instlegato” multiple times and have seen the same failure? Right after the failure has occurred, could you ssh to the target, run “logread”, and paste its output?

Also, could you run “df” on the target and paste its output? Just to ensure you actually have enough flash drive space.

Thanks,
Jeffrey

attaching file

root@swi-mdm9x15:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                50688     45560      5128  90% /
devtmpfs                 76060         4     76056   0% /dev
tmpfs                    76208         0     76208   0% /dev/shm
/dev/mtdblock5            5376      3548      1828  66% /mnt/userrw
/dev/mtdblock4          152576     10112    142464   7% /mnt/flash
var                      76208     12216     63992  16% /var
/dev/mtdblock4          152576     10112    142464   7% /home
/dev/mtdblock4          152576     10112    142464   7% /usr/local
/dev/mtdblock4          152576     10112    142464   7% /opt
var                      76208     12216     63992  16% /etc/ld.so.conf
var                      76208     12216     63992  16% /etc/profile
/dev/mtdblock4          152576     10112    142464   7% /etc/passwd
/dev/mtdblock4          152576     10112    142464   7% /etc/group
var                      76208     12216     63992  16% /etc/ld.so.cache

Hi,

I can’t open the attachment (it’s a known issue with the forum at this time).

Can you just dump the last 50 or 100 lines of the logread output and see if we can figure something out?

Also, a common problem people run into is to upgrade Legato without upgrading the firmware first. Could you double check and ensure you’ve upgraded the firmware, and then upgraded the newer (and matching) version of Legato?

Thanks,
Jeffrey