Yes, I need incron to do root commands and itâs easier to use the built-in signature verification with sysadmin then to create my own hacky way of doing it.
Broadcast message from [email protected] (Tue Jul 13 13:27:40 2021):
/etc/aterisk/firewall.lock or /etc/asterisk/firewall.enabled exists!
Refusing to shut down.
[root@freepbx ~]# systemctl start fail2ban
Job for fail2ban.service failed because the control process exited with error code. See âsystemctl status fail2ban.serviceâ and âjournalctl -xeâ for details.
[root@freepbx ~]#
Not insinuating anything, if you posted exactly what you saw there is a problem, the directory /etc/aterisk should NEVER exist unless someone effed up. You can however expect the directory /etc/asterisk to exists and if there is a file called firewall.lock in that directory , well, thatâs a different story . . .
Using WinSCP I was able to navigate to the directory. I do not see a /etc/aterisk however I do see /etc/asterisk and when I expand that folder there is a file called âfirewall.enableâ
Just to confirm - it is okay to delete âfirewall.enableâ ??
[root@advcardhackpbx asterisk]# systemctl start fail2ban
Job for fail2ban.service failed because the control process exited with error code. See âsystemctl status fail2ban.serviceâ and âjournalctl -xeâ for details.
Seems to me like there should be a problem here. I think @dicko is on the right track; you may need to start the firewall service first. In fact, if you can, it might be time to âWindows debugâ the system and power cyc le it.