# My daemon is not constant

**URL:** <https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158>\
**Category:** URScript\
**Created:** [November 22, 2018, 8:50am UTC](https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158 "2018-11-22T08:50:52Z")\
**Posts on this page:** 8\
**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 22, 2018, 8:50am UTC](https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158/1 "2018-11-22T08:50:52Z")

</div>

I write a daemon,but I found it’s status will change to ‘error’ and then continue ‘start’,.but my script .py  
file is right.can someone tell me some reasons may lead to this phenomenon??

---

<div class="post-metadata">

**Author:** ![myfestocloud](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@myfestocloud](https://forum.universal-robots.com/u/myfestocloud)\
**Post date:** [April 26, 2020, 6:13am UTC](https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158/2 "2020-04-26T06:13:02Z")

</div>

Hi  
Were you able to fix this? I get the same error

---

<div class="post-metadata">

**Author:** ![fujikit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/fujikit/32/6042_2.png) [@fujikit](https://forum.universal-robots.com/u/fujikit)\
**Post date:** [April 26, 2020, 12:16pm UTC](https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158/3 "2020-04-26T12:16:22Z")

</div>

Hi,

Could you please refer to here?

> [@Requirement for running XML-RPC server](https://forum.universal-robots.com/t/requirement-for-running-xml-rpc-server/6591):
>
> I sometimes have problems that XML-RPC server cannot be running on ursim. I list requirements and check items for running XML-RPC server coded by python that I investigated on SW3.12(sdk 1.9.0) “runsvdir” symbolic link of each version in “etc/service” exists or not. If it don’t exist, ursim installation is not completed so python daemon cannot be running. Installation have to be done again. There is “execute” in permission of python file or not. It is required that permission is “-rwxr-…

---

<div class="post-metadata">

**Author:** ![myfestocloud](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@myfestocloud](https://forum.universal-robots.com/u/myfestocloud)\
**Post date:** [April 26, 2020, 3:19pm UTC](https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158/4 "2020-04-26T15:19:10Z")

</div>

Hello. thank you for your response. Sorry I was not clear. actually the daemon works good in the ursim. but when i install it in the robot using the usb. the daemon fluctuates between running and failed and stops at failed after a few seconds. the daemon is actually a python file that connects to an external device. now since there is no terminal in the pendant I am not sure where to check where it is failing…do you have any suggestions on how to fix it

---

<div class="post-metadata">

**Author:** ![fujikit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/fujikit/32/6042_2.png) [@fujikit](https://forum.universal-robots.com/u/fujikit)\
**Post date:** [April 26, 2020, 11:39pm UTC](https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158/5 "2020-04-26T23:39:41Z")

</div>

Which version of SW do you use?

Is version of python 2.7?

---

<div class="post-metadata">

**Author:** ![myfestocloud](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@myfestocloud](https://forum.universal-robots.com/u/myfestocloud)\
**Post date:** [April 26, 2020, 11:57pm UTC](https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158/6 "2020-04-26T23:57:26Z")

</div>

Yes I used python 2.7.16

---

<div class="post-metadata">

**Author:** ![myfestocloud](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@myfestocloud](https://forum.universal-robots.com/u/myfestocloud)\
**Post date:** [April 27, 2020, 3:06am UTC](https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158/7 "2020-04-27T03:06:09Z")

</div>

Also the polyscope version 5.6

---

<div class="post-metadata">

**Author:** ![moliveira](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@moliveira](https://forum.universal-robots.com/u/moliveira)\
**Post date:** [April 27, 2020, 12:35pm UTC](https://forum.universal-robots.com/t/my-daemon-is-not-constant/3158/8 "2020-04-27T12:35:47Z")

</div>

Check the log on the file.

go to gui-\>felix-cache-\>bundle_XXXX_ ( that would be the largest number) -\> go down the path all the way to the log file. ( On the real machine)

On the real machine you have to wait until the UR is initialized before launching some operations like RTDE.
