Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2008 11:16:51 GMT
From:      Paul M <paul-freebsd@mansfield.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   docs/119445: syslog-ng install instructions are incorrect
Message-ID:  <200801081116.m08BGpIg020502@www.freebsd.org>
Resent-Message-ID: <200801081120.m08BK45J074527@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801081116.m08BGpIg020502>