Starting syslog-ng
5,970
Recent Fedora versions ship with systemd
. There you could change to syslog-ng
using the following commands:
yum install syslog-ng
systemctl disable rsyslog.service
systemctl enable syslog-ng.service
systemctl stop rsyslog.service
systemctl start syslog-ng.service
At the end probably also remove rsyslog
with rpm -e rsyslog
.
Related videos on Youtube
![Admin](/assets/logo_square_200-5d0d61d6853298bd2a4fe063103715b4daf2819fc21225efa21dfb93e61952ea.png)
Author by
Admin
Updated on September 18, 2022Comments
-
Admin almost 2 years
I've recently installed syslog-ng but am confused about how to start it (on Fedora).
I do:
/etc/init.d/syslog-ng start
which reports that it's started ok. However, it doesn't actually do anything until I do:
/sbin/syslog-ng
at which point it starts behaving as I'd expect. Is this expected behaviour?
-
rozcietrzewiacz over 12 yearsDoes
/etc/init.d/syslog-ng
exist regardless ofsyslog-ng
being installed or not on Fedora? And it starts the default logger daemon, regardless of script's name?