# Example Native Service

**URL:** <https://forum.webosose.org/t/example-native-service/1527>\
**Category:** Univ Colllab - Christ Univ\
**Created:** [August 1, 2021, 2:08pm UTC](https://forum.webosose.org/t/example-native-service/1527 "2021-08-01T14:08:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lm08](https://avatars.discourse-cdn.com/v4/letter/l/e47c2d/32.png) [@lm08](https://forum.webosose.org/u/lm08)\
**Post date:** [August 1, 2021, 2:08pm UTC](https://forum.webosose.org/t/example-native-service/1527/1 "2021-08-01T14:08:56Z")

</div>

Tried to run the luna command after building the sample native service . Could someone please direct me as to why this error and any possible way to fix it ?

root@raspberrypi4:/var/rootdirs/home/root# luna-send -n 1 -f luna://com.example.service.native/hello '{}'  
{  
"errorCode": -1,  
"returnValue": false,  
"errorText": "Service does not exist: com.example.service.native."  
}

---

<div class="post-metadata">

**Author:** ![Sunil](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@Sunil](https://forum.webosose.org/u/Sunil)\
**Post date:** [August 2, 2021, 9:00am UTC](https://forum.webosose.org/t/example-native-service/1527/2 "2021-08-02T09:00:00Z")

</div>

@lm08 , the image does not come with the native service installed.  
Please build the native service as instructed during the sessions.  
Once installed, run "ls-control scan-services" and then try running the above (luna-send) command.

---

<div class="post-metadata">

**Author:** ![charleskelvin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.webosose.org/charleskelvin/32/563_2.png) [@charleskelvin](https://forum.webosose.org/u/charleskelvin)\
**Post date:** [August 3, 2021, 8:34am UTC](https://forum.webosose.org/t/example-native-service/1527/3 "2021-08-03T08:34:31Z")

</div>

@lm08 , If you are still getting same error try adding .  
"trustLevel":"oem"

in the role.in file located in files/sysbus/
