# System reboot while initializing legato

**URL:** <https://forum.legato.io/t/system-reboot-while-initializing-legato/2188>\
**Category:** Legato Application Framework\
**Created:** [October 14, 2016, 1:53pm UTC](https://forum.legato.io/t/system-reboot-while-initializing-legato/2188 "2016-10-14T13:53:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony1](https://avatars.discourse-cdn.com/v4/letter/t/858c86/32.png) [@tony1](https://forum.legato.io/u/tony1)\
**Post date:** [October 14, 2016, 1:53pm UTC](https://forum.legato.io/t/system-reboot-while-initializing-legato/2188/1 "2016-10-14T13:53:16Z")

</div>

I am trying to run legato in a new board (ARM), but every time I execute the “start” script it crashes. In fact, the system is getting rebooted. Looking the log files, the only thing I can see are the lines written below:

* * *

_Jan 6 00:17:02 mdm9607 syslog.info syslogd started: BusyBox v1.23.1_  
_Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE\_FILENAME GetStatus() 972 | Status of system ‘current’ is ‘good’._  
_Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE\_FILENAME FindNewestSystemIndex() 1194 | System ‘current’ is OK._  
_Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE\_FILENAME main() 1586 | The previous ‘current’ system has index 0._  
_Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE\_FILENAME ShouldInstallGolden() 1258 | System on /mnt/legato is old. Ignoring it._  
_Jan 6 00:17:24 mdm9607 user.info Legato: INFO | UNKNOWN[1496]/framework T=main | LE\_FILENAME GetStatus() 972 | Status of system ‘current’ is ‘good’._  
_Jan 6 00:17:24 mdm9607 user.err Legato: =ERR= | xattr[1500]/framework T=main | LE\_FILENAME unixSocket\_Connect() 333 | Connect failed with errno 2 (No such file or directory)._  
_Jan 6 00:17:24 mdm9607 user.err Legato: =ERR= | xattr[1501]/framework T=main | LE\_FILENAME unixSocket\_Connect() 333 | Connect failed with errno 2 (No such file or directory)._  
_Jan 6 00:17:24 mdm9607 user.err Legato: =ERR= | xattr[1502]/framework T=main | LE\_FILENAME unixSocket\_Connect() 333 | Connect failed with errno 2 (No such file or directory)._

* * *

Does somebody knows what is happening and how to solve the problem?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![jchitty](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jchitty/32/72_2.png) [@jchitty](https://forum.legato.io/u/jchitty)\
**Post date:** [October 25, 2016, 5:37pm UTC](https://forum.legato.io/t/system-reboot-while-initializing-legato/2188/2 "2016-10-25T17:37:17Z")

</div>

It looks like something is running the “xattr” tool while the Service Directory is not running. It’s getting ENOENT (A component of the pathname does not name an existing file or the pathname is an empty string.) when trying to call connect() on the Service Directory’s “client connect socket”, which a named socket at /tmp/legato/serviceDirectoryClient.

What version of Legato are you using?
