看板 FB_doc 關於我們 聯絡資訊
>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: _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"