Mensagens de erro ao iniciar Dansguardian e comportamento estranho do CLAM!!!!


  • Olá pessoal…
    config: 2.0.2-RELEASE (amd64) - Dansguardian 2.12.0.3_1 - squid 2.7.9 pkg v.4.3.3

    ao iniciar o pfsense, várias msgs de erro são mostradas no monitor...
    estes erros estão em /var/tmp/PHP_errors.log, um para cada list....
    PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783

    No system log tbem são mostrados estes erros, não sei se estão relacionados....
    Feb 11 21:49:16 php: : XML error: XML_ERR_NAME_REQUIRED at line 1 in /usr/local/pkg/dansguardian_users_footer.xml
    Feb 11 21:49:16 php: : XML error: Invalid document end at line 99 in /usr/local/pkg/dansguardian_users_header.xml
    Feb 11 21:49:16 php: : XML error: Invalid document end at line 114 in /usr/local/pkg/dansguardian_ips_header.xml

    Já dei um save em todas as telas do Dansguardian, mas o erro persiste, embora o serviço inicie e funcione normalmente.

    Quanto ao Clam antivirus, se o ativo, dai pra frente qualquer aba do dansguardian que clico em salvar demora uns 3 minutos para finalizar o processo... Se desativo o salvamento é imediato.... Já desinstalei
    e reinstalei o Dans, até mesmo o binário novo que o marcelloc citou mas o comportamento persiste. O consumo de cpu, com o CLAM ativado, dá picos de 60%, o que não acontece em outros servidores que
    tenho instalado.

    []s


  • Execute o freshclam na console e aguarde a atualização das definições de vírus.

    Com relação aos outros erros, vou tentar simular aqui. até onde testei, não vi estes erros.

    veja se este arquivo existe na sua instalação /usr/local/etc/dansguardian/lists/bannedphraselist

    Se não existir, crie o arquivo com qualquer conteúdo dentro(de preferencia #comentários).
    Este erro pode estar impedindo a conclusão da criação dos arquivos de configuração.


  • @marcelloc:

    Execute o freshclam na console e aguarde a atualização das definições de vírus.

    Com relação aos outros erros, vou tentar simular aqui. até onde testei, não vi estes erros.

    veja se este arquivo existe na sua instalação /usr/local/etc/dansguardian/lists/bannedphraselist

    Se não existir, crie o arquivo com qualquer conteúdo dentro(de preferencia #comentários).
    Este erro pode estar impedindo a conclusão da criação dos arquivos de configuração.

    marcelloc…

    coloquei aqui apenas a primeira linha do erro, na verdade aparecem como erro todos as listas existentes na pasta citada...
    .... todas as listas existem na pasta citada /usr/local/etc/dansguardian/lists, nao falta nenhuma....
    o que notei é que parece que o dansguardian é executado 2x... da primeira ele dá a lista de erros e na segunda vez inicia normalmente.
    o estranha é que nao achei em nenhum lugar 2 chamadas para o mesmo programa... nao poderia ser um erro de permissao???
    o mesmo parece ocorrer com o zabbix e o zabbix2....

    []s


  • Faz o mesmo teste com a 2.0.3, pode ser bug da 2.0.2


  • @marcelloc:

    Faz o mesmo teste com a 2.0.3, pode ser bug da 2.0.2

    Fiz o teste e o pacote do dansguardian permanece mostrando estas mgs de erro onde na verdade não há.
    Realmente existem 2 execuções… a primeira aparece em "starting package Dansguardian" onde as msgs sao mostradas.
    Na segunda chamada apenas aparece "starting /usr/local/etc/rc.d/dansguardian.sh....done"  e essa e executada normalmente.
    O package do zabbix2 nao apresentou mais erros.
    OBS: o owner da pasta  /usr/local/etc/dansguardian é mesmo o clamav????





  • @sosmicro:

    OBS: o owner da pasta  /usr/local/etc/dansguardian é mesmo o clamav????

    Por conta da integração com o clamav, sim.


  • @sosmicro:

    Fiz o teste e o pacote do dansguardian permanece mostrando estas mgs de erro onde na verdade não há.

    Pode verificar se na sua instalação dentro da parta /usr/local/etc/dansguardian/lists existem os arquivos de exemplo?


  • @marcelloc:

    Por conta da integração com o clamav, sim.

    @sosmicro:

    …. todas as listas existem na pasta citada /usr/local/etc/dansguardian/lists, nao falta nenhuma....

    Ok. apenas uma dúvida… os scripts de inicialização são apenas os que existem na pasta ..usr/local/etc/rc.d/ ou existe algum outro que é executado antes ???



  • @sosmicro:

    Ok. apenas uma dúvida… os scripts de inicialização são apenas os que existem na pasta ..usr/local/etc/rc.d/ ou existe algum outro que é executado antes ???

    o pfsense durante o boot, carrega todos os arquivos .inc da pasta /usr/local/pkg.

    O erro que você postou está relacionado aos grupos definidos no dansguardian.
    Quantos grupos você tem definido?

    EDIT

    Tem alguma acl em branco em algum dos grupos definidos?


  • @marcelloc:

    o pfsense durante o boot, carrega todos os arquivos .inc da pasta /usr/local/pkg.
    O erro que você postou está relacionado aos grupos definidos no dansguardian.
    Quantos grupos você tem definido?
    Tem alguma acl em branco em algum dos grupos definidos?

    Marcelloc..

    tenho 4 grupos definidos e nas acls apenas as default, sem nenhuma marcada como enable ainda… nem nos grupos cheguei a escolher nenhuma acl....
    a unica coisa estranha são as 2 execuções do mesmo package... anexei uma tela do reboot .. dê uma olhada...

    veja as msgs de erro:

    
    12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/greysitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfilesitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logsitelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/weightedphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionphraselist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/greyurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/urlregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionfileurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/logregexpurllist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/contentregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedextensionlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedmimetypelist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/headerregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedregexpheaderlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/searchengineregexplist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/bannedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/weightedsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    [12-Feb-2013 18:14:00] PHP Warning:  file_get_contents(/usr/local/etc/dansguardian/lists/exceptionsearchtermlist.): failed to open stream: No such file or directory in /usr/local/pkg/dansguardian.inc on line 783
    
    



  • @sosmicro:

    … nem nos grupos cheguei a escolher nenhuma acl....

    Marque as acls do grupo, já estou alterando o pacote para alertar isso.

    Com relação ao startup, parece normal. Aparentemente uma execução para salvar o xml e outra para iniciar o serviço.


  • @marcelloc:

    @sosmicro:

    … nem nos grupos cheguei a escolher nenhuma acl....

    Marque as acls do grupo, já estou alterando o pacote para alertar isso.

    Com relação ao startup, parece normal. Aparentemente uma execução para salvar o xml e outra para iniciar o serviço.

    Marcelloc…

    Ok. após marcar as acls os erros sumiram (runs like a charm!!!  ;D ;D ;D ;D ).... restaram apenas esta msgs abaixo (olhando pelo system logs)

    Feb 12 18:53:05 php: : XML error: XML_ERR_NAME_REQUIRED at line 1 in /usr/local/pkg/dansguardian_users_footer.xml
    Feb 12 18:53:05 php: : XML error: Invalid document end at line 99 in /usr/local/pkg/dansguardian_users_header.xml
    Feb 12 18:53:05 php: : XML error: Invalid document end at line 114 in /usr/local/pkg/dansguardian_ips_header.

    Dúvida:  para uma instalação nova, vc recomenta instalar o 2.0.1 ??? Quanto tempo será que vai demorar a 2.0.3???

    []s


  • @sosmicro:

    Dúvida:  para uma instalação nova, vc recomenta instalar o 2.0.1 ??? Quanto tempo será que vai demorar a 2.0.3???

    A 2.0.1 é bem estável, mas se tudo o que você precisa funcionar na 2.0.3…


  • subi a versão 0.1.7_2 com a verificação de acls no grupos e renomeei os template de arquivos .xml que estavam dando erro.

    Depois de atualizar, veja se os arquivos

    /usr/local/pkg/dansguardian_users_footer.xml
    /usr/local/pkg/dansguardian_users_header.xml
    /usr/local/pkg/dansguardian_ips_header.xml

    deram lugar a

    /usr/local/pkg/dansguardian_users_footer.xml.template
    /usr/local/pkg/dansguardian_users_header.xml.template
    /usr/local/pkg/dansguardian_ips_header.xml.template

    obs: A atualização do binário continua valendo porque os patches ainda não entraram no fonte do dansguardian.


  • @marcelloc:

    subi a versão 0.1.7_2 com a verificação de acls no grupos e renomeei os template de arquivos .xml que estavam dando erro.
    obs: A atualização do binário continua valendo porque os patches ainda não entraram no fonte do dansguardian.

    Marcelloc.

    as msgs na console/monitor quando o pfsense dá boot continuam aparecendo. Estão aparecendo agora estas no system log…  Agora estou só com o grupo default e um grupo teste com todas as acls default marcadas....

    Feb 13 00:31:08 php: : dansguardian - Config error, Group default searchacl cannot be empty! Trying to load default acl values
    Feb 13 00:31:08 php: : dansguardian - Config error, Group default searchacl cannot be empty! Trying to load default acl values
    Feb 13 00:31:08 php: : dansguardian - Config error, Group default searchacl cannot be empty! Trying to load default acl values
    Feb 13 00:31:08 php: : dansguardian - Config error, Group default searchacl cannot be empty! Trying to load default acl values
    Feb 13 00:31:08 php: : dansguardian - Config error, Group default headeracl cannot be empty! Trying to load default acl values
    Feb 13 00:31:08 php: : dansguardian - Config error, Group default headeracl cannot be empty! Trying to load default acl values
    Feb 13 00:31:08 php: : dansguardian - Config error, Group default extensionacl cannot be empty! Trying to load default acl values
    Feb 13 00:31:08 php: : dansguardian - Config error, Group default extensionacl cannot be empty! Trying to load default acl values....etc

    o erro dos arquivos XML persiste, agora indicando o arquivo renomeado.

    Feb 13 00:31:09 php: : XML error: XML_ERR_NAME_REQUIRED at line 1 in /usr/local/pkg/dansguardian_users_footer.xml.template
    Feb 13 00:31:09 php: : XML error: Invalid document end at line 99 in /usr/local/pkg/dansguardian_users_header.xml.template
    Feb 13 00:31:09 php: : XML error: Invalid document end at line 114 in /usr/local/pkg/dansguardian_ips_header.xml.template

    OBS: o binário do dans esta atualizado conforme seu post...

    []s


  • É Marcello algo ocorreu no novo patch do Dans….acho que vai ter mais um trampo aí....rs.  Segue:

    Feb 13 13:39:41 php: /pkg_edit.php: Reloading Dansguardian
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador searchacl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador searchacl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador searchacl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador searchacl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador headeracl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador headeracl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador extensionacl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador extensionacl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador extensionacl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador extensionacl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador contentacl cannot be empty! Trying to load default acl values
    Feb 13 13:39:41 php: /pkg_edit.php: dansguardian - Config error, Group netcolaborador urlacl cannot be empty! Trying to load default acl values

    Att.
    Diogo


  • Com a versão 0.1.7_3, não vi mais o erro, pode atualizar e testar?


  • @marcelloc:

    Com a versão 0.1.7_3, não vi mais o erro, pode atualizar e testar?

    atualizada e testada… as mensagens de erro no boot e no system log não aparecem mais.

    []s


  • @marcelloc:

    Execute o freshclam na console e aguarde a atualização das definições de vírus.

    marcelloc…

    o freshclam é executado com sucesso e sem erros...mas quando tento executar manualmente o clamd recebe a msg abaixo:

    LOCAL: Socket file /var/run/clamav/clamd.sock could not be bound: No such file or directory

    ... realmente o diretorio clamav não existe mesmo... tentei reinstalar o pacote mas mesmo assim o diretorio nao foi criado.

    Quanto ativo o clam via GUI do dansguardian recebo o seguinte erro:
    Fatal error: Allowed memory size of 262144000 bytes exhausted (tried to allocate 17023308 bytes) in /usr/local/pkg/dansguardian.inc on line 1151

    Ou seja, estou deixando ele desativado até conseguir resolver todos os problemas...

    []s