Serviço Squid não inicia após atualizar o pacote



  • Prezados,
    Após atualizar o pacote do Squid no Pfsense 2.3.2-RELEASE-p1, o squid parou de funcionar.
    O Squid foi atualizado para a versão 0.4.23_2.
    Houve alguma mudança no novo pacote ? Reinstalei o pacote porem sem sucesso.
    Inclusive o PF2AD estava funcionando normalmente, porem também parou de funcionar.
    Segundo o log, me parece algo no modulo de autenticação.

    Quando tento executar, vejo estes erros nos logs:

    Dec  2 11:23:59 srv17 php-fpm[72265]: /pkg_edit.php: [squid] - squid_resync function call pr: bp: rpc:no
    Dec  2 11:23:59 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Adding cronjobs …
    Dec  2 11:23:59 srv17 php-fpm[72265]: /pkg_edit.php: Checked cron job for /usr/local/sbin/squid -k rotate -f /usr/local/etc/squid/squid.conf, no change needed
    Dec  2 11:23:59 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Antivirus features disabled.
    Dec  2 11:23:59 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Removing freshclam cronjob.
    Dec  2 11:24:00 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Creating cache dir '/var/squid/cache' …
    Dec  2 11:24:00 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Creating Squid cache subdirs in /var/squid/cache …
    Dec  2 11:24:00 srv17 squid: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory
    Dec  2 11:24:00 srv17 php-fpm[72265]: /pkg_edit.php: The command '/usr/local/sbin/squid -z -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2016/12/02 11:24:00| ERROR: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory FATAL: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory Squid Cache (Version 3.5.19): Terminated abnormally. CPU Usage: 0.012 seconds = 0.006 user + 0.006 sys Maximum Resident Size: 57408 KB Page faults with physical i/o: 0'
    Dec  2 11:24:01 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Starting service…
    Dec  2 11:24:01 srv17 squid: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory
    Dec  2 11:24:01 srv17 php-fpm[72265]: /pkg_edit.php: The command '/usr/local/sbin/squid -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2016/12/02 11:24:01| ERROR: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory FATAL: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory Squid Cache (Version 3.5.19): Terminated abnormally. CPU Usage: 0.011 seconds = 0.011 user + 0.000 sys Maximum Resident Size: 52592 KB Page faults with physical i/o: 0'
    Dec  2 11:24:11 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Starting a proxy monitor script
    Dec  2 11:24:12 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Stopping any running proxy monitors
    Dec  2 11:24:13 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Starting service…
    Dec  2 11:24:13 srv17 squid: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory
    Dec  2 11:24:13 srv17 php-fpm[72265]: /pkg_edit.php: The command '/usr/local/sbin/squid -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2016/12/02 11:24:13| ERROR: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory FATAL: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory Squid Cache (Version 3.5.19): Terminated abnormally. CPU Usage: 0.010 seconds = 0.010 user + 0.000 sys Maximum Resident Size: 52640 KB Page faults with physical i/o: 0'
    Dec  2 11:24:24 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Starting a proxy monitor script
    Dec  2 11:24:25 srv17 php-fpm[72265]: /pkg_edit.php: [squid] - squid_resync function call pr: bp: rpc:no
    Dec  2 11:24:25 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Adding cronjobs …
    Dec  2 11:24:25 srv17 php-fpm[72265]: /pkg_edit.php: Checked cron job for /usr/local/sbin/squid -k rotate -f /usr/local/etc/squid/squid.conf, no change needed
    Dec  2 11:24:25 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Antivirus features disabled.
    Dec  2 11:24:25 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Removing freshclam cronjob.
    Dec  2 11:24:25 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Stopping any running proxy monitors
    Dec  2 11:24:26 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Creating cache dir '/var/squid/cache' …
    Dec  2 11:24:26 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Creating Squid cache subdirs in /var/squid/cache …
    Dec  2 11:24:26 srv17 squid: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory
    Dec  2 11:24:26 srv17 php-fpm[72265]: /pkg_edit.php: The command '/usr/local/sbin/squid -z -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2016/12/02 11:24:26| ERROR: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory FATAL: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory Squid Cache (Version 3.5.19): Terminated abnormally. CPU Usage: 0.010 seconds = 0.005 user + 0.005 sys Maximum Resident Size: 57616 KB Page faults with physical i/o: 0'
    Dec  2 11:24:27 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Starting service…
    Dec  2 11:24:27 srv17 squid: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory
    Dec  2 11:24:27 srv17 php-fpm[72265]: /pkg_edit.php: The command '/usr/local/sbin/squid -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2016/12/02 11:24:27| ERROR: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory FATAL: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory Squid Cache (Version 3.5.19): Terminated abnormally. CPU Usage: 0.010 seconds = 0.005 user + 0.005 sys Maximum Resident Size: 57824 KB Page faults with physical i/o: 0'
    Dec  2 11:24:37 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Starting a proxy monitor script
    Dec  2 11:24:38 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Stopping any running proxy monitors
    Dec  2 11:24:39 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Starting service…
    Dec  2 11:24:39 srv17 squid: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory
    Dec  2 11:24:39 srv17 php-fpm[72265]: /pkg_edit.php: The command '/usr/local/sbin/squid -f /usr/local/etc/squid/squid.conf' returned exit code '1', the output was '2016/12/02 11:24:39| ERROR: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory FATAL: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory Squid Cache (Version 3.5.19): Terminated abnormally. CPU Usage: 0.010 seconds = 0.000 user + 0.010 sys Maximum Resident Size: 52528 KB Page faults with physical i/o: 0'
    Dec  2 11:24:49 srv17 php-fpm[72265]: /pkg_edit.php: [squid] Starting a proxy monitor script
    Dec  2 11:24:54 srv17 Squid_Alarm[22837]: Squid has exited. Reconfiguring filter.
    Dec  2 11:24:54 srv17 Squid_Alarm[23208]: Attempting restart…
    Dec  2 11:24:54 srv17 squid: Authentication helper program /usr/local/libexec/squid/basic_msnt_auth: (2) No such file or directory




  • Já tentou fazer novamente a configuração do PF2AD? As configurações devem ter se perdido.



  • Prezado Tomas,
    Como é uma VM para testes de implantação, fiz uma nova instalação, atualizei tudo, instalei o PF2AD, e o problema não surgiu mais.
    Talvez seja porque eu primeiro atualizei todos os pacotes e somente depois instalei o PF2AD.
    Acredito que se instalar o PF2AD e depois atualizar o Squid, dai surge o problema.
    Abraços!



  • Sim, a questão é que o PF2AD faz alterações no squid.