Syslog-ng: Difference between revisions

From Hackepedia
Jump to navigationJump to search
Frankk (talk | contribs)
No edit summary
m added manual pages
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
You can not restart syslog-ng.sh in the local directory on FreeBSD, you need to use the complete path.
[http://www.balabit.com/products/syslog_ng/ syslog-ng] is a centralized replacement for [[syslog]] that
guarantees availability of logs, and is very flexible.
 
[[Manual]] pages: syslog-ng(8),syslog-ng.conf(5),  logger(1),  syslog(2), syslog(3), services(5), syslog.conf(5), klogd(8), syslogd(8), sysklogd(8)
 
 
== [[FreeBSD]] ==
 
As of FreeBSD 5.4-RELEASE:
 
You can not restart syslog-ng.sh in the local directory, you need to use the complete path.
  # pwd
  # pwd
  /usr/local/etc/rc.d
  /usr/local/etc/rc.d
Line 7: Line 17:
  Usage: syslog-ng.sh {start|stop}
  Usage: syslog-ng.sh {start|stop}


also in FreeBSD make sure you do not have  
also make sure you do not have  
  syslogd_flags="-d"
  syslogd_flags="-d"
still set in rc.conf or you'll be stuck in debug mode during [[init]] the next time you reboot. Remove the -d.
still set in rc.conf or you'll be stuck in debug mode during [[init]] the next time you reboot. Remove the -d.
  syslogd_program="/usr/local/sbin/syslog-ng"
  syslogd_program="/usr/local/sbin/syslog-ng"
  syslogd_flags=""
  syslogd_flags=""
work as of FreeBSD 5.4-RELEASE.

Latest revision as of 14:44, 10 January 2006

syslog-ng is a centralized replacement for syslog that guarantees availability of logs, and is very flexible.

Manual pages: syslog-ng(8),syslog-ng.conf(5), logger(1), syslog(2), syslog(3), services(5), syslog.conf(5), klogd(8), syslogd(8), sysklogd(8)


FreeBSD

As of FreeBSD 5.4-RELEASE:

You can not restart syslog-ng.sh in the local directory, you need to use the complete path.

# pwd
/usr/local/etc/rc.d
# ./syslog-ng.sh 
./syslog-ng.sh: Cannot determine the PREFIX
# /usr/local/etc/rc.d/syslog-ng.sh 
Usage: syslog-ng.sh {start|stop}

also make sure you do not have

syslogd_flags="-d"

still set in rc.conf or you'll be stuck in debug mode during init the next time you reboot. Remove the -d.

syslogd_program="/usr/local/sbin/syslog-ng"
syslogd_flags=""