Fail2ban ERROR Unable to contact server. Is it running?

Hello, my fail2ban service is running (ps aux)

When i do:

fail2ban-client status

it returns:

ERROR  Unable to contact server. Is it running?

same message on fail2ban restart.

In /etc/fail2ban/fail2ban.conf i see this line:

socket = /var/run/fail2ban/fail2ban.sock

but this file does not exist.

i cant find fail2ban log file in /var/log

Please how can i fix this issue?

I ended up killing the process and yum erase fail2ban then install, after that i see there is no jail:

Perhaps you need to configure it after installation? Category:Configuration - Fail2ban You did install as root?