[one-users] error : Databae is locked

salma rebai rebai.salma at gmail.com
Thu May 6 06:43:45 PDT 2010


Hi,
I am traying to install and configure open nebula on a centos machine.
after installing open nebula and starting the one deamon,  and when i tried
to add a new cluster node to my cluster i had this error

[oneadmin at node016 ~]$ onehost create 157.159.226.155 im_kvm vmm_kvm tm_kvm
Error: Connection refused - connect(2)

[oneadmin at node016 ~]$ onehost list
Error: Connection refused - connect(2)

the log file of my one deamon contain these messages :
Thu May  6 14:38:43 2010 [ONE][I]: Init OpenNebula Log system
Thu May  6 14:38:43 2010 [ONE][I]: Log Level: 3
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Thu May  6 14:38:43 2010 [ONE][I]:
----------------------------------------------
Thu May  6 14:38:43 2010 [ONE][I]:        OpenNebula Configuration
File
Thu May  6 14:38:43 2010 [ONE][I]:
----------------------------------------------
Thu May  6 14:38:43 2010 [ONE][I]:
--------------------------------------------
        DEBUG_LEVEL=3
        HM_MAD=EXECUTABLE=one_hm
        HOST_MONITORING_INTERVAL=60

IM_MAD=ARGUMENTS=im_kvm/im_kvm.conf,EXECUTABLE=one_im_ssh,NAME=im_kvm
        MAC_PREFIX=00:03
        MANAGER_TIMER=30
        NETWORK_SIZE=254
        PORT=2633
        TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
        VM_DIR=/data1/srv/cloud/one/var/

VM_MAD=DEFAULT=vmm_kvm/vmm_kvm.conf,EXECUTABLE=one_vmm_kvm,NAME=vmm_kvm,TYPE=kvm
        VM_POLLING_INTERVAL=60
--------------------------------------------
Thu May  6 14:43:44 2010 [ONE][E]: SQL command was: SELECT MAX(oid) FROM
vm_pool, error: database is locked
Thu May  6 14:48:45 2010 [ONE][E]: SQL command was: SELECT MAX(oid) FROM
host_pool, error: database is locked

the log file of the scheduler contains these informations
Thu May  6 14:23:28 2010 [SCHED][I]: Init Scheduler Log system
Thu May  6 14:23:28 2010 [SCHED][I]: Starting scheduler loop...
Thu May  6 14:23:28 2010 [SCHED][I]: Scheduler loop started.
Thu May  6 14:28:58 2010 [ONE][E]: SQL command was: SELECT oid FROM
host_pool WHERE state != 4 AND state != 3, error: database is locked
Thu May  6 14:34:28 2010 [ONE][E]: SQL command was: SELECT oid FROM
host_pool WHERE state != 4 AND state != 3, error: database is locked

I have set all necessary environment variables>
how can i solve this problem, did someone have any idea????
thanks in advance for help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100506/a07e4e74/attachment-0002.htm>


More information about the Users mailing list