some filter profiles are marked with the alert icon (this profile use invalid categories), but there are only some categories from shalla (and the global black and whitelist enabled)
whenever i change something in a filter profile, ufdb stop to work, restart of the service with systemctl didn’t help, i must disable and then re-enable the filtering service, and also if under Configuration i see blacklist and whitelist enable i must reconfigure the default profile and enable them. After that, all seems to work
i’ll do some other test during the non-working time…
I may have seen the same behaviour in one system that had a lot of filtering profiles.
udfb service restart script left a running ufdbguardd process that I had to kill.
Could you please check that you have a running ufdbguardd process but the /tmp/ufdbguardd-03977 socket is missing?
Then, kill the process and run systemctl restart ufdb
tnx. in effect this is exactly what i see, but also after kill and restart it didn’t work.
but at least this time I had time to read the logs
it seems that fail to reload whitelist/blacklist/custom, some fatal errors:
2019-06-11 15:09:38 [26830] loading URL table from "/var/squidGuard/blacklists/recreation/restaurants/domains"
2019-06-11 15:09:38 [26830]
2019-06-11 15:09:38 [26830] FATAL ERROR: cannot read from "/var/squidGuard/blacklists/custom/whitelist/domains.ufdb" (read-only): No such file or directory *****
2019-06-11 15:09:38 [26830]
2019-06-11 15:09:38 [26830] loading URL table from "/var/squidGuard/blacklists/custom/whitelist/domains"
2019-06-11 15:09:38 [26830] ERROR: URL database table "/var/squidGuard/blacklists/custom/whitelist/domains" is empty and is ignored *****
2019-06-11 15:09:38 [26830] loading URL category defaulttable with creation date 20190611.0244
2019-06-11 15:09:38 [26830] loading URL table from "/var/squidGuard/blacklists/finance/banking/domains"
…
2019-06-11 16:32:29 [4165] database status: up to date
2019-06-11 16:32:29 [4165] license status: unknown
2019-06-11 16:32:29 [4165] configuration status: fatal error(s)
2019-06-11 16:32:29 [4165]
2019-06-11 16:32:29 [4165] Changing daemon status to "error"
2019-06-11 16:32:29 [4165] time definitions are used; evaluating current ACLs
2019-06-11 16:32:29 [4165] A FATAL ERROR OCCURRED: all requests are answered with "OK" (see previous lines with "FATAL ERROR" for more details) *****
2019-06-11 16:32:29 [4165] releasing the rwlock
You probably have a custom category without any domain (empty).
Despite the message logged this is not fatal.
Please remove the last system call in /etc/e-smith/events/nethserver-squidguard-save/S2nethserver-squidguard-update-custom-list: