Internal Server Error (500)

kosink

New Member
Jun 22, 2012
7
0
1
can't start vm on proxmox
, It's Show below


mismatched tag at line 11, column 2, byte 326 at /usr/lib/perl5/XML/Parser.pm line 187 (500)


Help me please.......

Thank you.
 
Last edited:
what command produced that error message?
root@AMOEBA02:~# qm list
VMID NAME STATUS MEM(MB) BOOTDISK(GB) PID
12001 RBTCTF-SQA running 8192 40.00 42612
12002 CACHEROUTER-SQA running 8192 40.00 42670
13000 ROBBEN-SQA running 8192 36.00 26059
13001 MRCF-SQA stopped 8192 40.00 0
21001 MMT-SQA running 8192 40.00 45956
21002 ORACLE-SERVER-SQA running 32768 50.00 42875

root@AMOEBA02:~# qm start 13001
mismatched tag at line 11, column 2, byte 326 at /usr/lib/perl5/XML/Parser.pm line 187

And start from http browser is show same error



Thank you,
 
post 'qm config 13001'

and 'pveversion -v'
 
What is the output of:

# ccs_config_validate -f /etc/pve/cluster.conf

root@AMOEBA02:~# qm config 13001
bootdisk: ide0
cores: 4
ide0: CRONUS:13001/vm-13001-disk-1.raw
ide2: none,media=cdrom
memory: 8192
name: MRCF-SQA
net0: e1000=3E:DF:87:94:F3:22,bridge=vmbr4
ostype: other
sockets: 2
root@AMOEBA02:~# pveversion -v
pve-manager: 2.0-54 (pve-manager/2.0/4b59ea39)
running kernel: 2.6.32-10-pve
proxmox-ve-2.6.32: 2.0-63
pve-kernel-2.6.32-10-pve: 2.6.32-63
lvm2: 2.02.88-2pve2
clvm: 2.02.88-2pve2
corosync-pve: 1.4.1-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.8-3
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.7-2
pve-cluster: 1.0-26
qemu-server: 2.0-33
pve-firmware: 1.0-15
libpve-common-perl: 1.0-23
libpve-access-control: 1.0-17
libpve-storage-perl: 2.0-16
vncterm: 1.0-2
vzctl: 3.0.30-2pve2
vzprocps: 2.0.11-2
vzquota: 3.0.12-3
pve-qemu-kvm: 1.0-8
ksm-control-daemon: 1.1-1
root@AMOEBA02:~# ccs_config_validate -f /etc/pve/cluster.conf
tempfile:11: parser error : Opening and ending tag mismatch: clusternode line 5 and cluster
</cluster>
^
tempfile:12: parser error : Premature end of data in tag clusternode line 4
^
tempfile:12: parser error : Premature end of data in tag cluster line 2
^
root@AMOEBA02:~#



root@AMOEBA02:~# cat /etc/pve/cluster.conf
<?xml version="1.0"?>
<cluster config_version="25" name="HA-Cluster">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
<clusternode>
<clusternode name="AMOEBA01" nodeid="2" votes="1">
<clusternode name="AMOEBA02" nodeid="1" votes="1">
</clusternode>
<rm>
<pvevm autostart="1" vmid="101"/>
</rm>
</cluster>
root@AMOEBA02:~#
 
root@AMOEBA02:~# cat /etc/pve/cluster.conf
<?xml version="1.0"?>
<cluster config_version="25" name="HA-Cluster">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
<clusternode>

shoud be: <clusternodes>

<clusternode name="AMOEBA01" nodeid="2" votes="1">
<clusternode name="AMOEBA02" nodeid="1" votes="1">

</clusternode>

shoud be: </clusternodes>

<rm>
<pvevm autostart="1" vmid="101"/>
</rm>
</cluster>

Please be careful when editing the cluster file manually.
 
shoud be: <clusternodes>



shoud be: </clusternodes>



Please be careful when editing the cluster file manually.


can't edit /etc/pve/cluster.conf

After wq: to save file is show below

"/etc/pve/cluster.conf"
"/etc/pve/cluster.conf" E212: Can't open file for writing
Press ENTER or type command to continue
 
you lost quorum? if yes, the filesystem is read-only.

find out why, gain quorum again and fix it.
 
first, fix /etc/cluster/cluster.conf

Then you should be able to start cman again:

# /etc/init.d/cman start

If you finally got quorum, fix /etc/pve/cluster.conf (and increase version number).