# Need help with installation and basic configuration (error monitoring host)

**URL:** <https://forum.opennebula.io/t/need-help-with-installation-and-basic-configuration-error-monitoring-host/842>\
**Category:** Product Support\
**Created:** [June 9, 2015, 2:13pm UTC](https://forum.opennebula.io/t/need-help-with-installation-and-basic-configuration-error-monitoring-host/842 "2015-06-09T14:13:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![WickedBuZz](https://avatars.discourse-cdn.com/v4/letter/w/e79b87/32.png) [@WickedBuZz](https://forum.opennebula.io/u/WickedBuZz)\
**Post date:** [June 9, 2015, 2:13pm UTC](https://forum.opennebula.io/t/need-help-with-installation-and-basic-configuration-error-monitoring-host/842/1 "2015-06-09T14:13:31Z")

</div>

Hello everyone.

Ok i have a serious problem i’m constantly running into, for approx. 50 hours of testing now. I keep running into that “User couldn’t be authenticated, aborting call.” error from /var/log/one/oned.log. When i create a Host through web interface it’s state says “‘ERROR’, Tue Jun 9 16:07:42 2015 : Error monitoring Host myHost (0): -”. But let’s start from begining if that’s ok, mybe i did something wrong during the setup. Here are ALL the commands i used to setup opennebula on my fresh installation of centos 6.6.

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3  
\curl -sSL [https://get.rvm.io](https://get.rvm.io) | bash  
source /etc/profile.d/rvm.sh  
\curl -sSL [https://get.rvm.io](https://get.rvm.io) | bash -s stable --ruby  
source /usr/local/rvm/scripts/rvm  
rvm install 2.2.2

-now i have latest ruby installed and i avoided 232389 errors during the setup

cat \<\< EOT \> /etc/yum.repos.d/opennebula.repo  
[opennebula]  
name=opennebula  
baseurl=http://downcaloads.opennebula.org/repo/4.10/CentOS/6/x86\_64  
enabled=1  
gpgcheck=0  
EOT

yum install opennebula-server opennebula-sunstone opennebula-ruby  
/usr/share/one/install\_gems (with option 1 for CentOS)  
onevm list (works like a charm)  
sudo yum install opennebula-node-kvm

-i edited /etc/one/sunstone-server.conf file and updated the part with the servers ip address so i can connect to sunstone  
-i opened port 9869, typed in sunstone-server start (like i need to do on every server restart for some reason) and it worked, i can connect to sunstone with my web browser.

-note that i haven’t touched anything with usernames/password, i’m logging in into sunstone with oneadmin/ae887337ca61something6316f9dda7319 credentials

Now, the problem is probably with ssh keys but i’m not sure. I don’t know how to set it up and i dont know how to troubleshoot it but it’s in the installation guide. Please help. Also, if someone has his own manual on how to set up opennebula properly i would be very very thankfull for the list of commands. I’ve walked through official guides many many times, both quick and normal setup but i’m just out of luck i guess. :S

---

<div class="post-metadata">

**Author:** ![jfontan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jfontan/32/18_2.png) [@jfontan](https://forum.opennebula.io/u/jfontan)\
**Post date:** [June 9, 2015, 5:35pm UTC](https://forum.opennebula.io/t/need-help-with-installation-and-basic-configuration-error-monitoring-host/842/2 "2015-06-09T17:35:15Z")

</div>

You should get more information about the monitoring error in `/var/log/one/oned.log`. Usually the problem is passwordless ssh not correctly set up or the name of the host can not be resolved.

Can you check that you can connect to the node from the fronted as `oneadmin` user with this command?

```auto
$ ssh myHost

```

---

<div class="post-metadata">

**Author:** ![WickedBuZz](https://avatars.discourse-cdn.com/v4/letter/w/e79b87/32.png) [@WickedBuZz](https://forum.opennebula.io/u/WickedBuZz)\
**Post date:** [June 9, 2015, 5:56pm UTC](https://forum.opennebula.io/t/need-help-with-installation-and-basic-configuration-error-monitoring-host/842/3 "2015-06-09T17:56:07Z")

</div>

Yes, that works. (front-end and node are on the same server)

---

<div class="post-metadata">

**Author:** ![WickedBuZz](https://avatars.discourse-cdn.com/v4/letter/w/e79b87/32.png) [@WickedBuZz](https://forum.opennebula.io/u/WickedBuZz)\
**Post date:** [June 11, 2015, 7:38am UTC](https://forum.opennebula.io/t/need-help-with-installation-and-basic-configuration-error-monitoring-host/842/4 "2015-06-11T07:38:06Z")

</div>

Ok, found the solution to this problem. The problem was in SELinux and i found the solution at [https://n40lab.wordpress.com/2012/11/26/69/](https://n40lab.wordpress.com/2012/11/26/69/)

yum -y install policycoreutils-python (for semanage command to work)  
chcon -v --type=ssh\_home\_t /var/lib/one/.ssh/authorized\_keys  
semanage fcontext -a -t ssh\_home\_t /var/lib/one/.ssh/authorized\_keys

The results were visible within few seconds, there was no need to restart any services.

---

<div class="post-metadata">

**Author:** ![maria\_eugenia\_montal](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@maria\_eugenia\_montal](https://forum.opennebula.io/u/maria_eugenia_montal)\
**Post date:** [November 22, 2018, 5:02am UTC](https://forum.opennebula.io/t/need-help-with-installation-and-basic-configuration-error-monitoring-host/842/5 "2018-11-22T05:02:52Z")

</div>

Please someone who can give me some tutorial about sunstone configuration for network??! Thans

---

<div class="post-metadata">

**Author:** ![juanmont](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@juanmont](https://forum.opennebula.io/u/juanmont)\
**Post date:** [December 3, 2018, 11:25am UTC](https://forum.opennebula.io/t/need-help-with-installation-and-basic-configuration-error-monitoring-host/842/6 "2018-12-03T11:25:58Z")

</div>

Hi, I don’t understand your question. Do you want to know how to create a virtual network from Sunstone? o How to connect Sunstone with OpenNebula?
