Tentando entender o que está acontecendo com o Squid e Squidguard
-
Pessoal, quem puder ajudar a entender o que está se passando no Squid e Squidguard que instalei.
Funciona até uma parte, apenas quando ativo o squidguard para trabalhar com autenticação ldap para fazer o controle conforme o grupo do AD.
Está aparecendo essa mensagem no log, só não consegui entender ainda.$ tail -n 15 /var/squid/logs/cache.log
BDB1565 DB->put: method not permitted before handle's open method
2015-08-07 14:01:48 [24382] FATAL: sgDbLoadTextFile: put: Invalid argument
2015-08-07 14:01:48 [24382] ERROR: Going into emergency mode
2015-08-07 14:01:48 [24537] (squidGuard): can't write to logfile /var/log/squidGuard.log
2015-08-07 14:01:48 [24537] INFO: New setting: logdir: /var/squidGuard/log
2015-08-07 14:01:48 [24537] INFO: New setting: dbhome: /var/db/squidGuard
2015-08-07 14:01:48 [24537] INFO: New setting: ldapbinddn: cn=Administrador,cn=Users,dc=minhaempresa,dc=local
2015-08-07 14:01:48 [24537] INFO: New setting: ldapbindpass: ***************
2015-08-07 14:01:48 [24537] INFO: New setting: ldapprotover: 3
2015-08-07 14:01:48 [24537] INFO: New setting: stripntdomain: true
2015-08-07 14:01:48 [24537] INFO: New setting: striprealm: true
2015-08-07 14:01:48 [24537] init domainlist /var/db/squidGuard/SitePermitido/domains
BDB1565 DB->put: method not permitted before handle's open method
2015-08-07 14:01:48 [24537] FATAL: sgDbLoadTextFile: put: Invalid argument
2015-08-07 14:01:48 [24537] ERROR: Going into emergency modeLembrando que a senha não tem caracteres especiais, apenas letra e numero.
-
Qual versão do pfsense,squid e squidguard está usando?
-
Marcelo,
Uso o pfsense 2.2.3.
Squid3 - 0.2.8
SquidGuard-Devel -
Refiz a instalação no pfsense 2.2.4, squid3 e squidguard-devel e continua dando os erros parecidos.
$ tail -n 15 /var/squid/logs/cache.log
2015-08-10 18:15:49 [16569] INFO: New setting: logdir: /var/squidGuard/log
2015-08-10 18:15:49 [16569] INFO: New setting: dbhome: /var/db/squidGuard
2015-08-10 18:15:49 [16569] INFO: New setting: ldapbinddn: cn=Administrador,cn=Users,dc=minhaempresa,dc=local
2015-08-10 18:15:49 [16569] INFO: New setting: ldapbindpass: ***************
2015-08-10 18:15:49 [16569] INFO: New setting: ldapprotover: 3
2015-08-10 18:15:49 [16569] INFO: New setting: stripntdomain: true
2015-08-10 18:15:49 [16569] INFO: New setting: striprealm: true
2015-08-10 18:15:49 [16569] logfile not allowed in acl other than default
2015/08/10 18:15:49| pinger: Initialising ICMP pinger …
2015/08/10 18:15:57 kid1| Starting new ntlmauthenticator helpers...
BDB1565 DB->cursor: method not permitted before handle's open method
BDB1565 DB->cursor: method not permitted before handle's open method
BDB1565 DB->cursor: method not permitted before handle's open method
BDB1565 DB->cursor: method not permitted before handle's open method
BDB1565 DB->cursor: method not permitted before handle's open method -
aqui a solução: https://forum.pfsense.org/index.php?topic=99450.0