From owner-freebsd-ports@FreeBSD.ORG Thu Apr 3 13:16:51 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9D47AF01 for ; Thu, 3 Apr 2014 13:16:51 +0000 (UTC) Received: from mail-we0-x234.google.com (mail-we0-x234.google.com [IPv6:2a00:1450:400c:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 35D07B74 for ; Thu, 3 Apr 2014 13:16:51 +0000 (UTC) Received: by mail-we0-f180.google.com with SMTP id p61so1816843wes.39 for ; Thu, 03 Apr 2014 06:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=ShIFU31kPmr2gZaPIjBQCn6uqb91h5FgPigxzWQk15k=; b=YKlQxYrS8iraAV+7XrOpwIxAj3XRj5lef6+fAOxzDmV9kjsoMAgHBkWv7MnTDNSrXU pI66GrpSIc9WjgnioSPp+VL/mdR1jZ/SCJzxrZq/kjQ7hP+JL93fBcd4XjRnLjiXwlCx CYeYHjlxoi59EPw8+MxHuPF7s8gSQlReCfx9ooOjinJpHfxspFhNxY8zb48OQfcv34zj fuUH973E8N01DfWmm/hb9rAyBhT+ABfwZFmlO4WRSQyP52xS6iDxer1f+iLBpF3BlGIQ Fkdg3JG/L/YLwOqp58LcMTubn6w/3F9a9uAO6W5+Hw18BVET/YE5o1JA/8oaz4ZSv+e1 iUJg== X-Received: by 10.180.109.107 with SMTP id hr11mr26808815wib.4.1396531001429; Thu, 03 Apr 2014 06:16:41 -0700 (PDT) Received: from gumby.homeunix.com (5ec2dcf1.skybroadband.com. [94.194.220.241]) by mx.google.com with ESMTPSA id vp5sm7672027wjc.31.2014.04.03.06.16.40 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 03 Apr 2014 06:16:40 -0700 (PDT) Date: Thu, 3 Apr 2014 14:16:37 +0100 From: RW To: ports@freebsd.org Subject: Re: Spamd Message-ID: <20140403141637.4499770b@gumby.homeunix.com> In-Reply-To: <533D5899.20306@webrz.net> References: <533D1366.7030607@webrz.net> <20140403110103.0b51d9fc@laptop.minsk.domain> <533D5899.20306@webrz.net> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 13:16:51 -0000 On Thu, 03 Apr 2014 14:48:25 +0200 Jos Chrispijn wrote: > > Sergey V. Dyatko: > > use `sockstat -l4 -p783` instead. It show you what user-command-pid > > listen that port > > USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN > ADDRESS root perl 1404 5 tcp4 127.0.0.1:783 *:* > root perl 1403 5 tcp4 127.0.0.1:783 *:* > root perl 1402 5 tcp4 127.0.0.1:783 *:* > > Is this Perl itself or is this a program that uses Perl for this port? It'll be the spamassassin master process and default of two children. By the look of it the rc.d script couldn't find a spamassassin perl process that matched the PID in the pid file so couldn't shut the old version down before starting the new. This is commonly because the pid file isn't writeable, but using port 783 implies that it started as root. Check that the current pid file contains a correct value.