I have an OpenNebula 5.10 version installed and It works fine until I have upgraded Debian OS from 10 to 11. Now I have a problem with start OpenNebula. I try to start with:
systemctl start opennebula
and I obtain the error:
Job for opennebula.service failed because the control process exited with error code.
See “systemctl status opennebula.service” and “journalctl -xe” for details.
I execute “journalctl -xe” and I obtain below error:
– The job identifier is 4155.
Aug 30 10:57:33 onefe.sbd systemd[1]: Started OpenNebula Hook Execution Service.
– Subject: A start job for unit opennebula-hem.service has finished successfully
– Defined-By: systemd
– Support: Debian -- Support
– A start job for unit opennebula-hem.service has finished successfully.
– The job identifier is 4155.
Aug 30 10:57:33 onefe.sbd ruby[3227]: /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in require': cannot load such file -- ffi-rzmq (LoadErro> Aug 30 10:57:33 onefe.sbd ruby[3227]: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in require’
Aug 30 10:57:33 onefe.sbd ruby[3227]: from /usr/lib/one/onehem/onehem-server.rb:47:in `’
Aug 30 10:57:33 onefe.sbd systemd[1]: opennebula-hem.service: Main process exited, code=exited, status=1/FAILURE
– Subject: Unit process exited
– Defined-By: systemd
– Support: Debian -- Support
– An ExecStart= process belonging to unit opennebula-hem.service has exited.
– The process’ exit code is ‘exited’ and its exit status is 1.
Aug 30 10:57:33 onefe.sbd systemd[1]: opennebula-hem.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: Debian -- Support
– The unit opennebula-hem.service has entered the ‘failed’ state with result ‘exit-code’.
After install ruby-ffi-rzmq which was not installed I receive next error now when I execute journalctl -xe:
– The job identifier is 7877.
Sep 07 10:18:28 onefe.sbd systemd[1]: Started OpenNebula Hook Execution Service.
– Subject: A start job for unit opennebula-hem.service has finished successfully
– Defined-By: systemd
– Support: Debian -- Support
– A start job for unit opennebula-hem.service has finished successfully.
– The job identifier is 7877.
Sep 07 10:18:28 onefe.sbd ruby[352092]: /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in require': cannot load such file -- nokogiri (LoadEr> Sep 07 10:18:28 onefe.sbd ruby[352092]: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in require’
Sep 07 10:18:28 onefe.sbd ruby[352092]: from /usr/lib/one/onehem/onehem-server.rb:48:in `’
Sep 07 10:18:28 onefe.sbd systemd[1]: opennebula-hem.service: Main process exited, code=exited, status=1/FAILURE
– Subject: Unit process exited
– Defined-By: systemd
– Support: Debian -- Support
– An ExecStart= process belonging to unit opennebula-hem.service has exited.
– The process’ exit code is ‘exited’ and its exit status is 1.
Sep 07 10:18:28 onefe.sbd systemd[1]: opennebula-hem.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: Debian -- Support
– The unit opennebula-hem.service has entered the ‘failed’ state with result ‘exit-code’.
As you can see I have intall this now:
ii opennebula-rubygem-ffi-rzmq 2.0.7-5.10.1-1 all This gem wraps the ZeroMQ networking library using the ruby FFI (foreign
ii opennebula-rubygem-ffi-rzmq-core 1.0.7-5.10.1-1 all This gem provides only the FFI wrapper for the ZeroMQ (0mq) networking library.
ii ruby-ffi-rzmq 2.0.7-1 all FFI based Ruby bindings for ZeroMQ (ØMQ) networking library
ii ruby-ffi-rzmq-core 1.0.7-1 all FFI wrapper around the ZeromMQ (ØMQ) networking library for Ruby
I think that now the problem has to be another, if you have any idea, please tell me.
I have installed some gems, ipaddress, bundler, plist but it doesn’t start, but the message of journal -xe is different:
– The job identifier is 11833.
Sep 07 12:48:41 onefe.sbd systemd[1]: Started OpenNebula Hook Execution Service.
– Subject: A start job for unit opennebula-hem.service has finished successfully
– Defined-By: systemd
– Support: Debian -- Support
– A start job for unit opennebula-hem.service has finished successfully.
– The job identifier is 11833.
Sep 07 12:48:42 onefe.sbd ruby[356834]: /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in require': cannot load such file -- nokogiri (LoadEr> Sep 07 12:48:42 onefe.sbd ruby[356834]: from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb:85:in require’
Sep 07 12:48:42 onefe.sbd ruby[356834]: from /usr/lib/one/onehem/onehem-server.rb:48:in `’
Sep 07 12:48:42 onefe.sbd systemd[1]: opennebula-hem.service: Main process exited, code=exited, status=1/FAILURE
– Subject: Unit process exited
– Defined-By: systemd
– Support: Debian -- Support
– An ExecStart= process belonging to unit opennebula-hem.service has exited.
– The process’ exit code is ‘exited’ and its exit status is 1.
Sep 07 12:48:42 onefe.sbd systemd[1]: opennebula-hem.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: Debian -- Support
– The unit opennebula-hem.service has entered the ‘failed’ state with result ‘exit-code’.
Finally I have upgraded my OpenNebula 5.10 to 5.12 and now all works fine. I have reinstalled opennebula and nodes, and upgrade the DB and all work properly.
Hi, I have This problem Job for opennebula.service failed because the control process exited with error code. when I execute systemctl start opennebula . I have OpenNebula 5.12 and Ubuntu 20.04.