Skip to contentSkip to conversation

libxl: xl create failure

DISCUSSION Christoph Egger 2 participants 4 messages Sep 20, 2010

lore
Share & tools
lore
#0 lore raw

Hi!

xl create <guestconfig> fails with:

libxl: error: libxl_dom.c:621:libxl_userdata_store cannot write /var/lib/xen/userdata-n.2.6720430c-9ac4-df11-ad55-00e081806fbe.xl for /var/lib/xen/userdata-d.2.6720430c-9ac4-df11-ad55-00e081806fbe.xl: No such file or directory

The directory /var/lib/xen does not exist. In that case it should be created as the python code is doing.

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#1 lore raw

Christoph Egger writes ("[Xen-devel] libxl: xl create failure"):

Quoted 2 lines

The directory /var/lib/xen does not exist. In that case it should be created as the python code is doing.

The directory /var/lib/xen is supposed to be made by "make install", at line 62 of tools/Makefile.

You need to understand why it isn't being created on your setup.

Ian.

#2 lore raw
Quoted 8 lines · On Monday 20 September 2010 16:56:35 Ian Jackson wrote:

Christoph Egger writes ("[Xen-devel] libxl: xl create failure"):

Quoted 2 lines

The directory /var/lib/xen does not exist. In that case it should be created as the python code is doing.

The directory /var/lib/xen is supposed to be made by "make install", at line 62 of tools/Makefile.

You need to understand why it isn't being created on your setup.

I "install" xen tools by copying everthing under dist/install/usr to /usr.

Christoph

Signature · 6 lines
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
#3 lore raw

Christoph Egger writes ("Re: [Xen-devel] libxl: xl create failure"):

Quoted 4 lines · On Monday 20 September 2010 16:56:35 Ian Jackson wrote:
Quoted 1 line

You need to understand why it isn't being created on your setup.

I "install" xen tools by copying everthing under dist/install/usr to /usr.

There's your problem. Don't Do That Then. Or, if you insist, you must manually create the directories outside /usr.

Ian.