Quantcast
Channel: FreePBX Community Forums - Latest posts
Viewing all articles
Browse latest Browse all 226325

Extensions unregistering and registering

$
0
0

Hi again,

I've just downgraded Asterisk version to 11.19 with the command: yum downgrade asterisk11*
After this, I've restarted entire server, I've check several calls to problematic extensions, but so far they continue to stay online/registered. So, I can say that the problem had gone ... BUT, not I have other problem due to that downgrade, though it's not so critical, but anyways, I really want to fix everything. Fail2ban service has gone crazy, it won't start automatically and when I try to start it manually, it gives me the following error:

Starting fail2ban: ERROR Found no accessible config files for 'filter.d/freepbx' under /etc/fail2ban
ERROR No section: 'Definition'
ERROR No section: 'Definition'
ERROR Unable to read the filter
ERROR Errors in jail 'pbx-gui'. Skipping...
[FAILED]

I looked into jail.local config file and yes, there is a section called - pbx-gui and the filter name really is freepbx, but there's no such file into filter.d directory. First I thought that downgrade process might had deleted that file some how, but I have daily backups of VMs, so I restored entire /etc/fail2ban directory from the backup, but there is not neither. How did it work? I am not an fail2ban expert, but I do understand how linux and its configuration file does work.... Well, I just set enable parameter to false (only under pbx-gui section) and I started fail2ban service without any issue. I check also in system admin module and it gave me the correct status, that it's running. But I did read comments into config file saying that it's an automatically generated file, so after I stopped it and then start again (from system admin module) it failed again, as the parameter still was set to enable.

Can someone suggest me how can I fix it and why did it broken?


Viewing all articles
Browse latest Browse all 226325

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>