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? Thanks Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Ian, On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@tidyhosts.com> 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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 } Thanks Ian From: Todd Deshane [mailto:deshantm@gmail.com] Sent: 23 April 2008 02:13 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error Hi Ian, On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@tidyhosts.com> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi Ian, On Wed, Apr 23, 2008 at 6:38 PM, Ian Tobin <itobin@tidyhosts.com> 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@gmail.com] > *Sent:* 23 April 2008 02:13 > *To:* Ian Tobin > *Cc:* Xen-users@lists.xensource.com > *Subject:* Re: [Xen-users] xend start error > > > > Hi Ian, > > On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@tidyhosts.com> 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@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@gmail.com] Sent: 23 April 2008 23:54 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error Hi Ian, On Wed, Apr 23, 2008 at 6:38 PM, Ian Tobin <itobin@tidyhosts.com> 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@gmail.com] Sent: 23 April 2008 02:13 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error Hi Ian, On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@tidyhosts.com> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@tidyhosts.com> 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@gmail.com] > *Sent:* 23 April 2008 23:54 > > *To:* Ian Tobin > *Cc:* Xen-users@lists.xensource.com > *Subject:* Re: [Xen-users] xend start error > > > > > Hi Ian, > > On Wed, Apr 23, 2008 at 6:38 PM, Ian Tobin <itobin@tidyhosts.com> 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@gmail.com] > *Sent:* 23 April 2008 02:13 > *To:* Ian Tobin > *Cc:* Xen-users@lists.xensource.com > *Subject:* Re: [Xen-users] xend start error > > > > Hi Ian, > > On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@tidyhosts.com> 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@lists.xensource.com > http://lists.xensource.com/xen-users > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@gmail.com] Sent: 24 April 2008 02:22 To: Ian Tobin Cc: Xen-users@lists.xensource.com 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@tidyhosts.com> 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@gmail.com] Sent: 23 April 2008 23:54 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error Hi Ian, On Wed, Apr 23, 2008 at 6:38 PM, Ian Tobin <itobin@tidyhosts.com> 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@gmail.com] Sent: 23 April 2008 02:13 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error Hi Ian, On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@tidyhosts.com> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok will do, ill do some testing in a bit Thanks Ian From: Todd Deshane [mailto:deshantm@gmail.com] Sent: 24 April 2008 16:53 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error 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@tidyhosts.com> 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@gmail.com] Sent: 24 April 2008 02:22 To: Ian Tobin Cc: Xen-users@lists.xensource.com 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@tidyhosts.com> 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@gmail.com] Sent: 23 April 2008 23:54 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error Hi Ian, On Wed, Apr 23, 2008 at 6:38 PM, Ian Tobin <itobin@tidyhosts.com> 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@gmail.com] Sent: 23 April 2008 02:13 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error Hi Ian, On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@tidyhosts.com> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@tidyhosts.com> 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@gmail.com] > *Sent:* 24 April 2008 02:22 > > *To:* Ian Tobin > *Cc:* Xen-users@lists.xensource.com > *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@tidyhosts.com> 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@gmail.com] > *Sent:* 23 April 2008 23:54 > > > *To:* Ian Tobin > *Cc:* Xen-users@lists.xensource.com > *Subject:* Re: [Xen-users] xend start error > > > > > Hi Ian, > > On Wed, Apr 23, 2008 at 6:38 PM, Ian Tobin <itobin@tidyhosts.com> 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@gmail.com] > *Sent:* 23 April 2008 02:13 > *To:* Ian Tobin > *Cc:* Xen-users@lists.xensource.com > *Subject:* Re: [Xen-users] xend start error > > > > Hi Ian, > > On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@tidyhosts.com> 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@lists.xensource.com > http://lists.xensource.com/xen-users > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Just to give you a heads up, it appears that the issue is due to the iproute command. I changed the apt sources to point to unstable and got a later version of iproute. Xend now starts. Very strange. Thanks for your advice. Ian From: Todd Deshane [mailto:deshantm@gmail.com] Sent: 24 April 2008 16:53 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error 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@tidyhosts.com> 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@gmail.com] Sent: 24 April 2008 02:22 To: Ian Tobin Cc: Xen-users@lists.xensource.com 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@tidyhosts.com> 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@gmail.com] Sent: 23 April 2008 23:54 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error Hi Ian, On Wed, Apr 23, 2008 at 6:38 PM, Ian Tobin <itobin@tidyhosts.com> 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@gmail.com] Sent: 23 April 2008 02:13 To: Ian Tobin Cc: Xen-users@lists.xensource.com Subject: Re: [Xen-users] xend start error Hi Ian, On Tue, Apr 22, 2008 at 7:14 AM, Ian Tobin <itobin@tidyhosts.com> 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@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users