From owner-freebsd-questions@FreeBSD.ORG Fri Oct 7 12:59:07 2011 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 7EE1B106566B for ; Fri, 7 Oct 2011 12:59:07 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg30.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id 1E9918FC16 for ; Fri, 7 Oct 2011 12:59:06 +0000 (UTC) Received: from [192.168.1.85] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg30.ifdnrg.com (8.14.5/8.14.4) with ESMTP id p97Cx4wb034009 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 7 Oct 2011 13:59:05 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <4E8EF79A.3010900@ifdnrg.com> Date: Fri, 07 Oct 2011 13:59:06 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ruby question 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: Fri, 07 Oct 2011 12:59:07 -0000 I will obviously mail the ruby list as well, but on the off chance someone here might be able to help, i have a simple ruby mgmt program listening on a network port, which accepts commands and does appropriate stuff, however restarted services weirdly seem to hold the port of the process, One of the things it does is to restart system services system "/usr/local/etc/rc.d/proftpd start" sockstat -4 -l then shows that the proftpd process is nobody proftpd 30996 1 tcp4 *:21 *:* nobody proftpd 30885 3 tcp4 [hostIP]:844 *:* root ruby 30826 3 tcp4 [hostIP]:844 *:* This doesn't affect the running of the ftp server or the ruby daemon, but it means that i need to restart the various other daemons to release the 844 socket. any thoughts? -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA -------------------------