Fail to start opennebula-sunstone.service


(Najeh Nafti) #1

I tried to start opennebula:
systemctl start opennebula : it worked correctly
systemctl strat opennebula-sunstone: it worked correctly

However, when i tried " one start" it doesn’t work and it displayed this message:
"Error reading file
scheduler failed to start "

And “systemctl status opennebula-sunstone.service” displayed:

opennebula-sunstone.service - OpenNebula Web UI Server
Loaded: loaded (/lib/systemd/system/opennebula-sunstone.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2018-10-04 21:46:05 CET; 8min ago
Process: 21916 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
Process: 21903 ExecStartPre=/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-sunstone -s /var/lib/one/.logrotate.status (code=exited, stat
Main PID: 21916 (code=exited, status=1/FAILURE)

أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: :marketplace_url=>“http://marketplace.opennebula.systems/”,
أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: :oneflow_server=>“http://localhost:2474/”,
أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: :routes=>[“oneflow”, “vcenter”, “support”],
أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: :session_expire_time=>3600}
أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: --------------------------------------
أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: /usr/lib/one/ruby/OpenNebulaAddons.rb:28:in initialize': No such file or directory @ rb_sys أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: from /usr/lib/one/ruby/OpenNebulaAddons.rb:28:innew’
أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: from /usr/lib/one/ruby/OpenNebulaAddons.rb:28:in initialize' أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: from /usr/lib/one/sunstone/sunstone-server.rb:203:innew’
أكتوبر 04 21:46:05 nafti-Lenovo-G580 ruby[21916]: from /usr/lib/one/sunstone/sunstone-server.rb:203:in `’

How can i solve these problems?