Article ID: 119415, created on Dec 30, 2013, last review on May 11, 2014

  • Applies to:
  • Virtuozzo hypervisor

Symptoms

Virtual machine backup fails with the following error message:

# prlctl backup MyVM
Failed to backed up the VM: The configuration file you specified is invalid. Make sure that the specified file is a valid Parallels virtual machine configuration file and it is not corrupt, or select another file.

Similar entries can be found in the /var/log/parallels.log file:

12-30 13:11:53.336 F /disp:7144:2ffff700/ Task '25Task_CreateVmBackupSource' with uuid = {5dc5e74a-a7c0-4bf7-baec-8cac9d684e0d} was started. Flags = 0x800
12-30 13:11:53.340 I /disp:7144:2ffff700/ Disk /var/parallels/MyVM.pvm/harddisk.hdd has backup's snapshot {704718e1-2314-44c8-9087-d78ed36b0f4e}
12-30 13:11:53.349 F /disp:7144:2ffff700/ Vm state was changed from VMS_RUNNING to VMS_DELETING_STATE for vm {fda6da57-d507-4bf5-8942-cea47c639871} (name='MyVM')
12-30 13:11:53.350 F /disp:7144:58dfa700/ Task '19Task_DeleteSnapshot' with uuid = {02bb178f-9940-42c0-a3b3-ad0138239b3f} was started. Flags = 0x1000
12-30 13:11:53.357 F /prl_xml_model:7144:58dfa700/ Error: cannot open XML file '/var/parallels/MyVM.pvm/Snapshots/.pvc'!
12-30 13:11:53.357 F /disp:7144:58dfa700/ Can't parse VM config file /var/parallels/MyVM.pvm/Snapshots/.pvc. error = 0x80000036( 'PRL_ERR_PARSE_VM_CONFIG' )
12-30 13:11:53.357 F /disp:7144:58dfa700/ Error while delete snapshot with code [0x80000036][PRL_ERR_PARSE_VM_CONFIG]
12-30 13:11:53.357 F /disp:7144:58dfa700/ Error occurred while registering configuration with code [0x80000036][PRL_ERR_PARSE_VM_CONFIG]
12-30 13:11:53.358 F /disp:7144:58dfa700/ Recieved event PET_DSP_EVT_VM_CONTINUED (100020) from vm {fda6da57-d507-4bf5-8942-cea47c639871} (name='MyVM')
12-30 13:11:53.366 F /disp:7144:58dfa700/ Vm state was changed from VMS_DELETING_STATE to VMS_RUNNING for vm {fda6da57-d507-4bf5-8942-cea47c639871} (name='MyVM')

Cause

Necessary configuration information about an existing snapshot has been lost. (For example, if the process of deleting a snapshot had been forcibly killed.)

Resolution

  1. Stop the virtual machine
  2. Create a backup copy of the virtual machine's hdd (create a copy of /var/parallels/MyVM.pvm/harddisk.hdd)
  3. Manually delete the snapshots:

    # prl_disk_tool merge --hdd /var/parallels/MyVM.pvm/debian6-x86_64-he-vmtempl-0.hdd
    
  4. Rename existing Snapshots.xml file and Snapshots folder:

    # mv /var/parallels/MyVM.pvm/Snapshots.xml{,_bk}
    # mv /var/parallels/MyVM.pvm/Snapshots{,_bk}
    
  5. Start the virtual machine, make sure it is running ok.

  6. Run backup command once again.

    (Once the process is finished and the virtual machine is running successfully, you can delete the virtual hard disk's backup that has been created during step 2.)

Search Words

PRL_ERR_PARSE_VM_CONFIG

The configuration file you specified is invalid.

0x80000036

Failed to backed up the VM

Can't parse VM config file

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF