# Opennebula-sunstone.service terminate

**URL:** <https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028>\
**Category:** Installation & Configuration\
**Created:** [March 14, 2019, 12:49pm UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028 "2019-03-14T12:49:15Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![angriukas](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@angriukas](https://forum.opennebula.io/u/angriukas)\
**Post date:** [March 14, 2019, 12:49pm UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/1 "2019-03-14T12:49:15Z")

</div>

Hi,  
recently I have encounter sunstone crash for three times. Crash occurs approximately once in 10 days.  
Details:  
Linux = Debian 9.8  
sunstone.log - nothing there.  
/var/log/syslog:  
Mar 14 13:17:39 nebula1 ruby[7454]: pure virtual method called  
Mar 14 13:17:39 nebula1 ruby[7454]: terminate called without an active exception  
Mar 14 13:17:39 nebula1 systemd[1]: opennebula-sunstone.service: Main process exited, code=killed, status=6/ABRT  
Mar 14 13:17:39 nebula1 systemd[1]: opennebula-sunstone.service: Unit entered failed state.  
Mar 14 13:17:39 nebula1 systemd[1]: opennebula-sunstone.service: Failed with result ‘signal’.

Could you please help me solve this issue?

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [March 14, 2019, 2:46pm UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/2 "2019-03-14T14:46:39Z")

</div>

Hi @angriukas

Could you plelase send me the `/var/log/one/sunstone.error`?

---

<div class="post-metadata">

**Author:** ![angriukas](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@angriukas](https://forum.opennebula.io/u/angriukas)\
**Post date:** [March 14, 2019, 4:14pm UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/3 "2019-03-14T16:14:25Z")

</div>

There is no such file in that location.  
Only sunstone.log  
sunstone.log contains nothing about error.

/etc/one/sunstone-server.conf  
:debug\_level: 3

Strange that file wasn’t created.  
Should I change some settings to get mentioned file?

---

<div class="post-metadata">

**Author:** ![angriukas](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@angriukas](https://forum.opennebula.io/u/angriukas)\
**Post date:** [March 14, 2019, 4:16pm UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/4 "2019-03-14T16:16:16Z")

</div>

Update:  
We are using OpenNebula 5.8.0

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [March 14, 2019, 4:21pm UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/5 "2019-03-14T16:21:28Z")

</div>

Try changing the :debug\_level to 0, which is error ([http://docs.opennebula.org/5.8/deployment/sunstone\_setup/sunstone.html#sunstone-server-conf](http://docs.opennebula.org/5.8/deployment/sunstone_setup/sunstone.html#sunstone-server-conf))

And then execute sunstone manually (`ruby /usr/lib/one/sunstone/sunstone-server.rb`)

Does it show any errors?

---

<div class="post-metadata">

**Author:** ![angriukas](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@angriukas](https://forum.opennebula.io/u/angriukas)\
**Post date:** [March 14, 2019, 4:36pm UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/6 "2019-03-14T16:36:31Z")

</div>

Change debug level to 0, started manually, got crash, here is output.  
`sunstone.error` - still not created

* * *

```
     Server configuration

```

* * *

{:tmpdir=\>"/var/tmp",  
:one\_xmlrpc=\>“[http://localhost:2633/RPC2](http://localhost:2633/RPC2)”,  
:one\_xmlrpc\_timeout=\>60,  
:host=\>“0.0.0.0”,  
:port=\>9869,  
:sessions=\>“memory”,  
:memcache\_host=\>“localhost”,  
:memcache\_port=\>11211,  
:memcache\_namespace=\>“opennebula.sunstone”,  
:env=\>“prod”,  
:debug\_level=\>0,  
:auth=\>“opennebula”,  
:core\_auth=\>“cipher”,  
:remote\_version=\>“[http://downloads.opennebula.org/latest](http://downloads.opennebula.org/latest)”,  
:vnc\_proxy\_port=\>29876,  
:vnc\_proxy\_support\_wss=\>false,  
:vnc\_proxy\_cert=\>nil,  
:vnc\_proxy\_key=\>nil,  
:vnc\_proxy\_ipv6=\>false,  
:vnc\_request\_password=\>false,  
:keep\_me\_logged=\>true,  
:lang=\>“en\_US”,  
:table\_order=\>“desc”,  
:mode=\>“mixed”,  
:marketplace\_url=\>“[http://marketplace.opennebula.systems/](http://marketplace.opennebula.systems/)”,  
:oneflow\_server=\>“[http://localhost:2474/](http://localhost:2474/)”,  
:routes=\>[“oneflow”, “vcenter”, “support”],  
:session\_expire\_time=\>3600}

* * *

== Sinatra (v2.0.5) has taken the stage on 9869 for development with backup from Thin  
Thin web server (v1.7.2 codename Bachmanity)  
Maximum connections set to 1024  
Listening on 0.0.0.0:9869, CTRL+C to stop  
pure virtual method called  
terminate called without an active exception  
Aborted

---

<div class="post-metadata">

**Author:** ![angriukas](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@angriukas](https://forum.opennebula.io/u/angriukas)\
**Post date:** [March 18, 2019, 8:37am UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/7 "2019-03-18T08:37:41Z")

</div>

Hi, any news?

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [March 18, 2019, 10:48am UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/8 "2019-03-18T10:48:49Z")

</div>

Hi @angriukas

Sorry for answer lately, I was on holidays. I can’t reproduce your issue, for me it’s working. Let’s try gathering more information and see if we can fix it.

- What OpenNebula version are you using?
- Are you using it installed from source code or packages?
- Does the crash happen all the times you start Sunstone?

---

<div class="post-metadata">

**Author:** ![angriukas](https://avatars.discourse-cdn.com/v4/letter/a/9d8465/32.png) [@angriukas](https://forum.opennebula.io/u/angriukas)\
**Post date:** [March 18, 2019, 11:00am UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/9 "2019-03-18T11:00:47Z")

</div>

OpenNebula 5.8.0  
Installed on Debain 9.8 from packages.  
Crash occurs quite a rare. Sometimes crashes on startup of Sunstone, sometimes after 10 days of normal work. How can I enable advanced logging?

---

<div class="post-metadata">

**Author:** ![ahuertas](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/ahuertas/32/7487_2.png) [@ahuertas](https://forum.opennebula.io/u/ahuertas)\
**Post date:** [March 18, 2019, 2:23pm UTC](https://forum.opennebula.io/t/opennebula-sunstone-service-terminate/7028/10 "2019-03-18T14:23:08Z")

</div>

There is just [this](http://docs.opennebula.org/5.8/deployment/sunstone_setup/sunstone.html#configuration) debug level `:debug_level`.
