From owner-freebsd-doc@FreeBSD.ORG Tue Jan 8 11:20:05 2008 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 026C816A468 for ; Tue, 8 Jan 2008 11:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0432F13C474 for ; Tue, 8 Jan 2008 11:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m08BK4A8074531 for ; Tue, 8 Jan 2008 11:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m08BK45J074527; Tue, 8 Jan 2008 11:20:04 GMT (envelope-from gnats) Resent-Date: Tue, 8 Jan 2008 11:20:04 GMT Resent-Message-Id: <200801081120.m08BK45J074527@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Paul M Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D495016A419 for ; Tue, 8 Jan 2008 11:17:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id E60B313C458 for ; Tue, 8 Jan 2008 11:17:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m08BGpV9020504 for ; Tue, 8 Jan 2008 11:16:51 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m08BGpIg020502; Tue, 8 Jan 2008 11:16:51 GMT (envelope-from nobody) Message-Id: <200801081116.m08BGpIg020502@www.freebsd.org> Date: Tue, 8 Jan 2008 11:16:51 GMT From: Paul M To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/119445: syslog-ng install instructions are incorrect X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2008 11:20:05 -0000 >Number: 119445 >Category: docs >Synopsis: syslog-ng install instructions are incorrect >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 08 11:20:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Paul M >Release: 6.2-RELEASE-p8 >Organization: >Environment: FreeBSD www.example.com 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #0: Wed Nov 7 18:50:58 EST 2007 sullrich@builder6.pfsense.com:/usr/obj.pfSense/usr/src/sys/pfSense_SMP.6 i386 >Description: the instructions below are printed when doing pkg_add -r syslog-ng; however, stage 5 is incorrect as the script in rc.d is simply called "syslog-ng" and not "syslog-ng.sh" syslog-ng is now installed! To replace FreeBSD's standard syslogd (/usr/sbin/syslogd), complete these steps: 1. Create a configuration file named /usr/local/etc/syslog-ng/syslog-ng.conf (a sample named syslog-ng.conf.sample has been included) 2. Configure syslog-ng to start automatically by adding the following to /etc/rc.conf: syslog_ng_enable="YES" 3. Prevent the standard FreeBSD syslogd from starting automatically by adding a line to the end of your /etc/rc.conf file that reads: syslogd_enable="NO" 4. Shut down the standard FreeBSD syslogd: kill `cat /var/run/syslog.pid` 5. Start syslog-ng: /usr/local/etc/rc.d/syslog-ng.sh start >How-To-Repeat: >Fix: change the name of the script or change the installation instructions >Release-Note: >Audit-Trail: >Unformatted: