Date: Thu, 11 Jun 2009 10:46:02 -0700 (PDT) From: Dino Vliet <dino_vliet@yahoo.com> To: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Cc: mi@aldan.algebra.com, freebsd-questions@freebsd.org, mm@FreeBSD.org Subject: Re: tcllib error while installing tcllib on amd64 system running freebsd 7.0 Message-ID: <792370.76085.qm@web51105.mail.re2.yahoo.com>
next in thread | raw e-mail | index | archive | help
--- On Mon, 6/8/09, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org= > wrote: From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> Subject: Re: tcllib error while installing tcllib on amd64 system running f= reebsd 7.0 To: "Dino Vliet" <dino_vliet@yahoo.com> Cc: freebsd-questions@freebsd.org, mm@FreeBSD.org, mi@aldan.algebra.com Date: Monday, June 8, 2009, 10:56 PM Dino Vliet <dino_vliet@yahoo.com> writes: > [*=A0=A0 ]=A0 [8.6b1] comm=A0=A0=A0=A0=A0=A0=A0 <comm.test>!Connect to re= mote failed: couldn't open socket: connection timed out=A0 Taking a look in the comm.test file, it looks to me like you already had something on port 12345, so an attempt to open such a port failed. --=20 Lowell Gilbert, embedded/networking software engineer, Boston area =A0=A0=A0 =A0=A0=A0 http://be-well.ilk.org/~lowell/ Hi thanks for your answer but I didn't manage to solve this by looking at y= our file. My open ports: [root@dual /usr/ports/devel/tcllib]# netstat -na | grep tcp tcp4=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0 0=A0 192.168.2.103.22=A0=A0=A0=A0= =A0=A0 192.168.2.100.43051=A0=A0=A0 ESTABLISHED tcp4=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0 0=A0 127.0.0.1.65033=A0=A0=A0=A0=A0= =A0=A0 *.*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 LISTEN tcp4=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0 0=A0 192.168.2.103.22=A0=A0=A0=A0= =A0=A0 192.168.2.100.43050=A0=A0=A0 ESTABLISHED tcp4=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0 0=A0 127.0.0.1.25=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0 *.*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 L= ISTEN tcp4=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0 0=A0 *.22=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 *.*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 LISTEN tcp6=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0 0=A0 *.22=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 *.*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 LISTEN tcp4=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0 0=A0 127.0.0.1.5432=A0=A0=A0=A0=A0= =A0=A0=A0 *.*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 LIST= EN tcp6=A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0=A0 0=A0 ::1.5432=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0 *.*=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 LISTEN vi work/tcllib-1.11/modules/comm/comm.test Going to the port line gives me: (I changed it manually to 47557) test comm-5.0 {-port already in use} { =A0=A0=A0 # First start a server on port 12345 =A0=A0=A0 set port 47557 =A0=A0=A0 catch {set shdl [socket -server foo $port]} =A0=A0=A0 catch {::comm::comm new bar -port $port -listen 1 -local 0} msg =A0=A0=A0 catch {close $shdl} =A0=A0=A0 unset -nocomplain shdl port =A0=A0=A0 set msg } {couldn't open socket: address already in use} The error message I get is: [*=A0=A0 ]=A0 [8.6b1] comm=A0=A0=A0=A0=A0=A0=A0 <comm.test>!Connect to remo= te failed: couldn't open socket: connection timed out !while executing !"::comm::comm_cmd_send ::comm::comm 65033 {slaveat 51332}" !("uplevel" body line 1) !invoked from within !"uplevel 1 [linsert $args 0 $method $chan]" !(procedure "::comm::comm" line 6) !invoked from within !"::comm::comm send [lindex $argv 2] [list slaveat [::comm::comm self]]" !(file "/usr/ports/devel/tcllib/work/tcllib-1.11/spawn" line 9) Can there be an issue because I have the pf firewall enabled which blocks a= ll? Brgds Dino =0A=0A=0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?792370.76085.qm>