probably the user that is monitoring (oneadmin) is not in the libvirtd group. Check it in the /etc/group file, add it (in case that you have not done it before) and restart libvirtd. Then restart one (or enable the host again)

El 18/04/2011 16:21, Sebastian Neg escribió:
sorry I forgot to say but I have already started it

On Mon, Apr 18, 2011 at 4:11 PM, Carlos A. <cara...@upv.es <mailto:cara...@upv.es>> wrote:

    please, just read the log: start libvirtd

    El 18/04/2011 16:06, Sebastian Neg escribió:
    Hi,
    I installed Opennebula 2.2 on CentOS 5.5, the one si started.
    When i created onehost, the status is "err"

    [oneadmin@root ~]$ onehost list
ID NAME CLUSTER RVM TCPU FCPU ACPU TMEM FMEM STAT 4 localhost default 0 0 0 100 0K 0K err

    there is my log file:

    Mon Apr 18 15:00:25 2011 [InM][I]: Command execution fail: 'if [
    -x "/var/tmp/one/im/run_probes" ]; then
    /var/tmp/one/im/run_probes kvm localhost;
    else                              exit 42; fi'
    Mon Apr 18 15:00:25 2011 [InM][I]: STDERR follows.
    Mon Apr 18 15:00:25 2011 [InM][I]: error: unable to connect to
    '/var/run/libvirt/libvirt-sock', libvirtd may need to be started:
    Permission denied
    Mon Apr 18 15:00:25 2011 [InM][I]: error: failed to connect to
    the hypervisor
    Mon Apr 18 15:00:25 2011 [InM][I]: Error executing kvm.rb
    Mon Apr 18 15:00:25 2011 [InM][I]: ExitCode: 255
    Mon Apr 18 15:00:25 2011 [InM][E]: Error monitoring host 4 :
    MONITOR FAILURE 4 Could not monitor host localhost.

    Mon Apr 18 15:00:26 2011 [ReM][D]: UserPoolInfo method invoked
    Mon Apr 18 15:00:28 2011 [ReM][D]: HostPoolInfo method invoked
    Mon Apr 18 15:00:28 2011 [ReM][D]: ImagePoolInfo method invoked
    Mon Apr 18 15:00:29 2011 [ReM][D]: HostPoolInfo method invoked
    Mon Apr 18 15:00:29 2011 [ReM][D]: VirtualMachinePoolInfo method
    invoked

    any idea??


    _______________________________________________
    Users mailing list
    Users@lists.opennebula.org  <mailto:Users@lists.opennebula.org>
    http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


    _______________________________________________
    Users mailing list
    Users@lists.opennebula.org <mailto:Users@lists.opennebula.org>
    http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to