IMUNES on FreeBSD 8.0-RELEASE...

Michael Madigan mmadigan at nyit.edu
Tue Jan 5 21:20:40 UTC 2010


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.html

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:


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


More information about the freebsd-virtualization mailing list