Syslog-ng: Difference between revisions
From Hackepedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
# /usr/local/etc/rc.d/syslog-ng.sh | # /usr/local/etc/rc.d/syslog-ng.sh | ||
Usage: syslog-ng.sh {start|stop} | Usage: syslog-ng.sh {start|stop} | ||
also in FreeBSD 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="" | |||
work as of FreeBSD 5.4-RELEASE. |
Revision as of 17:01, 25 October 2005
You can not restart syslog-ng.sh in the local directory on FreeBSD, 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 in FreeBSD 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=""
work as of FreeBSD 5.4-RELEASE.