Failed to restart the service after configuring fail2ban

I newly installed fail2ban on my centos7 server, but when I finished configuring it, the restart result showed that the service failed to start
the related code is as follows:

[wdnmd@VM_0_2_centos ~]$ sudo systemctl restart fil2ban
Failed to restart fil2ban.service: Unit not found.
[wdnmd@VM_0_2_centos ~]$ sudo systemctl restart fail2ban
Job for fail2ban.service failed because the control process exited with 
error code. See "systemctl status fail2ban.service" and "journalctl -xe" 
for 
details.
[wdnmd@VM_0_2_centos ~]$ sudo systemctl status fail2ban.service
 fail2ban.service - Fail2Ban Service
Loaded: loaded (/usr/lib/systemd/system/fail2ban.service; enabled; vendor 
preset: disabled)
Active: failed (Result: start-limit) since Wed 2019-02-06 09:31:05 CST; 
22s ago
Docs: man:fail2ban(1)
Process: 7462 ExecStart=/usr/bin/fail2ban-client -x start (code=exited, 
status=255)

Feb 06 09:31:04 VM_0_2_centos systemd[1]: fail2ban.service: control 
process exited, code=exited status=255
Feb 06 09:31:04 VM_0_2_centos systemd[1]: Failed to start Fail2Ban 
Service.
Feb 06 09:31:04 VM_0_2_centos systemd[1]: Unit fail2ban.service entered 
failed 
state.
Feb 06 09:31:04 VM_0_2_centos systemd[1]: fail2ban.service failed.
Feb 06 09:31:05 VM_0_2_centos systemd[1]: fail2ban.service holdoff time 
over, scheduling restart.
Feb 06 09:31:05 VM_0_2_centos systemd[1]: Stopped Fail2Ban Service.
Feb 06 09:31:05 VM_0_2_centos systemd[1]: start request repeated too 
quickly for fail2ban.service
Feb 06 09:31:05 VM_0_2_centos systemd[1]: Failed to start Fail2Ban 
Service.
Feb 06 09:31:05 VM_0_2_centos systemd[1]: Unit fail2ban.service entered 
failed state.
Feb 06 09:31:05 VM_0_2_centos systemd[1]: fail2ban.service failed.  
[wdnmd@VM_0_2_centos ~]$ sudo /usr/bin/fail2ban-client -x start
[sudo] password for wdnmd:
ERROR  No file(s) found for glob /opt/openhab/logs/request.log
ERROR  Failed during configuration: Have not found any log file for openhab- 
auth jail
[wdnmd@VM_0_2_centos ~]$  Have not found any log file for openhab-auth jail
-bash: Have: command not found

error report shows that the log file is missing, how to solve it?

Jun.08,2022
Menu