Lightsquid stopped counting traffic

Lightsquid stopped counting traffic. Displays data from 1 to 14 September 2017. No other data. (September 1, I launched Lightsquid). How to fix it?

Hi Valeriy,
only for explanation, what do you miss? The dates of today?

Please have a look at your squid logs


Did you change anything what has to do with squid logging?

no. nothing changed. just a month I was not, just got to the server and found it.
I opened /var/log/squid/access.log and see the list of sites that were open

Hello @Valeriy, is responsible for putting data to lightsquid stats so you may try to start manually:

and check if it’s in cron:

[root@testserver etc]# grep -rnw ‘/etc’ -e ‘
/etc/selinux/targeted/contexts/files/file_contexts:2286:/usr/sbin/ – system_u:object_r:squid_cron_exec_t:s0
Binary file /etc/selinux/targeted/contexts/files/file_contexts.bin matches
/etc/selinux/targeted/contexts/files/file_contexts.pre:2220:/usr/sbin/ – system_u:object_r:squid_cron_exec_t:s0
/etc/selinux/targeted/active/file_contexts:2286:/usr/sbin/ – system_u:object_r:squid_cron_exec_t:s0
/etc/cron.daily/lightsquid:3:#/usr/sbin/ -y /var/log/squid/access.log
/etc/cron.daily/lightsquid:4:/usr/sbin/ -y /var/log/squid/access.log

1 Like