• Resolved ollidroll

    (@ollidroll)


    Hello,
    i try everything, read the FAQ and this Forum.
    But i can get no Logging in /var/log/auth !

    I Use define('WP_FAIL2BAN_AUTH_LOG',LOG_AUTHPRIV); and i try without this Line in wpconfig.

    I ve have an own Server with multiple WordPress Installation and Domains.
    The System ist an Ubuntu 14.04.

    I found the following lines in /etc/rsyslog.d/

    auth,authpriv.*                 /var/log/auth.log
    *.*;auth,authpriv.none          -/var/log/syslog

    So, where and what ist my Problem?

    Thanks for help.
    Olli

    https://wordpress.org/plugins/wp-fail2ban/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author invisnet

    (@invisnet)

    Have you checked /var/log/syslog?

    If there’s nothing in there, check where PHP is logging errors. *WPf2b* will write to the PHP error log if it can’t open syslog, and if you’ve enabled WP_DEBUG it’ll log successfully opening syslog too.

    Hopefully one of those will give a better idea of what’s not working.

    Thread Starter ollidroll

    (@ollidroll)

    Thanks for Reply.
    There ist nothing in the syslog.

    But in the php-error-log are the following lines:

    HP message: PHP Warning: syslog() openlog() has been disabled for security reasons

    So, i enabled openlog and syslog in the php.ini.

    Now, it works fine. 🙂
    Many Thanks for help.

    Best regards
    Olli

    Thank you ollidroll,

    This fixed it for me also.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No Logging’ is closed to new replies.