[one-users] oned does not listen

saint at eng.it saint at eng.it
Thu Nov 25 07:09:06 PST 2010


>>>>> "o" == opennebula  <opennebula at nerling.ch> writes:
o> Sorry Gian, I would never try to say you are Dumb!

I was just joking! :) Don't worry!!!!!

o>  By the way
o> could you look at /var/log/one/sched.log ? 

It says it can't contact the host.

What I see is that oned starts, halts  waiting for a rpc as in this ps
-flu line (blanks replaced with '.'):

0.S.oneadmin.13317.....1..0..75...0.-.18881.rpc_wa.11:26.pts/3....00:00:00./srv/cloud/one/bin/oned.-f
............................................^^^^^^

and the end of the logfile says:

-----------8<---------------------------------------------------------
Thu Nov 25 11:26:05 2010 [ONE][I]: Init OpenNebula Log system
Thu Nov 25 11:26:05 2010 [ONE][I]: Log Level: 3
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Thu Nov 25 11:26:05 2010 [ONE][I]: ----------------------------------------
Thu Nov 25 11:26:05 2010 [ONE][I]:      OpenNebula Configuration File      
Thu Nov 25 11:26:05 2010 [ONE][I]: ----------------------------------------
Thu Nov 25 11:26:05 2010 [ONE][I]: 
----------------------------------
DB=BACKEND=sqlite
DEBUG_LEVEL=3
DEFAULT_DEVICE_PREFIX=hd
DEFAULT_IMAGE_TYPE=OS
HM_MAD=EXECUTABLE=one_hm
HOST_MONITORING_INTERVAL=600
IMAGE_REPOSITORY_PATH=/srv/cloud/var/images
IM_MAD=ARGUMENTS=kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
IM_MAD=ARGUMENTS=xen,EXECUTABLE=one_im_ssh,NAME=im_xen
MAC_PREFIX=02:00
MANAGER_TIMER=15
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=/var/tmp/one
TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
VM_DIR=/srv/cloud/one/var
VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
VM_MAD=ARGUMENTS=kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm
VM_POLLING_INTERVAL=600
VNC_BASE_PORT=5900
----------------------------------
Thu Nov 25 11:26:05 2010 [ONE][I]: Bootstraping OpenNebula database.
-------8<----------------------------------------8<---------------

So it seems it hangs opening the sqllite db.

I run this small test...



-bash-3.2$ sqlite3 prava.db 
SQLite version 3.6.17
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .databases
Error: database is locked


prava.db was not existing, 

Furthermore i noticed that the example from sqllite tutorial:

sqlite3 test.db  "create table t1 (t1key INTEGER PRIMARY KEY,data TEXT,num
double,timeEnter DATE);"

works on local drivers but not on nfs-mounted drivers.

Any hint - except use MySql :) ?

Thank you in advance!

--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Divisione Ricerca ed Innovazione / Research & Innovation Division
GianUberto.Lauri at eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD)
Tel. +39-049.8283.538
Fax  +39-049.8283.569
http://www.eng.it 




More information about the Users mailing list