Fresh Install Fails to start opennebula daemon

Fresh install on a UCS 220 M5 server running 20.04 LTS Ubuntu.

Using MySQL for DB and followed the guide for 6.4.2

Getting the following errors and not sure where to look next

Wed Oct 26 14:48:58 2022 [Z0][ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Wed Oct 26 14:48:58 2022 [Z0][ONE][I]: Support for xmlrpc-c > 1.31: yes
Wed Oct 26 14:48:58 2022 [Z0][ONE][I]: Using hostname: networkAutomationUcs
Wed Oct 26 14:48:58 2022 [Z0][ONE][I]: Set up 25 DB connections using encoding utf8mb4
Wed Oct 26 14:48:58 2022 [Z0][ONE][I]: Using 8.0.31-0ubuntu0.20.04.1 (80031) with:
Wed Oct 26 14:48:58 2022 [Z0][ONE][I]:  FTS enabled
Wed Oct 26 14:48:58 2022 [Z0][ONE][I]: Checking database version.
Wed Oct 26 14:48:58 2022 [Z0][ONE][I]: oned is using version 6.4.0 for local_db_versioning
Wed Oct 26 14:48:58 2022 [Z0][ONE][I]: oned is using version 6.4.0 for db_versioning
Wed Oct 26 14:48:58 2022 [Z0][ACL][I]: Starting ACL Manager...
Wed Oct 26 14:48:58 2022 [Z0][ACL][I]: ACL Manager started.
Wed Oct 26 14:48:58 2022 [Z0][HKM][I]: Loading Hook Manager driver.
Wed Oct 26 14:48:58 2022 [Z0][HKM][I]: Failed to load Hook Manager driver.
Wed Oct 26 14:48:58 2022 [Z0][ONE][E]: Could not load driver
==> /var/log/one/sched.log <==
Wed Oct 26 14:52:39 2022 [Z0][SCHED][E]: Cannot contact oned, will retry... Error: HTTP POST to URL 'http://localhost:2633/RPC2' failed.  libcurl failed even to execute the HTTP transaction, explaining:  Failed to connect to localhost port 2633: Connection refused

I found the which was the problem. I accidentally broke my /etc/one/oned.conf file. If you have the same issue you can restore this file with a backup from the original OpenNebula repository:

https://github.com/OpenNebula/one/blob/master/share/etc/oned.conf

Just change master Branch by the Tag which match with your OpenNebula version.