Solved: "Error monitoring Host" when trying to add host

Hi!
When I try to add or activate a host (the only available and freshly installed OpenNebula system) i get the following error:

ERROR: Mon Jan 28 17:27:38 2019 : Error monitoring Host cloud1 (1): Timeout executing ‘if [ -x “/var/tmp/one/im/run_probes” ]; then /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 1 cloud1; else exit 42; fi’

I tried to run the following command as oneadmin without any issue: “/var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 1 cloud1”

See output from the above command bellow:

–8<------------------------------------------------------
oneadmin@cloud1:~$ /var/tmp/one/im/run_probes kvm /var/lib/one//datastores 4124 60 1 cloud1
ARCH=x86_64
MODELNAME=“Intel® Core™ i7-3720QM CPU @ 2.60GHz”
HYPERVISOR=kvm
TOTALCPU=800
CPUSPEED=3332
TOTALMEMORY=16375108
USEDMEMORY=728308
FREEMEMORY=15646800
FREECPU=800
USEDCPU=0
NETRX=0
NETTX=0
KVM_MACHINES=“pc-i440fx-bionic ubuntu isapc pc-1.1 pc-1.2 pc-1.3 pc-i440fx-zesty pc-i440fx-2.8 pc-1.0 pc-i440fx-2.9 pc-i440fx-2.6 pc-i440fx-2.7 xenfv pc-i440fx-wily pc-i440fx-2.3 pc-i440fx-2.4 pc-i440fx-2.5 pc-i440fx-yakkety pc-i440fx-2.1 pc-i440fx-2.2 pc-i440fx-2.0 pc-q35-yakkety pc-i440fx-bionic-hpb pc-q35-2.11 q35 pc-i440fx-xenial xenpv pc-q35-2.10 pc-q35-bionic-hpb pc-q35-xenial pc-i440fx-artful pc-i440fx-1.7 pc-q35-2.9 pc-0.15 pc-i440fx-1.5 pc-q35-2.7 pc-i440fx-1.6 pc-i440fx-2.11 pc pc-q35-2.8 pc-q35-zesty pc-0.13 pc-q35-artful pc-0.14 pc-q35-2.4 pc-i440fx-trusty pc-q35-2.5 pc-q35-2.6 pc-i440fx-1.4 pc-i440fx-2.10 pc-0.11 pc-0.12 pc-q35-bionic pc-0.10”
KVM_CPU_MODELS=“486 pentium pentium2 pentium3 pentiumpro coreduo n270 core2duo qemu32 kvm32 cpu64-rhel5 cpu64-rhel6 kvm64 qemu64 Conroe Penryn Nehalem Nehalem-IBRS Westmere Westmere-IBRS SandyBridge SandyBridge-IBRS IvyBridge IvyBridge-IBRS Haswell-noTSX Haswell-noTSX-IBRS Haswell Haswell-IBRS Broadwell-noTSX Broadwell-noTSX-IBRS Broadwell Broadwell-IBRS Skylake-Client Skylake-Client-IBRS Skylake-Server Skylake-Server-IBRS athlon phenom Opteron_G1 Opteron_G2 Opteron_G3 Opteron_G4 Opteron_G5 EPYC EPYC-IBPB”
DS_LOCATION_USED_MB=8046
DS_LOCATION_TOTAL_MB=238836
DS_LOCATION_FREE_MB=218590
DS = [
ID = 1,
USED_MB = 8046,
TOTAL_MB = 238836,
FREE_MB = 218590
]
DS = [
ID = 2,
USED_MB = 8046,
TOTAL_MB = 238836,
FREE_MB = 218590
]
HOSTNAME=cloud1
VM_POLL=YES
VERSION=“5.6.1”
–8<------------------------------------------------------

Running OpenNebula v5.6.1 on Ubuntu Server 18.04.

Fixed by editing the /etc/one/oned.cfg and removing the double slashes from datastore path: /var/lib/one//datastores

Don’t know how that did end up there.