Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Tentando entender o que está acontecendo com o Squid e Squidguard

    Portuguese
    3
    5
    1564
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      igmotta last edited by

      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 mode

      Lembrando que a senha não tem caracteres especiais, apenas letra e numero.

      1 Reply Last reply Reply Quote 0
      • marcelloc
        marcelloc last edited by

        Qual versão do pfsense,squid e squidguard está usando?

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • I
          igmotta last edited by

          Marcelo,
          Uso o pfsense 2.2.3.
          Squid3 - 0.2.8
          SquidGuard-Devel

          1 Reply Last reply Reply Quote 0
          • I
            igmotta last edited by

            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

            1 Reply Last reply Reply Quote 0
            • R
              rronaldo last edited by

              aqui a solução: https://forum.pfsense.org/index.php?topic=99450.0

              1 Reply Last reply Reply Quote 0
              • First post
                Last post