ONEHEM not found when after updating to 6.0.1

Hi community,

I am having an issue that is a little bit hard to understand from my side. After updating to 6.0.1 I am not longer able to start services. When reviewing oned.log I receive the following:

Tue May  4 09:25:08 2021 [Z0][ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Tue May  4 09:25:08 2021 [Z0][ONE][I]: Support for xmlrpc-c > 1.31: yes
Tue May  4 09:25:08 2021 [Z0][ONE][I]: Using hostname: sunstone-node
Tue May  4 09:25:08 2021 [Z0][ONE][I]: sqlite has enabled: SQLITE_ENABLE_UPDATE_DELETE_LIMIT
Tue May  4 09:25:08 2021 [Z0][ONE][I]: Checking database version.
Tue May  4 09:25:08 2021 [Z0][ONE][I]: oned is using version 6.0.0 for local_db_versioning
Tue May  4 09:25:08 2021 [Z0][ONE][I]: oned is using version 6.0.0 for db_versioning
Tue May  4 09:25:08 2021 [Z0][ACL][I]: Starting ACL Manager...
Tue May  4 09:25:08 2021 [Z0][ACL][I]: ACL Manager started.
Tue May  4 09:25:08 2021 [Z0][HKM][I]: Loading Hook Manager driver.
Tue May  4 09:25:08 2021 [Z0][DrM][I]: Loading driver: hook_exe
Tue May  4 09:25:08 2021 [Z0][DrM][I]: 	Driver loaded: hook_exe
Tue May  4 09:25:08 2021 [Z0][HKM][I]: 	Hook Manager loaded
Tue May  4 09:25:08 2021 [Z0][DrM][E]: Unable to start driver 'hook_exe': Driver initialization failed

Tue May  4 09:25:08 2021 [Z0][HKM][E]: Driver initialization failed

I have tried to find this hook_exe, but I am not able to find it, perhaps I am looking at the wrong file and the culprit is completely different. Any ideas where to begin to debug?

Thanks!

Hi @Luis,

Could you try to execute: /usr/lib/one/mads/one_hm -p 2101 -l 2102 -b 127.0.0.1 and once it starts write INIT to check if there is any error while trying to start the drvier?

If everything is OK you should see something like this:

$ /usr/lib/one/mads/one_hm -p 2101 -l 2102 -b 127.0.0.1            
INIT
INIT SUCCESS - -
^C

Hi @cgonzalez,

I’ve the same issue, i test to execute :
root@NUBIBUS:~# /usr/lib/one/mads/one_hm -p 2101 -l 2102 -b 127.0.0.1

But i’ve no answer of that command line.

Do you have another idea do debug this issue ?

Regards

I found my issue:

I 've install new gems so i delete them :

rm /usr/share/one/gems-dist/specifications/zlib-1.1.0.gemspec
rm /usr/share/one/gems-dist/specifications/opennebula-6.0.2.gemspec

After this modification, i was able to start opennebula.

regards

2 Likes

Thanks for sharing!

thanks for the awesome information.

1 Like