# Daemon permanently in "failed" status

**URL:** <https://forum.universal-robots.com/t/daemon-permanently-in-failed-status/16523>\
**Category:** URCap Development\
**Created:** [September 16, 2021, 8:35am UTC](https://forum.universal-robots.com/t/daemon-permanently-in-failed-status/16523 "2021-09-16T08:35:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon50781943](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon50781943](https://forum.universal-robots.com/u/anon50781943)\
**Post date:** [September 16, 2021, 8:35am UTC](https://forum.universal-robots.com/t/daemon-permanently-in-failed-status/16523/1 "2021-09-16T08:35:10Z")

</div>

Hi,

I’m working with the StarterPackage+1.13 and a e-series robot.

I’m trying to build my own daemon. For now, I just have copy/past the exemple mydaemonswing.

But, the daemon allways still in “failed” status…

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/b/b572bb6d2c80f90fdcb2fc08db8965bfae92ca23.png)![Loop128x128|128x128]

The urcap’s building was successfull.

I had a look on the GUI/felix-cache/bundleXXX and the daemon seems to have started :

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/7/737c5d5ac21e6c7f39e0863e2ba44aac38678263.png)

Does anyone know what could be the problem ?

(I’m running it with the vitual machine)

---

<div class="post-metadata">

**Author:** ![anon50781943](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@anon50781943](https://forum.universal-robots.com/u/anon50781943)\
**Post date:** [September 16, 2021, 9:44am UTC](https://forum.universal-robots.com/t/daemon-permanently-in-failed-status/16523/2 "2021-09-16T09:44:21Z")

</div>

Edit : I have change the condition to run the application and it works

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/c/c1524f3aee96e98fa73ba93130fa72b9d4b365ef.png)

This is the modification that I have made in the file MyDaemonProgramNodeContribution :  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/a/af9dfe5f856c9a5e3dbd9b4f50ebf3e50da4d41c.png)

I don’t understand why the application seems to work if I don’t have the daemon in “run” state.

Does anyone has an answer ?
