Page 1 of 1

XML problem ... Failed to create the VirtualBox COM object.

Posted: 11. Jun 2009, 19:16
by booberfraggle
I am running VirtualBox 2.2.4 on a CentOS 5 host. Everything is ok, but when I moved my entire .Virtualbox directory from a Fedora 10 box to CentOS 5 I get the 'Failed to create COM' error.

I have messed with it a bit and the problem appears to be linked to having machines with large numbers of snapshots; if I remove them from the XML file then all is well, otherwise its a no go.

I'd really like to use this collection of machines on this box, but short of loading them somewhere else and then removing the snapshots, I can't see a way forward.

Has anyone seen this before and is there a fix? I expect it has to do with an XML library someplace, as I said no problems loading the machine on another box.

Bill

Re: XML problem ... Failed to create the VirtualBox COM object.

Posted: 11. Jun 2009, 19:54
by booberfraggle
I solved it ... it is an XML parser problem fixed by updating the package as follows:

1) Download new package from here ftp://xmlsoft.org/libxml2/

I used libxml2-2.7.3-1.x86_64.rpm, the latest 64bit version RPM

If you are using 32bit then chose other of the other packages to upgrade

2 Install the package, with the rpm command like this, as the root user:

rpm -Uvh --force ibxml2-2.7.3-1.x86_64.rpm

The force lets the rpm install even though it has to overwrite man pages.

Don't try to uninstall the old package first, it has a lot of dependencies!

That's it, after the install you will be able to load up big VM snapshots etc.

Bill