# Daemon failed question

**URL:** <https://forum.universal-robots.com/t/daemon-failed-question/3145>\
**Category:** URScript\
**Created:** [November 21, 2018, 6:56am UTC](https://forum.universal-robots.com/t/daemon-failed-question/3145 "2018-11-21T06:56:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon25545047](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon25545047](https://forum.universal-robots.com/u/anon25545047)\
**Post date:** [November 21, 2018, 6:56am UTC](https://forum.universal-robots.com/t/daemon-failed-question/3145/1 "2018-11-21T06:56:10Z")

</div>

I write a daemon like demo,but the function of DaemonContribution return status is error,but I checked the path ,it is right,and code is almost the same as demo,is there anything I forget to do?  
here is picture:  
 ![%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87%E7%BC%96%E8%BE%91_20181121145144](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/0/0b7234002603eb8fd4676bbd1cbb75da07beff73.jpeg)  
here is code:

 ![%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87%E7%BC%96%E8%BE%91_20181121145331](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/8/823a092072cfdda2883064494cf26e5e0f7e82c5.jpeg)  
 ![%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87%E7%BC%96%E8%BE%91_20181121145433](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/e/e3788a0522a53a52e5131fdc982e8ffc66b1ab06.jpeg)

---

<div class="post-metadata">

**Author:** ![jbm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/jbm/32/614_2.png) [@jbm](https://forum.universal-robots.com/u/jbm)\
**Post date:** [November 21, 2018, 7:46am UTC](https://forum.universal-robots.com/t/daemon-failed-question/3145/2 "2018-11-21T07:46:35Z")

</div>

From your package name, it seems your namespace is “com.Vitex…”  
However in your daemon service, the path to the daemon is “com.ur.urcap.sample…”.

So you should probably revise the two URL’s used in the DaemonService.

---

<div class="post-metadata">

**Author:** ![anon25545047](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@anon25545047](https://forum.universal-robots.com/u/anon25545047)\
**Post date:** [November 21, 2018, 12:36pm UTC](https://forum.universal-robots.com/t/daemon-failed-question/3145/3 "2018-11-21T12:36:43Z")

</div>

the path /com…is in the resource folder,I think it doesn’t matter. and previously,i just did as you said,but the result is also failed.
