[one-users] 4.2 -- Error parsing XML Document

Benadik, Jan jan.benadik at atos.net
Sun Jul 28 23:13:00 PDT 2013


If I am right, there is an upgrade of the database structure needed first to start one (versions before it was needed).
You have still an older DB structure from the previous version.

Check the documentation.


J.B.


Dňa 29.07.2013 06:59, chenxiang at aquala-tech.com<mailto:chenxiang at aquala-tech.com> wrote / napísal(a):


Hi,

I am installing OpenNebula 4.2 from source. I successfully did the following:


$ cd opennebula-4.2.0
$ scons --sqlite=no --mysql=yes
$ ./install.sh -u oneadmin -g cloud -d /srv/cloud/one


I setup the necessary environment variables, as well as the one_auth file.
Then I started ones with the folloing error message:


oneadmin at vdc:~$ one start
Error parsing XML Document
oned failed to start

Below is what I have in var/oned.log:


oneadmin at vdc:~$ more var/oned.log
Mon Jul 29 12:57:37 2013 [ONE][I]: Starting OpenNebula 4.2.0
----------------------------------------
     OpenNebula Configuration File
----------------------------------------
AUTH_MAD=AUTHN=ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad
DATASTORE_CAPACITY_CHECK=yes
DATASTORE_LOCATION=/srv/cloud/one/var//datastores
DATASTORE_MAD=ARGUMENTS=-t 15 -d
dummy,fs,vmfs,iscsi,lvm,ceph,EXECUTABLE=one_datastore
DB=BACKEND=mysql,DB_NAME=on42,PASSWD=oneadmin,PORT=0,SERVER=localhost,USER=oneadmin
DEFAULT_DEVICE_PREFIX=hd
DEFAULT_IMAGE_TYPE=OS
DEFAULT_UMASK=177
ENABLE_OTHER_PERMISSIONS=YES
HM_MAD=EXECUTABLE=one_hm
HOST_MONITORING_EXPIRATION_TIME=86400
HOST_PER_INTERVAL=15
IMAGE_RESTRICTED_ATTR=SOURCE
IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=kvm
IM_MAD=ARGUMENTS=-c -t 15 -r 0 vmware,EXECUTABLE=one_im_sh,NAME=vmware
LOG=DEBUG_LEVEL=3,SYSTEM=file
MAC_PREFIX=02:00
MANAGER_TIMER=15
MONITORING_INTERVAL=300
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=/var/tmp/one
SESSION_EXPIRATION_TIME=900
TM_MAD=ARGUMENTS=-t 15 -d
dummy,lvm,shared,qcow2,ssh,vmfs,iscsi,ceph,EXECUTABLE=one_tm
VM_MAD=ARGUMENTS=-t 15 -r 0
kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=kvm,TYPE=kvm
VM_MAD=ARGUMENTS=-t 15 -r 0 vmware -s
sh,DEFAULT=vmm_exec/vmm_exec_vmware.conf,EXECUTABLE=one_vmm_sh,NAME=vmware,TYPE=vmware
VM_MONITORING_EXPIRATION_TIME=86400
VM_PER_INTERVAL=5
VM_RESTRICTED_ATTR=CONTEXT/FILES
VM_RESTRICTED_ATTR=NIC/MAC
VM_RESTRICTED_ATTR=NIC/VLAN_ID
VM_SUBMIT_ON_HOLD=NO
VNC_BASE_PORT=5900
----------------------------------------
Mon Jul 29 12:57:37 2013 [ONE][I]: Log level:3
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Mon Jul 29 12:57:37 2013 [ONE][I]: Checking database version.


I am experimenting on the same machine with 3.8.3 and 4.1.80. Both of them
worked just fine.

What could be wrong?

Best regards,

Chen Xiang



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


--
[cid:part1.07080201.04090601 at atos.net]
Ján Beňadik
Managed Services - Solution Design Architect
mobile: +421 903 691 634
fax: +421 2 6852 8380
jan.benadik at atos.net<mailto://jan.benadik@atos.net>
Vinohradnicka 6, 971 01 Prievidza
www.sk.atos.net<http://www.sk.atos.net>
__________________________________

[cid:part4.04050806.02020403 at atos.net]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130729/64984411/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ciara.gif
Type: image/gif
Size: 281 bytes
Desc: ciara.gif
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130729/64984411/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atos.gif
Type: image/gif
Size: 1723 bytes
Desc: atos.gif
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130729/64984411/attachment-0005.gif>


More information about the Users mailing list