[GH-ISSUE #69] no log in auth.log and daemon.log #41

Open
opened 2026-02-27 01:57:31 +03:00 by kerem · 1 comment
Owner

Originally created by @guilloking on GitHub (Jan 27, 2023).
Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/69

Hello my people.

I need help with the following, I am using fail2ban, but when I check the logs of proxmox auth.log and daemon.log, they are without a record.

How do I fix this, syslog in webgui if it works.

Register syslog webgui proxmox
pvedaemon[1885456]: authentication failure; rhost=::ffff:5.42.199.51 user=root@pam msg=Authentication failure

Register daemon.log and auth.log no record.

Thx.

Originally created by @guilloking on GitHub (Jan 27, 2023). Original GitHub issue: https://github.com/extremeshok/xshok-proxmox/issues/69 Hello my people. I need help with the following, I am using fail2ban, but when I check the logs of proxmox auth.log and daemon.log, they are without a record. How do I fix this, syslog in webgui if it works. Register syslog webgui proxmox pvedaemon[1885456]: authentication failure; rhost=::ffff:5.42.199.51 user=root@pam msg=Authentication failure Register daemon.log and auth.log no record. Thx.
Author
Owner

@sixpak commented on GitHub (Mar 3, 2023):

This is due to an entry in the optimizations in the journald.conf.

The disabling of writing the journal to syslog causes that no entries will be placed in /var/log/daemon.log or /var/log/auth.log

Simply enable it back by setting option to yes and restart systemd-journald service.

That's it ;)

<!-- gh-comment-id:1453420233 --> @sixpak commented on GitHub (Mar 3, 2023): This is due to an entry in the optimizations in the journald.conf. The disabling of writing the journal to syslog causes that no entries will be placed in /var/log/daemon.log or /var/log/auth.log Simply enable it back by setting option to yes and restart systemd-journald service. That's it ;)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/xshok-proxmox#41
No description provided.