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

**URL:** <https://forum.opennebula.io/t/solved-error-monitoring-host-when-trying-to-add-host/6838>\
**Category:** Installation & Configuration\
**Tags:** solved\
**Created:** [January 28, 2019, 4:43pm UTC](https://forum.opennebula.io/t/solved-error-monitoring-host-when-trying-to-add-host/6838 "2019-01-28T16:43:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thunderlight1](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/thunderlight1/32/5374_2.png) [@Thunderlight1](https://forum.opennebula.io/u/Thunderlight1)\
**Post date:** [January 28, 2019, 4:43pm UTC](https://forum.opennebula.io/t/solved-error-monitoring-host-when-trying-to-add-host/6838/1 "2019-01-28T16:43:04Z")

</div>

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(R) 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.

---

<div class="post-metadata">

**Author:** ![Thunderlight1](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/thunderlight1/32/5374_2.png) [@Thunderlight1](https://forum.opennebula.io/u/Thunderlight1)\
**Post date:** [January 29, 2019, 7:36pm UTC](https://forum.opennebula.io/t/solved-error-monitoring-host-when-trying-to-add-host/6838/2 "2019-01-29T19:36:53Z")

</div>

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.
