Netgate SG-1000 microFirewall

Author Topic: SquidGuard Crash each time I update blacklist  (Read 1368 times)

0 Members and 1 Guest are viewing this topic.

Offline Brutos

  • Newbie
  • *
  • Posts: 24
  • Karma: +3/-0
    • View Profile
SquidGuard Crash each time I update blacklist
« on: May 06, 2016, 05:40:58 pm »
Hi,

I hope someone can help me i get this error message each time i update my Squidguard blacklis. Can someone tell me what is happening please?

Thanks




amd64
10.3-RELEASE
FreeBSD 10.3-RELEASE #6 05adf0a(RELENG_2_3_0): Mon Apr 11 18:52:07 CDT 2016     root@ce23-amd64-builder:/builder/pfsense-230/tmp/obj/builder/pfsense-230/tmp/FreeBSD-src/sys/pfSense

Crash report details:

PHP Errors:
 PHP Stack trace:
 PHP   1. {main}() /tmp/squidGuard_blacklist_update.sh:0
 PHP   2. sg_reconfigure_blacklist() /tmp/squidGuard_blacklist_update.sh:5
 PHP   3. sg_update_blacklist() /usr/local/pkg/squidguard_configurator.inc:2095
 PHP   4. squidguard_ramdisk() /usr/local/pkg/squidguard_configurator.inc:2131
 PHP   5. mkdir() /usr/local/pkg/squidguard_configurator.inc:1978

Offline iqjet

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: SquidGuard Crash each time I update blacklist
« Reply #1 on: May 07, 2016, 03:55:06 am »
Same problem for me

Offline Brutos

  • Newbie
  • *
  • Posts: 24
  • Karma: +3/-0
    • View Profile
Re: SquidGuard Crash each time I update blacklist
« Reply #2 on: May 07, 2016, 04:06:14 am »
Same problem for me

Have you found any solutions yet?

Offline cmb

  • Hero Member
  • *****
  • Posts: 11228
  • Karma: +896/-7
    • View Profile
    • Chris Buechler
Re: SquidGuard Crash each time I update blacklist
« Reply #3 on: May 07, 2016, 04:12:45 am »
Not clear from that what's triggering it. The line in question creates the directory. That snippet cuts out part of the error that would be more telling. What do you get for command:

Code: [Select]
cat /tmp/PHP_errors.log

Offline iqjet

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: SquidGuard Crash each time I update blacklist
« Reply #4 on: May 07, 2016, 04:42:22 am »
may be the problem is solved
I changed according this to this link the file /usr/local/pkg/squidguard_configurator.inc
https://github.com/pfsense/pfsense-packages/pull/1244/commits/bad7efbdf7f21998161936051d474052d19a59ee

No error occured after updating the blacklist  :)

Offline cmb

  • Hero Member
  • *****
  • Posts: 11228
  • Karma: +896/-7
    • View Profile
    • Chris Buechler
Re: SquidGuard Crash each time I update blacklist
« Reply #5 on: May 07, 2016, 05:14:00 am »
Thanks for the pointer. That is indeed the problem I'm sure. I hadn't noticed that PR was out there. I merged that PR, and made the same change in the 2.3 pkg repo. The 2.3x pkg version with the fix will be 1.14_3.

Offline iqjet

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: SquidGuard Crash each time I update blacklist
« Reply #6 on: May 07, 2016, 05:25:18 am »
The new fixed 1.14_3 Squid_Guard Package is available and working
Wow, that has been a quick fix. Thanks a lot for your efforts.
« Last Edit: May 07, 2016, 05:33:30 am by iqjet »

Offline Brutos

  • Newbie
  • *
  • Posts: 24
  • Karma: +3/-0
    • View Profile
Re: SquidGuard Crash each time I update blacklist
« Reply #7 on: May 07, 2016, 06:44:10 am »
Thanks Guys for the help working fine now after update no errors. :) :)