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] xend start error

To: "Ian Tobin" <itobin@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] xend start error
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Thu, 24 Apr 2008 11:52:36 -0400
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 24 Apr 2008 08:53:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=2+yW2Wqrrqa76FJ3HLgl3T+ICvYjaUsUD81N8lO1gk8=; b=O12sWKDlBgU6eT+Mk1Ayubce9kJc/untmBRKT4F3QXm0bM4sBw1fO036+rwhWN9N7I+hD9ZCLQonYmcSC/xQHSiaBJmmDnydFuyiySlR67LwtILT67iraTVOOq2hngpLfcVfeAPhUdba41SNhY9x+Ui6il6H60ozwh/7StgZ4Oo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Mv0LnWuiRZrztMXiVcVRSTitmOEGy0Xcn1DKi8Pl/soBbGffvPdQKrqzIIvAH/d+2gX9RDlqq1hE+C855RWD307n6FB4J4JHJ9m089dqTdIlgc19yHLyoigMeTh2tTBt1QGqJY4M6X/wDDw4IZERCGiMW7zsAsczYTMgCAZBPkE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1241F505DD3E2145B9BE36BDC4342CFE024175@xxxxxxxxxxxxxxxxxxxxxx>
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: <1241F505DD3E2145B9BE36BDC4342CFE02416F@xxxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0804221812n1ae2ad15xcd318a7d02acc37a@xxxxxxxxxxxxxx> <1241F505DD3E2145B9BE36BDC4342CFE024173@xxxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0804231554o31bc429bh541c13d1c6736d8b@xxxxxxxxxxxxxx> <1241F505DD3E2145B9BE36BDC4342CFE024174@xxxxxxxxxxxxxxxxxxxxxx> <1e16a9ed0804231822i6734509cs80f43ad71cb74ff8@xxxxxxxxxxxxxx> <1241F505DD3E2145B9BE36BDC4342CFE024175@xxxxxxxxxxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
The script you posted doesn't give that error to me.

trying running that script manually from the command line with the option start
so run:

/etc/xen/scripts/network-bridge start

I would also recommend trying either of the irc channels ##xen on freenode or #xen on oftc, that way you can get more immediate feedback and suggestions.

Do post the solution back to the list though, so that if others run into the problem they will be able to find it.

Todd

On Thu, Apr 24, 2008 at 3:58 AM, Ian Tobin <itobin@xxxxxxxxxxxxx> wrote:

Hi Todd,

 

Im not sure what other files to post but here is the whole of that network-bridge file.  Im a bit puzzled why it has done this.  The only change I made before compile was to set XEN_TARGET_X86_PAE  ?= n in Config.mk as my CPU doesn't have PAE support.

 

http://pastebin.com/m29563680

 

thanks in advance

 

Ian

 

 

From: Todd Deshane [mailto:deshantm@xxxxxxxxx]
Sent: 24 April 2008 02:22


To: Ian Tobin
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xend start error

 

Can you post the whole file and any other seemingly relevant files in a pastebin and send a link?


On Wed, Apr 23, 2008 at 7:04 PM, Ian Tobin <itobin@xxxxxxxxxxxxx> wrote:

Hi Todd,

 

Its Debian 3.1 and at the top it says #!/bin/bash

 

Thanks for getting back to me

 

Ian

 

From: Todd Deshane [mailto:deshantm@xxxxxxxxx]
Sent: 23 April 2008 23:54


To: Ian Tobin
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xend start error

 


Hi Ian,

On Wed, Apr 23, 2008 at 6:38 PM, Ian Tobin <itobin@xxxxxxxxxxxxx> wrote:

Hi Todd,

 

I compiled it from source using my 3.0.4 config file as the basis.  I got the source using mericual.

 

I havn't made any changes to the files.

 

Here is the line of 63

 

    [[ "$rootfs" =~ "^nfs" ]] || [[ "$rootopts" =~ "_netdev" ]] && return 0 || return 1

}


What distro are you using?

at the top of the script does it have #!/bin/sh or #!/bin/bash ?

if /bin/sh, check what you /bin/sh symlink points to.

I am off to a meeting, but you could also try to make a simple test bash script to see if that line works.

Todd

 

 

Thanks

 

Ian

 

From: Todd Deshane [mailto:deshantm@xxxxxxxxx]
Sent: 23 April 2008 02:13
To: Ian Tobin
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xend start error

 

Hi Ian,

On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@xxxxxxxxxxxxx> wrote:

Hi,

 

Just installed 3.2 and when I run xend start I get this

 

/etc/xen/scripts/network-bridge: line 63: conditional binary operator expected

 

Any ideas?

 

 

Did you take a look at the network-bridge script? You could post the lines to the list if you need help analyzing.

I am guessing that it is either a change you made in your general configuration, or that one of the tools or packages you have is slightly off.

It is hard to tell without more information.

When you say you installed Xen 3.2, how did you install it, from where? What changes to configuration files did you make after installing it? Was it a fresh install or an upgrade?
 

Cheers,
Todd

Thanks

 

Ian

 

 


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

 

 

 


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