From owner-freebsd-ports@FreeBSD.ORG Wed Jul 7 01:10:30 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33FAC1065670 for ; Wed, 7 Jul 2010 01:10:30 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id B0D8F8FC08 for ; Wed, 7 Jul 2010 01:10:29 +0000 (UTC) Received: from ur.gsoft.com.au ([203.31.81.44]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id o671AEIa083849 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 7 Jul 2010 10:40:20 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 7 Jul 2010 10:40:14 +0930 To: ports@freebsd.org Message-Id: <236F0E3C-DD67-4F1C-A827-0D940ED5047E@gsoft.com.au> Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Spam-Score: -2.5 () ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: Subject: MIMEDefang not starting properly on boot X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 01:10:30 -0000 Does anyone else see this? I have 2 (of 2) amd64 8.x systems which don't start MIMEDefang on reboot = properly, I get this.. Jul 7 06:34:58 cain mimedefang-multiplexor[1747]: Starting slave 3 (pid = 41198) (1 running): Bringing slaves up to minSlaves (2) Jul 7 06:34:58 cain mimedefang-multiplexor[1747]: Slave 3 stderr: Can't = load '/usr/local/lib/perl5/5.10.1/mach/auto/File/Glob/Glob.so' for = module File::Glob: = /usr/local/lib/perl5/5.10.1/mach/auto/File/Glob/Glob.so: mmap of entire = address space failed: Cannot allocate memory at = /usr/local/lib/perl5/5.10.1/mach/XSLoader.pm line 70. at = /usr/local/lib/perl5/5.10.1/mach/File/Glob.pm line 96 Compilation failed = in require at /usr/local/bin/mimedefang.pl line 3239. BEGIN = failed--compilation aborted at /usr/local/bin/mimedefang.pl line 3239. Restarting it manually (ie /usr/local/etc/rc.d/mimedefang.sh restart) = after a reboot fixes it.. Also I think it would be nice if this patch were added to the port.. --- /usr/local/etc/rc.d/mimedefang.sh-dist 2010-04-07 = 10:30:46.586067014 +0930 +++ /usr/local/etc/rc.d/mimedefang.sh 2010-05-01 13:47:47.340517685 = +0930 @@ -316,7 +319,7 @@ rm -f $MX_SOCKET > /dev/null 2>&1 rm -f $SOCKET > /dev/null 2>&1 - if [ "$1" =3D "wait" ] ; then + if [ "wait" =3D "wait" ] ; then printf "Waiting for daemons to exit." WAITPID=3D"" test -f $PID && WAITPID=3D`cat $PID` Otherwise restart is useless because it starts MD without waiting for = the old one to stop and it doesn't work :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C