LINUX.ORG.RU
ФорумAdmin

Не хочет работать squid + squidGuard

 


0

2

В тэги текст что-то не укладывается...

squidGuard.log -

[root@alex squidGuard]# tail -f squidGuard.log
2017-09-09 20:44:21 [10833] (squidGuard): default acl not defined in configfile  /etc/squid/squidGuard.conf
2017-09-09 20:44:21 [10833] Going into emergency mode
2017-09-09 20:44:21 [10830] (squidGuard): default acl not defined in configfile  /etc/squid/squidGuard.conf
2017-09-09 20:44:21 [10830] Going into emergency mode
2017-09-09 20:44:21 [10832] (squidGuard): default acl not defined in configfile  /etc/squid/squidGuard.conf
2017-09-09 20:44:21 [10832] Going into emergency mode
2017-09-09 20:44:21 [10829] (squidGuard): default acl not defined in configfile  /etc/squid/squidGuard.conf
2017-09-09 20:44:21 [10829] Going into emergency mode
2017-09-09 20:44:21 [10831] (squidGuard): default acl not defined in configfile  /etc/squid/squidGuard.conf
2017-09-09 20:44:21 [10831] Going into emergency mode
2017-09-09 21:54:37 [10829] ending emergency mode, stdin empty
2017-09-09 21:54:37 [10830] ending emergency mode, stdin empty
2017-09-09 21:54:37 [10831] ending emergency mode, stdin empty
2017-09-09 21:54:37 [10832] ending emergency mode, stdin empty
2017-09-09 21:54:37 [10833] ending emergency mode, stdin empty
2017-09-09 21:54:38 [11000] New setting: dbhome: /var/squidGuard/blacklists
2017-09-09 21:54:38 [11000] New setting: logdir: /var/log/squidGuard
2017-09-09 21:54:38 [11000] init urllist /var/squidGuard/blacklists/porn/urls
2017-09-09 21:54:38 [11001] New setting: dbhome: /var/squidGuard/blacklists
2017-09-09 21:54:38 [11001] New setting: logdir: /var/log/squidGuard
2017-09-09 21:54:38 [11001] init urllist /var/squidGuard/blacklists/porn/urls
2017-09-09 21:54:38 [11003] New setting: dbhome: /var/squidGuard/blacklists
2017-09-09 21:54:38 [11003] New setting: logdir: /var/log/squidGuard
2017-09-09 21:54:38 [11003] init urllist /var/squidGuard/blacklists/porn/urls
2017-09-09 21:54:38 [11002] New setting: dbhome: /var/squidGuard/blacklists
2017-09-09 21:54:38 [11002] New setting: logdir: /var/log/squidGuard
2017-09-09 21:54:38 [11002] init urllist /var/squidGuard/blacklists/porn/urls
2017-09-09 21:54:38 [11004] New setting: dbhome: /var/squidGuard/blacklists
2017-09-09 21:54:38 [11004] New setting: logdir: /var/log/squidGuard
2017-09-09 21:54:38 [11004] init urllist /var/squidGuard/blacklists/porn/urls
2017-09-09 21:54:39 [11000] (squidGuard): ACL destination local is not defined in configfile /etc/squid/squidGuard.conf
2017-09-09 21:54:39 [11000] Going into emergency mode
2017-09-09 21:54:39 [11001] (squidGuard): ACL destination local is not defined in configfile /etc/squid/squidGuard.conf
2017-09-09 21:54:39 [11001] Going into emergency mode
2017-09-09 21:54:39 [11002] (squidGuard): ACL destination local is not defined in configfile /etc/squid/squidGuard.conf
2017-09-09 21:54:39 [11002] Going into emergency mode
2017-09-09 21:54:39 [11004] (squidGuard): ACL destination local is not defined in configfile /etc/squid/squidGuard.conf
2017-09-09 21:54:39 [11004] Going into emergency mode
2017-09-09 21:54:39 [11003] (squidGuard): ACL destination local is not defined in configfile /etc/squid/squidGuard.conf
2017-09-09 21:54:39 [11003] Going into emergency mode
[/cut]
squidGuard.conf - 
[cut]

# CONFIG FILE FOR SQUIDGUARD

dbhome /var/squidGuard/blacklists
logdir /var/log/squidGuard

src admin {
        ip              192.168.219.132
        ip              192.168.219.133
}


dest adult {
#       domainlist      porn/domains
        urllist         porn/urls
#       expressionlist  porn/expressions
        redirect        http://admin.foo.bar.de/cgi/blocked?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u
}


acl {
        admin {
                pass     any
        }
default {
 pass     local none
  }
}
[/cut]

не пойму куда копать. всё всем каталогам и файлам разрешил, везде владельцы и группы squid, но но ничего не запускается.... я уже squidGuard.conf сократил до минимума а толку ноль((  может у кого глаз набит заметите что не так?

Ответ на: комментарий от Lustig

заработало но почти сразу вылезла ошибка /var/squidGuard/blacklists/porn/domains: Permission denied в squidGuard.log я начал менять разрешения начиная с /squidGuard/blacklists/porn/domains везде сделал rwrwrw пробовал и rwx на все папки в итоге:


[root@alex squidGuard]# service squid restart
Останавливается squid:                                     [СБОЙ ]
Запускается squid: ....................                    [СБОЙ ]
niggaa ()
Ответ на: комментарий от niggaa

короче решил отказаться от squidGuardа в пользу DansGuardiana но после удаления squidGuarda squid так и не запустился)))

niggaa ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.