From owner-freebsd-questions@FreeBSD.ORG Thu Jun 11 17:46:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E888F1065677 for ; Thu, 11 Jun 2009 17:46:03 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51105.mail.re2.yahoo.com (web51105.mail.re2.yahoo.com [206.190.38.147]) by mx1.freebsd.org (Postfix) with SMTP id A09548FC20 for ; Thu, 11 Jun 2009 17:46:03 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: (qmail 77138 invoked by uid 60001); 11 Jun 2009 17:46:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1244742362; bh=kLkEriVlHnEZKe7Kd+7CtiVPgWxbzZmZyye1u1cAHq4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=vFBO1JiGzYpWYonl4tWLvqgn9oGOZfuqrUV7zhxUAaxBE1e2yfthbu8IOBYYOq4/HHO7lcoRNdUFh36NerKRsUj1FWRT2YcMgLp29G3qQW8p2eYyWkHRTiXlNt+0HJoPQhpb3RgkvJSGQPa0Z0keGPUeMqAzsw4yZFNxkbkiAXU= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=vu2lghQ+YVmkAxxvr9mzwMXuHV2hQW58AH4F8CL2FcCqTGuhMoFGTZaKS8GMQpNe+nAJqZlLoP3dSyvST+2qGGzH9d995zJtdKY5cI/ctSbVU3+wrIs6iuw1Ch/FwA/cleaweyZBJT3XkHnT8Znr0kEDt9VNcq+LLxfIJS56K20=; Message-ID: <792370.76085.qm@web51105.mail.re2.yahoo.com> X-YMail-OSG: gX_f7FYVM1ky99O.18XYRHn_nyjJtBj6kM9CSnKOPLzOOp25rWw2dOQ9P0LjspSck65bo7O7WgzIuZIEAxkGOtSeBJ5VXwYpK0jTXpczqc6mRwgsrOKrXAqxN.qQanOhxpnYSC8Dk098.G6tl3YpRimWYFudZV7zpLKVgGYapd57tGNSA9Pvg0YCHhZTPj2yCGlb939xdDw4aPohE_VdUqLqQWE7GUVbGp_5z7LlTLUnTzz0X5wb4DufQ4arwJZcSaY8kIPKiCbjYe1NCGJEH8oTBN4eH5DiPMVPKbYuz0nMsDrkzIqglDeGtNKodeTuYlKfsSPScS17VEoyjg-- Received: from [62.51.124.86] by web51105.mail.re2.yahoo.com via HTTP; Thu, 11 Jun 2009 10:46:02 PDT X-Mailer: YahooMailClassic/5.4.12 YahooMailWebService/0.7.289.15 Date: Thu, 11 Jun 2009 10:46:02 -0700 (PDT) From: Dino Vliet To: Lowell Gilbert MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jun 2009 17:46:04 -0000 --- On Mon, 6/8/09, Lowell Gilbert wrote: From: Lowell Gilbert Subject: Re: tcllib error while installing tcllib on amd64 system running f= reebsd 7.0 To: "Dino Vliet" Cc: freebsd-questions@freebsd.org, mm@FreeBSD.org, mi@aldan.algebra.com Date: Monday, June 8, 2009, 10:56 PM Dino Vliet writes: > [*=A0=A0 ]=A0 [8.6b1] comm=A0=A0=A0=A0=A0=A0=A0 !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 !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