Reports Asterisk Log Files Stuck Loading

After upgrading from 10.13.66 I am unable to view log files in the gui. No matter which log file I choose it just shows Loading… in the output. I can view the log files when I ssh to the box. Any ideas?

Does logrotate work properly on your box? to check :-

ls -lsrS /var/log/astersisk

I think so. Here is what I see for the full log:

42524 -rw-rw-r-- 1 asterisk asterisk 43536712 Dec 17 03:34 full-20171217
51980 -rw-rw-r-- 1 asterisk asterisk 53226798 Dec 18 01:53 full

When I refresh the page I get blacklisted:

The IP xxx.xxx.xxx.xxx has just been banned by Fail2Ban after
8 attempts against apache-auth on pbx.domain.com

Add your host to the ‘ignoreip’ list of fail2ban,
Disable that jail while you see what is In your webserver logs that is tripping the regex that is banning you.

I didn’t think to check the web server logs. The error log shows:

[Mon Dec 18 10:39:26.014439 2017] [access_compat:error] [pid 4798] [client xxx.xxx.xxx.xxx:60271] AH01797: client denied by server configuration: /var/www/html/admin/modules/logfiles/assets/js/views/logs.js, referer: http://xxx.xxx.xxx.xxx/admin/config.php?display=logfiles

[Mon Dec 18 10:39:26.016015 2017] [access_compat:error] [pid 4798] [client xxx.xxx.xxx.xxx:60271] AH01797: client denied by server configuration: /var/www/html/admin/modules/sysadmin/assets/js/activation.js, referer: http://xxx.xxx.xxx.xxx/admin/config.php?display=logfiles

[Mon Dec 18 10:39:26.049809 2017] [access_compat:error] [pid 4798] [client xxx.xxx.xxx.xxx:60271] AH01797: client denied by server configuration: /var/www/html/admin/modules/logfiles/assets/js/views/logs.js, referer: http://xxx.xxx.xxx.xxx/admin/config.php?display=logfiles

[Mon Dec 18 10:39:26.135332 2017] [access_compat:error] [pid 4798] [client xxx.xxx.xxx.xxx:60271] AH01797: client denied by server configuration: /var/www/html/admin/modules/sysadmin/assets/js/activation.js, referer: http://xxx.xxx.xxx.xxx/admin/config.php?display=logfiles

permissions are set to:
4 -rw-r–r-- 1 asterisk asterisk 951 Jun 28 13:37 settings.js
4 -rw-r–r-- 1 asterisk asterisk 975 Jun 28 13:37 logs.js

I don’t use the sysadmin module, but until you get an answer , add an "ignreregex = sysadmin " line in the filter.d/file ( yes, a sledge hammer solution)

Thanks for the suggestion, but it still won’t load the log files.

It won’t load them even with fail2ban completely stopped.

Hehe, then it must be something else, sorry out of ideas.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.