From owner-freebsd-questions@FreeBSD.ORG Sat Oct 24 20:17:04 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 79D511065676 for ; Sat, 24 Oct 2009 20:17:04 +0000 (UTC) (envelope-from carmel_ny@hotmail.com) Received: from blu0-omc4-s27.blu0.hotmail.com (blu0-omc4-s27.blu0.hotmail.com [65.55.111.166]) by mx1.freebsd.org (Postfix) with ESMTP id 2BD328FC26 for ; Sat, 24 Oct 2009 20:17:04 +0000 (UTC) Received: from BLU0-SMTP51 ([65.55.111.135]) by blu0-omc4-s27.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 24 Oct 2009 13:17:03 -0700 X-Originating-IP: [67.189.183.172] X-Originating-Email: [carmel_ny@hotmail.com] Message-ID: Received: from scorpio.seibercom.net ([67.189.183.172]) by BLU0-SMTP51.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Sat, 24 Oct 2009 13:17:02 -0700 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: carmel_ny@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id F38C722849 for ; Sat, 24 Oct 2009 16:17:01 -0400 (EDT) Date: Sat, 24 Oct 2009 16:17:01 -0400 From: carmel_ny To: freebsd-questions@freebsd.org In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 24 Oct 2009 20:17:03.0046 (UTC) FILETIME=[F30DCE60:01CA54E6] Subject: Re: Using 'USR1' signal in newsyslog.conf file causes error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2009 20:17:04 -0000 On Sat, 24 Oct 2009 21:34:08 +0200 (CEST) Trond Endrestøl replied: >On Sat, 24 Oct 2009 15:26-0400, carmel_ny wrote: > >> Dovecot has a site with information regarding how to rotate it's >> log-file. Since I do not have >> logrotate on my FreeBSD-7.2 system, I thought I could use newsyslog >> to accomplish the action. I seem to have run into a problem however. >> >> newsyslog: illegal signal number in config file: >> /var/log/dovecot.log root:wheel 0666 1 * $M1D0 >> CJ /var/run/dovecot/master.pid SIGUSR1 >> >> I then changed "SIGUSR1" TO "USR1'; however, the problem continues. >> >> Can someone tell me what I am doing wrong? > >You're supposed to use a number. Look in /usr/include/sys/signal.h, >you'll find SIGUSR1 listed as signal no. 30. Use 30 as opposed to >SIGUSR or USR1. > >Trond I did a 'kill -l' right after I posted that message. I discovered the numerical equivalency then. -- Carmel carmel_ny@hotmail.com |::::======= |::::======= |=========== |=========== | "Fantasies are free." "NO!! NO!! It's the thought police!!!!"