From owner-freebsd-virtualization@FreeBSD.ORG Tue Jan 5 21:20:40 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C08E3106568F for ; Tue, 5 Jan 2010 21:20:40 +0000 (UTC) (envelope-from mmadigan@nyit.edu) Received: from ip1.nyit.edu (ip1.nyit.edu [64.35.176.47]) by mx1.freebsd.org (Postfix) with ESMTP id 676C28FC1F for ; Tue, 5 Jan 2010 21:20:40 +0000 (UTC) Received: from owexht1.admin.nyit.edu (owexht1.nyit.edu [10.10.24.112]) by ip1.nyit.edu (8.13.8+Sun/8.13.8) with ESMTP id o05L6lXS029643 for ; Tue, 5 Jan 2010 16:06:47 -0500 (EST) Received: from owexmailbox-srv.admin.nyit.edu ([fe80::287a:dfe5:ba48:b6be]) by owexht1.admin.nyit.edu ([fe80::a4fd:c6d:9dff:44fc%10]) with mapi; Tue, 5 Jan 2010 16:06:34 -0500 From: Michael Madigan To: "freebsd-virtualization@freebsd.org" Date: Tue, 5 Jan 2010 16:06:33 -0500 Thread-Topic: IMUNES on FreeBSD 8.0-RELEASE... Thread-Index: AQHKjkdLAkZxxatIMEeD22k+oXPgrA== Message-ID: <9097211CB1FE274DB453E08FB78B4DBC339DAC66F7@OWEXMAILBOX-SRV.admin.nyit.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: IMUNES on FreeBSD 8.0-RELEASE... X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 21:20:40 -0000 Hello, Has anyone been successful in getting IMUNES to run on FreeBSD 8.0-RELEASE?= I have been trying and have had no luck. I followed the directions from = the following link exactly: http://www.mail-archive.com/freebsd-virtualization@freebsd.org/msg00156.htm= l I have no problem starting up IMUNES or creating network topologies. Howev= er, when I tried to run a network topology, I would get the following erro= r: can't use empty string as operand of "&&" can't use empty string as operand of "&&" while executing "if { (![info exists mpid] || $mpid =3D=3D "") && $ssh } { set mpid [openFwrd [expr $rmPort + 10] $rmPort $userName@$rHost] }" (procedure "remoteStart" line 33) invoked from within "remoteStart " (procedure "nexec" line 7) invoked from within "nexec id -u" (procedure "setOperMode" line 11) invoked from within "setOperMode exec" invoked from within ".#menubar.#menubar#experiment invoke active" ("uplevel" body line 1) invoked from within "uplevel #0 [list $w invoke active]" (procedure "tk::MenuInvoke" line 50) invoked from within "tk::MenuInvoke .#menubar.#menubar#experiment 1" (command bound to event) After searching through some of the tcl files, I tried changing the followi= ng lines in exec.tcl under the remoteStart procedure from=20 if { (![info exists mpid] || $mpid =3D=3D "") && $ssh } { set mpid [openFwrd [expr $rmPort + 10] $rmPort $userName@$rHost] } if { (![info exists epid] || $epid =3D=3D "") && $ssh } { set epid [openFwrd [expr $rePort + 10] $rePort $userName@$rHost] } to if { (![info exists mpid] || $mpid =3D=3D "") && ($ssh !=3D "") } { set mpid [openFwrd [expr $rmPort + 10] $rmPort $userName@$rHost] } if { (![info exists epid] || $epid =3D=3D "") && ($ssh !=3D "") } { set epid [openFwrd [expr $rePort + 10] $rePort $userName@$rHost] } I now get past the previous errors, but now I get the following error: "Cannot open sockets" I have never done any tcl programming, so I don't have a clue of where to s= tart debugging a program like this. Does anyone have any ideas on how to r= esolve this? Maybe I'm missing something? Any help would be greatly appre= ciated!! Thanks!! Regards, Mike= From owner-freebsd-virtualization@FreeBSD.ORG Sat Jan 9 15:22:12 2010 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9467106566C for ; Sat, 9 Jan 2010 15:22:12 +0000 (UTC) (envelope-from zec@icir.org) Received: from labs3.cc.fer.hr (labs3.cc.fer.hr [161.53.72.21]) by mx1.freebsd.org (Postfix) with ESMTP id 4B5328FC0A for ; Sat, 9 Jan 2010 15:22:11 +0000 (UTC) Received: from sluga.fer.hr (sluga.cc.fer.hr [161.53.72.14]) by labs3.cc.fer.hr (8.13.8+Sun/8.12.10) with ESMTP id o09FMBSE014269 for ; Sat, 9 Jan 2010 16:22:11 +0100 (CET) Received: from localhost ([161.53.19.8]) by sluga.fer.hr with Microsoft SMTPSVC(6.0.3790.3959); Sat, 9 Jan 2010 16:22:10 +0100 From: Marko Zec To: freebsd-virtualization@freebsd.org Date: Sat, 9 Jan 2010 16:22:07 +0100 User-Agent: KMail/1.9.10 References: <9097211CB1FE274DB453E08FB78B4DBC339DAC66F7@OWEXMAILBOX-SRV.admin.nyit.edu> In-Reply-To: <9097211CB1FE274DB453E08FB78B4DBC339DAC66F7@OWEXMAILBOX-SRV.admin.nyit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001091622.07574.zec@icir.org> X-OriginalArrivalTime: 09 Jan 2010 15:22:10.0976 (UTC) FILETIME=[8390EA00:01CA913F] Cc: Subject: Re: IMUNES on FreeBSD 8.0-RELEASE... X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jan 2010 15:22:13 -0000 On Tuesday 05 January 2010 22:06:33 Michael Madigan wrote: > Hello, > > Has anyone been successful in getting IMUNES to run on FreeBSD 8.0-RELEASE? > I have been trying and have had no luck. I followed the directions from > the following link exactly: > > http://www.mail-archive.com/freebsd-virtualization@freebsd.org/msg00156.htm >l > > I have no problem starting up IMUNES or creating network topologies. > However, when I tried to run a network topology, I would get the following > error: Hi Michael, I'm not shure why and how, but you've triggered some experimental code in the IMUNES GUI which was not supposed to be in the tree for a while, possibly due to some environment variable you might have set. Nevertheless, I've removed the offending code from the CVS - could you try refetching the GUI code from the anoncvs and let me know whether it fixes the issue for you? Cheers, Marko > > can't use empty string as operand of "&&" > can't use empty string as operand of "&&" > while executing > "if { (![info exists mpid] || $mpid == "") && $ssh } { > set mpid [openFwrd [expr $rmPort + 10] $rmPort $userName@$rHost] > }" > (procedure "remoteStart" line 33) > invoked from within > "remoteStart " > (procedure "nexec" line 7) > invoked from within > "nexec id -u" > (procedure "setOperMode" line 11) > invoked from within > "setOperMode exec" > invoked from within > ".#menubar.#menubar#experiment invoke active" > ("uplevel" body line 1) > invoked from within > "uplevel #0 [list $w invoke active]" > (procedure "tk::MenuInvoke" line 50) > invoked from within > "tk::MenuInvoke .#menubar.#menubar#experiment 1" > (command bound to event) > > > After searching through some of the tcl files, I tried changing the > following lines in exec.tcl under the remoteStart procedure from > > > if { (![info exists mpid] || $mpid == "") && $ssh } { > set mpid [openFwrd [expr $rmPort + 10] $rmPort $userName@$rHost] > } > if { (![info exists epid] || $epid == "") && $ssh } { > set epid [openFwrd [expr $rePort + 10] $rePort $userName@$rHost] > } > > > to > > > if { (![info exists mpid] || $mpid == "") && ($ssh != "") } { > set mpid [openFwrd [expr $rmPort + 10] $rmPort $userName@$rHost] > } > if { (![info exists epid] || $epid == "") && ($ssh != "") } { > set epid [openFwrd [expr $rePort + 10] $rePort $userName@$rHost] > } > > > I now get past the previous errors, but now I get the following error: > > "Cannot open sockets" > > I have never done any tcl programming, so I don't have a clue of where to > start debugging a program like this. Does anyone have any ideas on how to > resolve this? Maybe I'm missing something? Any help would be greatly > appreciated!! Thanks!! > > Regards, > Mike_______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to > "freebsd-virtualization-unsubscribe@freebsd.org"