rsyslog
ロギングをからに切り替えたいのですが、設定してsyslog-ng
起動した後は起動しません。
これは私が受け取ったログファイルですが、何が間違っているかについての手がかりを見つけることができません。
rrr-hp:~# systemctl status syslog-ng.service
● syslog-ng.service - System Logger Daemon
Loaded: loaded (/lib/systemd/system/syslog-ng.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2021-03-22 12:51:35 CET; 4min 52s ago
Docs: man:syslog-ng(8)
Process: 448232 ExecStart=/usr/sbin/syslog-ng -F $SYSLOGNG_OPTS (code=exited, status=1/FAILURE)
Main PID: 448232 (code=exited, status=1/FAILURE)
Status: "Starting up... (Mon Mar 22 12:51:35 2021"
Mar 22 12:51:35 rrr-hp systemd[1]: syslog-ng.service: Scheduled restart job, restart counter is at 5.
Mar 22 12:51:35 rrr-hp systemd[1]: Stopped System Logger Daemon.
Mar 22 12:51:35 rrr-hp systemd[1]: syslog-ng.service: Start request repeated too quickly.
Mar 22 12:51:35 rrr-hp systemd[1]: syslog-ng.service: Failed with result 'exit-code'.
Mar 22 12:51:35 rrr-hp systemd[1]: Failed to start System Logger Daemon.
rrr-hp:~#
journalctl -xe
出力もありますが、私には明確ではありません。
rrr-hp:~# journalctl -xe
Mar 22 12:41:37 rrr-hp syslog-ng[447444]: contact: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Mar 22 12:41:37 rrr-hp systemd[1]: syslog-ng.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ An ExecStart= process belonging to unit syslog-ng.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Mar 22 12:41:37 rrr-hp systemd[1]: syslog-ng.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit syslog-ng.service has entered the 'failed' state with result 'exit-code'.
Mar 22 12:41:37 rrr-hp systemd[1]: Failed to start System Logger Daemon.
░░ Subject: A start job for unit syslog-ng.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit syslog-ng.service has finished with a failure.
░░
░░ The job identifier is 7765 and the job result is failed.
Mar 22 12:41:38 rrr-hp systemd[1]: syslog-ng.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ Automatic restarting of the unit syslog-ng.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Mar 22 12:41:38 rrr-hp systemd[1]: Stopped System Logger Daemon.
░░ Subject: A stop job for unit syslog-ng.service has finished
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A stop job for unit syslog-ng.service has finished.
░░
░░ The job identifier is 7865 and the job result is done.
Mar 22 12:41:38 rrr-hp systemd[1]: syslog-ng.service: Start request repeated too quickly.
Mar 22 12:41:38 rrr-hp systemd[1]: syslog-ng.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ The unit syslog-ng.service has entered the 'failed' state with result 'exit-code'.
Mar 22 12:41:38 rrr-hp systemd[1]: Failed to start System Logger Daemon.
░░ Subject: A start job for unit syslog-ng.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit syslog-ng.service has finished with a failure.
░░
░░ The job identifier is 7865 and the job result is failed.
rrr-hp:~#
私は以下に基づいてunix-dgram
//を切り替えようとしましたunix-socket
。unix-stream
syslog-ng サービスは systemd で開始されませんでしたが、コマンドは正常に動作します。しかし、それらのどれも職業を持っていません。
私のLinuxバージョンは次のとおりです。
rrr-hp:~# cat /etc/debian_version
kali-rolling
rrr-hp:~#
何が間違っている可能性があるか、または追加の手がかりを見つけることができる場所についてのヒントを与えることができる人がいますか?