WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Error conecting to xend: no such file or directory. Is x

To: Michael Mendoza <michaelux@xxxxxxxxx>
Subject: Re: [Xen-users] Error conecting to xend: no such file or directory. Is xend running?
From: Quintin Russ <xen@xxxxxxxxxxxxx>
Date: Sun, 11 Jun 2006 20:25:43 +1200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 11 Jun 2006 01:25:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <d6d9f47b0606102222t5eee68e0x7806381b83bb614f@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <d6d9f47b0606102222t5eee68e0x7806381b83bb614f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.4 (X11/20060516)
Hi Michael,

Sounds like the directories:

/var/run/xenstored
/var/run/xend

are not being created.

I added the following code to /etc/init.d/xend which seems to make the
problem go away, unfortunately it doesn't happen immediately on boot
(anyone else suggest why?) So when I boot the server I go #
/etc/init.d/xend restart

That generally fixes it.

Code:

function await_daemons_up
{
        # STHFIX - On Ubuntu /var/run/xenstored does not exist after reboot
        if [ ! -d /var/run/xenstored ] ; then
                mkdir /var/run/xenstored
        fi

        if [ ! -d /var/run/xend ] ; then
                mkdir /var/run/xend
        fi
        #STHFIX END

Code END


Best Regards,

Quintin



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users