# \[SOLVED\] \`DaemonContribution::start()\` always ends in \`ERROR\`

**URL:** <https://forum.universal-robots.com/t/solved-daemoncontribution-start-always-ends-in-error/399>\
**Category:** URCaps SDK\
**Created:** [December 7, 2016, 5:39pm UTC](https://forum.universal-robots.com/t/solved-daemoncontribution-start-always-ends-in-error/399 "2016-12-07T17:39:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![anon61104264](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@anon61104264](https://forum.universal-robots.com/u/anon61104264)\
**Post date:** [December 14, 2016, 10:26am UTC](https://forum.universal-robots.com/t/solved-daemoncontribution-start-always-ends-in-error/399/5 "2016-12-14T10:26:31Z")

</div>

Thank you very much @anon87661449!

As you pointed out `runit` **was not installed at all** , probably because when I installed the simulator, the script crashed without advertise the failure.

I don’t know exactly what was wrong the first time but I’m going to describe here all the modifications that I have done to properly install the simulator and the SDK on Ubuntu 16.04.

Thank you again and hope this helps,  
Alessandro Tondo @qbrobotics

* * *

#### Install URsim PolyScope `3.3.3.292` on Ubuntu 16.04

1. open the `install.sh` in the `ursim-3.3.3` directory;

2. `openjdk-6-jre` is no more supported on Ubuntu 16.04; switch to `openjdk-8-jre` by renaming the proper field of `commonDependencies` (I cannot say that this has no drawbacks, it seems to work well though):

3. change the java version control accordingly (note the `1.8.0` instead of the `1.6.0`):

4. **[optional]** if you have installed a non-english Ubuntu, probably your desktop directory is not called `~/Desktop`. In such a case use something like this when creating the executable shortcuts or simply rename the path with your desktop directory name:

5. you are almost done, just open a terminal and type `./install.sh`;

6. **[optional]** if you have previously installed the URCaps SDK, you might force the dependencies installation with something like `apt-get install -f`;

7. **[optional]** if you get stuck like me while installing `runit`, please follow [this topic](http://askubuntu.com/questions/654951/failed-to-connect-to-socket-com-ubuntu-upstart-connection-refused-errors-were/665742#665742). In brief, you have to comment out the final part of `/var/lib/dpkg/info/runit.postinst` because it tries to call `upstart` which is no longer used in the newer Ubuntu releases, and than simply force the installation process (i.e. `sudo apt-get install -f`);

8. **[optional]** if you get stuck on point **7** , simply rerun `./install.sh` again;

9. if everything goes as expected you will find three executable shortcuts on your desktop.

#### Install URCaps SDK `1.0.0.23` on Ubuntu 16.04

1. open the `install.sh` in the `sdk-1.0.0-23` directory;

2. **[optional]** if you have previously installed the simulator, you might force the debian installation at the end of the installer (i.e. use `--force-all`):

3. **[important]** check if the debian package has been installed correctly through `dpkg -s urtool3`. It should prompt something like this (be sure that the status is **`Status: install ok installed`** ):

* * *

_Disclaimer: THESE MODIFICATIONS ARE PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE._

---

_[View the full topic](https://forum.universal-robots.com/t/solved-daemoncontribution-start-always-ends-in-error/399)._
