HI ALL!
- I HOPE I DIDN’T BREAK EVERY APP/ETC IN YUNOHOST AND THIS IS REPAIRABLE
PREFACE: I’M SO/SO AND WOULD SAY A LITTLE TECHY BUT AM NO DEV
/ Message template (english)
I have been trying to figure out a wordpress issue (any tips? trying to setup a theme, it says WP uploads directory needs to be writable… I thought it was, I made it and still an error, anyway not for this post) and in doing so I think I deleted something I shouldn’t.
Now when I reboot or try to start fail2ban I get the error
“-- Journal begins at Mon 2023-05-01 09:25:50 ADT, ends at Tue 2023-05-02 09:38:20 ADT. –
May 02 09:17:49 systemd[1]: Stopping Fail2Ban Service…
May 02 09:17:49 fail2ban-client[381307]: Shutdown successful
May 02 09:17:49 systemd[1]: fail2ban.service: Succeeded.
May 02 09:17:49 systemd[1]: Stopped Fail2Ban Service.
May 02 09:17:49 systemd[1]: fail2ban.service: Consumed 7min 19.579s CPU time.
May 02 09:17:49 systemd[1]: Starting Fail2Ban Service…
May 02 09:17:50 systemd[1]: Started Fail2Ban Service.
May 02 09:17:50 fail2ban-server[381311]: 2023-05-02 09:17:50,596 fail2ban [381311]: ERROR Failed during configuration: Have not found any log file for sshd jail
May 02 09:17:50 fail2ban-server[381311]: 2023-05-02 09:17:50,601 fail2ban [381311]: ERROR Async configuration of server failed
May 02 09:17:50 systemd[1]: fail2ban.service: Main process exited, code=exited, status=255/EXCEPTION
May 02 09:17:50 systemd[1]: fail2ban.service: Failed with result ‘exit-code’.
May 02 09:18:05 systemd[1]: Starting Fail2Ban Service…
May 02 09:18:05 systemd[1]: Started Fail2Ban Service.”
Now I guess I understand what this says. There’s 2 problems. I have no idea how to fix either of them and ensure it still works with my stuff. I cannot get emails or anything right now, please help I have spent two days trying to troubleshoot this but believe I am indeed too stupid. Thank you in advance.
My YunoHost server
Hardware: Old computer at home - AMD 5700G
YunoHost version: 11.1.18
I have access to my server : Through SSH | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes - I think I 100% deleted something when trying to undo something else that didn’t work to fix a wordpress issue which are likely the two things causing the fail.