[one-users] error : Databae is locked
Ruben S. Montero
rubensm at dacya.ucm.es
Thu May 6 14:02:19 PDT 2010
Hi,
"Connection refused" messages means that oned is not running. The
locking problem could be several daemons running at the same time. Some tips:
* Make sure there is no oned running
* Delete one.db file in $ONE_LOCATION/var (make a backup, if you want
to keep your configurations...)
* Start oned again
Cheers
On Thu, May 6, 2010 at 3:43 PM, salma rebai <rebai.salma at gmail.com> wrote:
> 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
>
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid
URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
More information about the Users
mailing list