From owner-freebsd-virtualization@FreeBSD.ORG Thu Jan 14 14:46:36 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 9AC5F106568D for ; Thu, 14 Jan 2010 14:46:36 +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 695DC8FC0A for ; Thu, 14 Jan 2010 14:46:35 +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 o0EEjvqJ003990; Thu, 14 Jan 2010 09:46:11 -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; Thu, 14 Jan 2010 09:45:50 -0500 From: Michael Madigan To: Marko Zec , "freebsd-virtualization@freebsd.org" Date: Thu, 14 Jan 2010 09:44:01 -0500 Thread-Topic: IMUNES on FreeBSD 8.0-RELEASE... Thread-Index: AcqRP6mKq58yKG+zRDeRKr+kIHYj6wD6FmdL Message-ID: <9097211CB1FE274DB453E08FB78B4DBC339DAC6700@OWEXMAILBOX-SRV.admin.nyit.edu> References: <9097211CB1FE274DB453E08FB78B4DBC339DAC66F7@OWEXMAILBOX-SRV.admin.nyit.edu>, <201001091622.07574.zec@icir.org> In-Reply-To: <201001091622.07574.zec@icir.org> 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 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: Thu, 14 Jan 2010 14:46:36 -0000 Hello Marko, Thanks for the reply!! I started from scratch and followed the directions = with the new version of IMUNES. Only difference this time was that I used = tk-8.6.b.1_1 and created a symlink named wish8.4 using the following comman= d:=20 ln -s /usr/local/bin/wish8.6 /usr/local/bin/wish8.4 While IMUNES did not complain this time, it still did not work right when t= rying to execute an experiment (it would disable the "Execute" button and t= he toolbar on the right hand side, and I was not able to open a shell windo= w to any of the nodes because that option was also disabled). I noticed th= at I had been running IMUNES as a regular user and not as root. So, I logg= ed into KDE as root (after editing /usr/local/share/config/kdm/kdmrc and ch= anging AllowRootLogin=3Dfalse to AllowRootLogin=3Dtrue), and IMUNES ran fin= e. After playing around a little and looking into some of the IMUNES tcl f= iles, I was able to get IMUNES running under a regular user by doing the fo= llowing: chmod 4755 /usr/local/bin/wish8.6 chmod 4555 /usr/sbin/vimage I don't have the older version of IMUNES with the experimental code anymore= , but I think it would run fine as a regular user after the above changes. = Thanks for your help!!=20 =20 Regards, Mike ________________________________________ From: Marko Zec [zec@icir.org] Sent: Saturday, January 09, 2010 10:22 AM To: freebsd-virtualization@freebsd.org Cc: Michael Madigan Subject: Re: IMUNES on FreeBSD 8.0-RELEASE... 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-RELEAS= E? > 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.h= tm >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 followi= ng > error: Hi Michael, I'm not shure why and how, but you've triggered some experimental code in t= he IMUNES GUI which was not supposed to be in the tree for a while, possibly d= ue to some environment variable you might have set. Nevertheless, I've remove= d the offending code from the CVS - could you try refetching the GUI code fro= m 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 =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 > following lines in exec.tcl under the remoteStart procedure from > > > 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 > start debugging a program like this. Does anyone have any ideas on how t= o > 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"=