Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no log in auth.log and daemon.log #69

Open
guilloking opened this issue Jan 27, 2023 · 1 comment
Open

no log in auth.log and daemon.log #69

guilloking opened this issue Jan 27, 2023 · 1 comment

Comments

@guilloking
Copy link

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.

@sixpak
Copy link

sixpak commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants