Problema pfsense (Squid + SquidGuard)



  • Bom dia,

    estou com problema no meu pfsense .. quando eu ativo o squid+squidGuard o squidGuard não inicia.

    Toda vez que reinicio a maquina ele apresenta esse problema.

    Alguem ja  esteve este problema?



  • @diego.godoi:

    Bom dia,

    estou com problema no meu pfsense .. quando eu ativo o squid+squidGuard o squidGuard não inicia.

    Toda vez que reinicio a maquina ele apresenta esse problema.

    Alguem ja  esteve este problema?

    Qual versão do pfSense?
    E a versão do Squid?
    E a do SquidGuard?

    O que dizem os "Logs"?



  • Bom dia,

    Pfsense Versão: 2.2.2-RELEASE (amd64) built on Mon Apr 13 20:10:22 CDT 2015 FreeBSD 10.1-RELEASE-p9

    Squid: 2.7.9 pkg v.4.3.6

    SquidGuard: 1.9.14

    Logs

    Jun 18 11:41:19 php-fpm[247]: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "nat" rules.
    Jun 18 11:41:19 php-fpm[247]: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "pfearly" rules.
    Jun 18 11:41:19 php-fpm[247]: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "filter" rules.
    Jun 18 11:41:35 php-fpm[247]: /index.php: Successful login for user 'admin' from: 10.1.16.245
    Jun 18 11:41:35 php-fpm[247]: /index.php: Successful login for user 'admin' from: 10.1.16.245
    Jun 18 11:41:35 php-fpm[23047]: /index.php: IPsec daemon not running or has a problem!
    Jun 18 11:41:39 check_reload_status: updating dyndns GW_WAN
    Jun 18 11:41:39 check_reload_status: Restarting ipsec tunnels
    Jun 18 11:41:39 check_reload_status: Restarting OpenVPN tunnels/interfaces
    Jun 18 11:41:39 check_reload_status: Reloading filter
    Jun 18 11:41:40 php-fpm[23047]: /index.php: IPsec daemon not running or has a problem!
    Jun 18 11:41:41 php-fpm[59565]: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "nat" rules.
    Jun 18 11:41:41 php-fpm[59565]: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "pfearly" rules.
    Jun 18 11:41:41 php-fpm[59565]: /rc.filter_configure_sync: SQUID is installed but not started. Not installing "filter" rules.
    Jun 18 11:41:47 kernel: done.
    Jun 18 11:41:47 check_reload_status: Updating all dyndns
    Jun 18 11:41:47 kernel: done.
    Jun 18 11:41:47 php: rc.bootup: SQUID is installed but not started. Not installing "nat" rules.
    Jun 18 11:41:47 php: rc.bootup: SQUID is installed but not started. Not installing "pfearly" rules.
    Jun 18 11:41:47 kernel: .
    Jun 18 11:41:47 php: rc.bootup: SQUID is installed but not started. Not installing "filter" rules.
    Jun 18 11:41:47 kernel: ..
    Jun 18 11:41:47 kernel: .done.
    Jun 18 11:41:47 kernel: ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to accept, logging disabled
    Jun 18 11:41:47 kernel: DUMMYNET 0 with IPv6 initialized (100409)
    Jun 18 11:41:47 kernel: load_dn_sched dn_sched FIFO loaded
    Jun 18 11:41:47 kernel: load_dn_sched dn_sched QFQ loaded
    Jun 18 11:41:47 kernel: load_dn_sched dn_sched RR loaded
    Jun 18 11:41:47 kernel: load_dn_sched dn_sched WF2Q+ loaded
    Jun 18 11:41:47 kernel: load_dn_sched dn_sched PRIO loaded
    Jun 18 11:41:47 kernel: done
    Jun 18 11:41:49 php: rc.bootup: Creating rrd update script
    Jun 18 11:41:50 syslogd: exiting on signal 15
    Jun 18 11:41:50 syslogd: kernel boot file is /boot/kernel/kernel
    Jun 18 11:41:50 kernel: done.
    Jun 18 11:41:50 php-fpm[63129]: /rc.start_packages: Restarting/Starting all packages.
    Jun 18 11:41:50 php-fpm[63129]: /rc.start_packages: Starting Squid
    Jun 18 11:41:50 squid[15938]: Squid Parent: child process 16601 started
    Jun 18 11:41:51 squid[16601]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:41:51 squid[15938]: Squid Parent: child process 16601 exited due to signal 6
    Jun 18 11:41:51 kernel: pid 16601 (squid), uid 62: exited on signal 6
    Jun 18 11:41:51 php-fpm[63129]: /rc.start_packages: Reloading Squid for configuration sync
    Jun 18 11:41:51 php-fpm[63129]: /rc.start_packages: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was '2015/06/18 11:41:51| parseConfigFile: squid.conf:67 unrecognized: 'url_rewrite_bypass' squid: ERROR: Could not send signal 1 to process 16601: (3) No such process'
    Jun 18 11:41:51 check_reload_status: Reloading filter
    Jun 18 11:41:51 php-fpm[63129]: /rc.start_packages: Reloading Squid for configuration sync
    Jun 18 11:41:51 php-fpm[63129]: /rc.start_packages: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was '2015/06/18 11:41:51| parseConfigFile: squid.conf:67 unrecognized: 'url_rewrite_bypass' squid: ERROR: Could not send signal 1 to process 16601: (3) No such process'
    Jun 18 11:41:51 php-fpm[63129]: /rc.start_packages: Not calling package sync code for dependency squid of squid because some include files are missing.
    Jun 18 11:41:52 php-fpm[63129]: /rc.start_packages: Reloading Squid for configuration sync
    Jun 18 11:41:52 php-fpm[63129]: /rc.start_packages: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was '2015/06/18 11:41:52| parseConfigFile: squid.conf:67 unrecognized: 'url_rewrite_bypass' squid: ERROR: Could not send signal 1 to process 16601: (3) No such process'
    Jun 18 11:41:52 php-fpm[63129]: /rc.start_packages: Reloading Squid for configuration sync
    Jun 18 11:41:52 php-fpm[63129]: /rc.start_packages: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was '2015/06/18 11:41:52| parseConfigFile: squid.conf:67 unrecognized: 'url_rewrite_bypass' squid: ERROR: Could not send signal 1 to process 16601: (3) No such process'
    Jun 18 11:41:52 check_reload_status: Reloading filter
    Jun 18 11:41:52 php-fpm[63129]: /rc.start_packages: Reloading Squid for configuration sync
    Jun 18 11:41:53 php-fpm[63129]: /rc.start_packages: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was '2015/06/18 11:41:53| parseConfigFile: squid.conf:67 unrecognized: 'url_rewrite_bypass' squid: ERROR: Could not send signal 1 to process 16601: (3) No such process'
    Jun 18 11:41:53 check_reload_status: Reloading filter
    Jun 18 11:41:53 php-fpm[63129]: /rc.start_packages: Reloading Squid for configuration sync
    Jun 18 11:41:53 php-fpm[63129]: /rc.start_packages: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was '2015/06/18 11:41:53| parseConfigFile: squid.conf:67 unrecognized: 'url_rewrite_bypass' squid: ERROR: Could not send signal 1 to process 16601: (3) No such process'
    Jun 18 11:41:53 check_reload_status: Reloading filter
    Jun 18 11:41:53 php-fpm[63129]: /rc.start_packages: Reloading Squid for configuration sync
    Jun 18 11:41:53 php-fpm[63129]: /rc.start_packages: The command '/usr/pbi/squid-amd64/sbin/squid -k reconfigure' returned exit code '1', the output was '2015/06/18 11:41:53| parseConfigFile: squid.conf:67 unrecognized: 'url_rewrite_bypass' squid: ERROR: Could not send signal 1 to process 16601: (3) No such process'
    Jun 18 11:41:54 check_reload_status: Syncing firewall
    Jun 18 11:41:54 squid[15938]: Squid Parent: child process 36987 started
    Jun 18 11:41:54 squid[36987]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:41:54 kernel: pid 36987 (squid), uid 62: exited on signal 6
    Jun 18 11:41:54 squid[15938]: Squid Parent: child process 36987 exited due to signal 6
    Jun 18 11:41:55 login: login on ttyv0 as root
    Jun 18 11:41:55 sshlockout[92731]: sshlockout/webConfigurator v3.0 starting up
    Jun 18 11:41:57 squid[15938]: Squid Parent: child process 95526 started
    Jun 18 11:41:57 squid[95526]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:41:57 squid[15938]: Squid Parent: child process 95526 exited due to signal 6
    Jun 18 11:41:57 kernel: pid 95526 (squid), uid 62: exited on signal 6
    Jun 18 11:41:59 kernel: arp: 0.0.0.0 moved from dc:a5:f4:0d:4a:1b to dc:a5:f4:2c:4c:b4 on re0
    Jun 18 11:42:00 php: servicewatchdog_cron.php: Service Watchdog detected service squidGuard stopped. Restarting squidGuard (Proxy server filter Service)
    Jun 18 11:42:00 squid[15938]: Squid Parent: child process 40626 started
    Jun 18 11:42:01 squid[40626]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:42:01 squid[15938]: Squid Parent: child process 40626 exited due to signal 6
    Jun 18 11:42:01 kernel: pid 40626 (squid), uid 62: exited on signal 6
    Jun 18 11:42:04 squid[15938]: Squid Parent: child process 91924 started
    Jun 18 11:42:04 squid[91924]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:42:04 squid[15938]: Squid Parent: child process 91924 exited due to signal 6
    Jun 18 11:42:04 kernel: pid 91924 (squid), uid 62: exited on signal 6
    Jun 18 11:42:04 squid[15938]: Exiting due to repeated, frequent failures
    Jun 18 11:42:28 kernel: arp: 0.0.0.0 moved from dc:a5:f4:2c:4c:b4 to dc:a5:f4:4a:3e:18 on re0
    Jun 18 11:42:57 kernel: arp: 0.0.0.0 moved from dc:a5:f4:2c:4c:b4 to dc:a5:f4:0d:4a:1b on re0
    Jun 18 11:42:58 kernel: arp: 0.0.0.0 moved from dc:a5:f4:0d:4a:1b to dc:a5:f4:2c:4c:b4 on re0
    Jun 18 11:43:00 php: servicewatchdog_cron.php: Service Watchdog detected service squid stopped. Restarting squid (Proxy server Service)
    Jun 18 11:43:00 php: servicewatchdog_cron.php: Service Watchdog detected service squidGuard stopped. Restarting squidGuard (Proxy server filter Service)
    Jun 18 11:43:00 squid[60066]: Squid Parent: child process 60549 started
    Jun 18 11:43:00 squid[60549]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:43:00 squid[60066]: Squid Parent: child process 60549 exited due to signal 6
    Jun 18 11:43:00 kernel: pid 60549 (squid), uid 62: exited on signal 6
    Jun 18 11:43:03 squid[60066]: Squid Parent: child process 6063 started
    Jun 18 11:43:04 squid[6063]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:43:04 squid[60066]: Squid Parent: child process 6063 exited due to signal 6
    Jun 18 11:43:04 kernel: pid 6063 (squid), uid 62: exited on signal 6
    Jun 18 11:43:07 squid[60066]: Squid Parent: child process 51239 started
    Jun 18 11:43:07 squid[51239]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:43:07 squid[60066]: Squid Parent: child process 51239 exited due to signal 6
    Jun 18 11:43:07 kernel: pid 51239 (squid), uid 62: exited on signal 6
    Jun 18 11:43:10 squid[60066]: Squid Parent: child process 7300 started
    Jun 18 11:43:11 squid[7300]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:43:11 squid[60066]: Squid Parent: child process 7300 exited due to signal 6
    Jun 18 11:43:11 kernel: pid 7300 (squid), uid 62: exited on signal 6
    Jun 18 11:43:14 squid[60066]: Squid Parent: child process 60880 started
    Jun 18 11:43:14 squid[60880]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:43:14 squid[60066]: Squid Parent: child process 60880 exited due to signal 6
    Jun 18 11:43:14 kernel: pid 60880 (squid), uid 62: exited on signal 6
    Jun 18 11:43:14 squid[60066]: Exiting due to repeated, frequent failures
    Jun 18 11:43:27 kernel: arp: 0.0.0.0 moved from dc:a5:f4:4a:3e:18 to dc:a5:f4:0d:4a:1b on re0
    Jun 18 11:43:28 kernel: arp: 0.0.0.0 moved from dc:a5:f4:2c:4c:b4 to dc:a5:f4:4a:3e:18 on re0
    Jun 18 11:43:55 kernel: arp: 0.0.0.0 moved from dc:a5:f4:4a:3e:18 to dc:a5:f4:0d:4a:1b on re0
    Jun 18 11:43:57 kernel: arp: 0.0.0.0 moved from dc:a5:f4:0d:4a:1b to dc:a5:f4:2c:4c:b4 on re0
    Jun 18 11:44:00 php: servicewatchdog_cron.php: Service Watchdog detected service squid stopped. Restarting squid (Proxy server Service)
    Jun 18 11:44:00 php: servicewatchdog_cron.php: Service Watchdog detected service squidGuard stopped. Restarting squidGuard (Proxy server filter Service)
    Jun 18 11:44:00 squid[76101]: Squid Parent: child process 76377 started
    Jun 18 11:44:00 squid[76377]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:44:00 squid[76101]: Squid Parent: child process 76377 exited due to signal 6
    Jun 18 11:44:00 kernel: pid 76377 (squid), uid 62: exited on signal 6
    Jun 18 11:44:03 squid[76101]: Squid Parent: child process 22361 started
    Jun 18 11:44:04 squid[22361]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:44:04 kernel: pid 22361 (squid), uid 62: exited on signal 6
    Jun 18 11:44:04 squid[76101]: Squid Parent: child process 22361 exited due to signal 6
    Jun 18 11:44:07 squid[76101]: Squid Parent: child process 77105 started
    Jun 18 11:44:07 squid[77105]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:44:07 squid[76101]: Squid Parent: child process 77105 exited due to signal 6
    Jun 18 11:44:07 kernel: pid 77105 (squid), uid 62: exited on signal 6
    Jun 18 11:44:10 squid[76101]: Squid Parent: child process 22256 started
    Jun 18 11:44:10 squid[22256]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:44:10 squid[76101]: Squid Parent: child process 22256 exited due to signal 6
    Jun 18 11:44:10 kernel: pid 22256 (squid), uid 62: exited on signal 6
    Jun 18 11:44:13 squid[76101]: Squid Parent: child process 67217 started
    Jun 18 11:44:14 squid[67217]: The url_rewriter helpers are crashing too rapidly, need help!
    Jun 18 11:44:14 squid[76101]: Squid Parent: child process 67217 exited due to signal 6
    Jun 18 11:44:14 kernel: pid 67217 (squid), uid 62: exited on signal 6
    Jun 18 11:44:14 squid[76101]: Exiting due to repeated, frequent failures
    Jun 18 11:44:24 kernel: arp: 0.0.0.0 moved from dc:a5:f4:4a:3e:18 to dc:a5:f4:0d:4a:1b on re0
    Jun 18 11:44:26 kernel: arp: 0.0.0.0 moved from dc:a5:f4:0d:4a:1b to dc:a5:f4:4a:3e:18 on re0
    Jun 18 11:44:37 lighttpd[85303]: (request.c.1125) POST-request, but content-length missing -> 411
    Jun 18 11:44:42 lighttpd[85303]: (request.c.1125) POST-request, but content-length missing -> 411
    Jun 18 11:44:42 check_reload_status: Syncing firewall
    Jun 18 11:44:42 syslogd: exiting on signal 15
    Jun 18 11:44:42 syslogd: kernel boot file is /boot/kernel/kernel

    Instalei tambem o Service Watchdog para ver se funciona mais não funciona, olha o antes e o depois de parar o squidGuard






  • Boa tarde,

    consegui resolver o problema .. creio que deve ter algum BUG na versão 2.2 do pfsense.

    Solucionei o problema criando uma (Target Categories  Sem_Regras [Sem_Bloqueio]) no squidGuard

    Sem Regras e Bloqueios.

    Obrigado



  • @diego.godoi:

    Boa tarde,

    consegui resolver o problema .. creio que deve ter algum BUG na versão 2.2 do pfsense.
    Solucionei o problema criando uma (Target Categories  Sem_Regras [Sem_Bloqueio]) no squidGuard
    Sem Regras e Bloqueios.

    Oi,

    ainda ontem tive de instalar novamente o pfSense, e novamente o Squid3 + SquidGuard não funcionaram logo.
    Mas não precisei criar nenhuma regra. Tem um probemazinho no SquidGuard, que precisa alterar algumas coisas nos ficheiros "conf", como relatado em vários lugares; o que eu fiz.
    E o problema do Squid3, já tinha esquecido, é que demora para baixar e atualizar o Antivirus.
    Depois disso, tudo beleza…



  • Max2012,

    Poderia descrever com seria essa alteração no "conf"?


Log in to reply