SquidGuard Error
-
Добрый день всем. Помогите пожалуйста, не могу разобраться никак, облазил весь форум, но так и не понял в чем проблема и как ее исправить…
Установил pfsense (1.2.3-RELEASE) + squid (2.7.9_4)
при установке squidguard (1.3_1 pkg v.1.9) снизу появляется ошибка:
Warning: file_get_contents(/usr/local/etc/squidGuard/blacklist.files): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 585 Warning: file_get_contents(/usr/local/etc/squidGuard/blacklist.files): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 585 Warning: file_get_contents(/usr/local/etc/squidGuard/blacklist.files): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 585Пытаюсь произвести какие леибо настройки, выдает:
Warning: file_get_contents(/usr/local/etc/squidGuard/blacklist.files): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 585 Warning: Cannot modify header information - headers already sent by (output started at /usr/local/pkg/squidguard_configurator.inc:585) in /usr/local/www/pkg_edit.php on line 35Удалял пакет и ставл снова. Знания по freeBsd нулевые. Объясните что нужно сделать доступным языком.
Заранее спасибо.
-
Исправить
/usr/local/pkg/squidguard_configurator.inc:585# load blk entries $db_entries = explode("\n", file_get_contents(SQUIDGUARD_BLK_FILELISTPATH));
На
# load blk entries if (file_exists(SQUIDGUARD_BLK_FILELISTPATH)) $db_entries = explode("\n", file_get_contents(SQUIDGUARD_BLK_FILELISTPATH));
-
Спасибо огромное. Вроде получилось.