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

    Loading package instructions

    Scheduled Pinned Locked Moved Russian
    31 Posts 9 Posters 11.7k Views
    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.
    • R
      Rezor666
      last edited by

      Сообственно проблему решил.
      Когда он начал ругаться я натянул Squid3, переустановил пакет squidguard и backup/restore сделал.
      Ошибка исчезла.

      (System administrator  | Certified Dr.Web | Office Guru)
      Мой блог

      1 Reply Last reply Reply Quote 0
      • werterW
        werter
        last edited by

        @Rezor666:

        переустановил пакет squidguard

        А с ним случаем сквид второй версии не подтянулся? Не будет ли он с 3-им сквидом бодаться? В шелле по pkg_info что видно?

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

          Сейчас разберусь с одной проблемкой и отвечу на твой вопрос. Просто к тому серваку на котором делал сейчас доступа нету а на виртуалке вообще работать не хочет.

          (System administrator  | Certified Dr.Web | Office Guru)
          Мой блог

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

            Как и обещал

            [2.0.1-RELEASE][root@pfsense.tec-zil]/root(1): pkg_info
            arc-5.21p          Create & extract files from DOS .ARC files
            arj-3.10.22_4      Open-source ARJ                                                       
            bsdinstaller-2.0.2011.1212 BSD Installer mega-package                                     
            clamav-0.97.5_1    Command line virus scanner written entirely in C                       
            compat6x-i386-6.4.604000.200810_3 A convenience package to install the compat6x libraries 
            cyrus-sasl-2.1.23_3 RFC 2222 SASL (Simple Authentication and Security Layer)               
            cyrus-sasl-2.1.25_1 RFC 2222 SASL (Simple Authentication and Security Layer)               
            db3-3.3.11_3,1      The Berkeley DB package, revision 3.3
            db41-4.1.25_4      The Berkeley DB package, revision 4.1
            db42-4.2.52_5      The Berkeley DB package, revision 4.2
            freetype2-2.4.7    A free and portable TrueType font rendering engine
            gd-2.0.35_7,1      A graphics library for fast creation of images
            gettext-0.18.1.1    GNU gettext package
            grub-0.97_4        GRand Unified Bootloader
            havp-0.91_1        HTTP Antivirus Proxy
            imspector-20111108  IM transparent proxy with monitoring, blocking and content-
            ipcad-3.7.3_1      IP accounting daemon with Cisco-like RSH and NetFlow export
            jpeg-8_3            IJG's jpeg compression utilities
            lha-1.14i_6        Archive files using LZSS and Huffman compression (.lzh file
            libiconv-1.13.1_1  A character set conversion library
            libltdl-2.4.2      System independent dlopen wrapper
            libwww-5.4.0_4      The W3C Reference Library
            lightsquid-1.8_2    A light and fast web based squid proxy traffic analyser
            mysql-client-5.5.19 Multithreaded SQL database (client)
            openldap-client-2.4.26 Open source LDAP client implementation
            openldap-client-2.4.31_1 Open source LDAP client implementation
            p5-GD-2.46          A perl5 interface to Gd Graphics Library version2
            perl-5.12.4_3      Practical Extraction and Report Language
            perl-threaded-5.12.4_4 Practical Extraction and Report Language
            pkg-config-0.25_1  A utility to retrieve information about installed libraries
            png-1.4.8          Library for manipulating PNG images
            sqlite3-3.7.11      An SQL database engine in a C library
            squid-2.7.9_1      HTTP Caching Proxy
            squid-3.1.20        HTTP Caching Proxy
            squidGuard-1.4_4    A fast redirector for squid
            unzoo-4.4_2        A zoo archive extractor

            (System administrator  | Certified Dr.Web | Office Guru)
            Мой блог

            1 Reply Last reply Reply Quote 0
            • werterW
              werter
              last edited by

              @Rezor666:

              squid-2.7.9_1       HTTP Caching Proxy
              squid-3.1.20        HTTP Caching Proxy
              squidGuard-1.4_4    A fast redirector for squid
              unzoo-4.4_2         A zoo archive extractor

              Вот и ответ. Сквидгвард после переустановки как и полагается подтянул 2-ой сквид, к-ый нам теперь не нужен (и более того, может навредить , работая одновременно с 3-им сквидом).
              Поэтому :

              0. БЭКАП КОНФИГУРАЦИИ !!!
              1. Если есть lightsquid - временно его из веб-морды удалить.
              2. Удалить временно 3-ий сквид из веб-морды.
              3. В шелле pkg_delete -f  squid-2.7.9_1
              4. Установить 3-ий сквид из пакетов в веб-морде.
              5. Установить lightsquid из пакетов в веб-морде.
              2. Перезагрузить pfsense.

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

                Целую неделю мониторю сервак. Не одного сбоя связаного с squid не было.
                Но на всякий случай все же удалю если считаете что так будет лучше )

                (System administrator  | Certified Dr.Web | Office Guru)
                Мой блог

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

                  werter все сделал, спасибо.

                  (System administrator  | Certified Dr.Web | Office Guru)
                  Мой блог

                  1 Reply Last reply Reply Quote 0
                  • werterW
                    werter
                    last edited by

                    @Rezor666:

                    werter все сделал, спасибо.

                    Рад что помог :) Добавьте , пож-та, [РЕШЕНО] в название Вашей темы.

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

                      Давайте я еще чуть чуть поиграю с пакетами и если варианта по более легкой установки пакетов не найду тогда добавлю в решено а если найду то отпишу сюда и поставлю решено.
                      А то выходит что при установке squid и squidguard приходиться танцевать с бубном.  :)

                      (System administrator  | Certified Dr.Web | Office Guru)
                      Мой блог

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

                        После пыток и мучений пакетов что бы найти нормальный способ увы не чего не вышло.
                        Зато на VMware нашел новую  ;D
                        Все сайти режет SquidGuard вне зависимости от настроек.
                        Вот скрины и логи.


                        (System administrator  | Certified Dr.Web | Office Guru)
                        Мой блог

                        1 Reply Last reply Reply Quote 0
                        • _
                          _if
                          last edited by

                          мда.ничего не помогает.

                          при удалении выскакивает ошибка

                          Warning: require_once(squid.inc): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 54 Fatal error: require_once(): Failed opening required 'squid.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/pkg/squidguard_configurator.inc on line 54

                          p.s.
                          по возможности,подскажите как настраивается openvpn!

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

                            Не будьте так котегоричны. Настройки в default и попробуйте снова. Или backup и востоновления.

                            (System administrator  | Certified Dr.Web | Office Guru)
                            Мой блог

                            1 Reply Last reply Reply Quote 0
                            • D
                              dvserg
                              last edited by

                              Warning: require_once(squid.inc): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 54 Fatal error: require_once(): Failed opening required 'squid.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/pkg/squidguard_configurator.inc on line 54

                              Поправил этот баг с сорсах. Закомментируйте 54 строку в файле /usr/local/pkg/squidguard_configurator.inc (символ # в начале строки)  и выполните удаление.

                              SquidGuardDoc EN  RU Tutorial
                              Localization ru_PFSense

                              1 Reply Last reply Reply Quote 0
                              • _
                                _if
                                last edited by

                                @dvserg:

                                Warning: require_once(squid.inc): failed to open stream: No such file or directory in /usr/local/pkg/squidguard_configurator.inc on line 54 Fatal error: require_once(): Failed opening required 'squid.inc' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg') in /usr/local/pkg/squidguard_configurator.inc on line 54

                                Поправил этот баг с сорсах. Закомментируйте 54 строку в файле /usr/local/pkg/squidguard_configurator.inc (символ # в начале строки)  и выполните удаление.

                                Тем не менее.Вариант не рабочий…Пробовал переставить гуи

                                Warning: file_put_contents(/usr/local/etc/squidGuard/squidguard_conf.xml): failed to open stream: No such file or directory in /usr/local/pkg/squidguard.inc on line 962

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dvserg
                                  last edited by

                                  Для рабочего варианта требуется наличие пакета SQUID.

                                  2 _if и свою версию PFSense озвучьте

                                  SquidGuardDoc EN  RU Tutorial
                                  Localization ru_PFSense

                                  1 Reply Last reply Reply Quote 0
                                  • _
                                    _if
                                    last edited by

                                    @dvserg:

                                    Для рабочего варианта требуется наличие пакета SQUID.

                                    2 _if и свою версию PFSense озвучьте

                                    2.0.1

                                    1 Reply Last reply Reply Quote 0
                                    • _
                                      _if
                                      last edited by

                                      @_if:

                                      @dvserg:

                                      Для рабочего варианта требуется наличие пакета SQUID.

                                      2 _if и свою версию PFSense озвучьте

                                      2.0.1

                                      Ответьте пожалуйста,как скоро выйдет фикс данного (бага)ошибки?

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dvserg
                                        last edited by

                                        Ошибка исправлена в сорсах.
                                        Здесь показано, что сделать при невозможности удалить/переустановить пакет
                                        http://forum.pfsense.org/index.php/topic,55209.msg295272.html#msg295272

                                        SquidGuardDoc EN  RU Tutorial
                                        Localization ru_PFSense

                                        1 Reply Last reply Reply Quote 0
                                        • _
                                          _if
                                          last edited by

                                          @dvserg:

                                          Ошибка исправлена в сорсах.
                                          Здесь показано, что сделать при невозможности удалить/переустановить пакет
                                          http://forum.pfsense.org/index.php/topic,55209.msg295272.html#msg295272

                                          Спасибо,все разрешилось!

                                          Столкнулся со следующей проблемой…Не стартует сам сервис.

                                          Filter GUI log

                                          Show top 50 entries. List from the line: << 0 >>
                                          01.11.2012 12:19:35 [squid_reconfigure] Add new redirector options to Squid config.
                                          01.11.2012 12:19:35 [squid_reconfigure] Remove old redirector options from Squid config.
                                          01.11.2012 12:19:35 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                          01.11.2012 12:19:35 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                          01.11.2012 12:19:35 [sg_create_config] Add Default
                                          01.11.2012 12:19:35 [sg_create_config] Add rewrites: safesearch;
                                          01.11.2012 12:19:35 [sg_reconfigure_user_db] Warning User destinations list empty.
                                          01.11.2012 12:19:35 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                          01.11.2012 12:19:34 [squid_reconfigure] Add new redirector options to Squid config.
                                          01.11.2012 12:19:34 [squid_reconfigure] Remove old redirector options from Squid config.
                                          01.11.2012 12:19:34 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                          01.11.2012 12:19:34 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                          01.11.2012 12:19:34 [sg_create_config] Add Default
                                          01.11.2012 12:19:34 [sg_create_config] Add rewrites: safesearch;
                                          01.11.2012 12:19:34 [sg_reconfigure_user_db] Warning User destinations list empty.
                                          01.11.2012 12:19:34 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                          01.11.2012 12:19:31 [squid_reconfigure] Add new redirector options to Squid config.
                                          01.11.2012 12:19:31 [squid_reconfigure] Remove old redirector options from Squid config.
                                          01.11.2012 12:19:31 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                          01.11.2012 12:19:31 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                          01.11.2012 12:19:31 [sg_create_config] Add Default
                                          01.11.2012 12:19:31 [sg_create_config] Add rewrites: safesearch;
                                          01.11.2012 12:19:31 [sg_reconfigure_user_db] Warning User destinations list empty.
                                          01.11.2012 12:19:31 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                          01.11.2012 12:16:53 [squid_reconfigure] Add new redirector options to Squid config.
                                          01.11.2012 12:16:53 [squid_reconfigure] Remove old redirector options from Squid config.
                                          01.11.2012 12:16:53 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                          01.11.2012 12:16:53 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                          01.11.2012 12:16:53 [sg_create_config] Add Default
                                          01.11.2012 12:16:53 [sg_create_config] Add rewrites: safesearch;
                                          01.11.2012 12:16:53 [sg_reconfigure_user_db] Warning User destinations list empty.
                                          01.11.2012 12:16:53 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                          01.11.2012 12:16:50 [squid_reconfigure] Add new redirector options to Squid config.
                                          01.11.2012 12:16:50 [squid_reconfigure] Remove old redirector options from Squid config.
                                          01.11.2012 12:16:50 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                          01.11.2012 12:16:50 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                          01.11.2012 12:16:50 [sg_create_config] Add Default
                                          01.11.2012 12:16:50 [sg_create_config] Add rewrites: safesearch;
                                          01.11.2012 12:16:50 [sg_reconfigure_user_db] Warning User destinations list empty.
                                          01.11.2012 12:16:50 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                          01.11.2012 12:10:52 [squid_reconfigure] Add new redirector options to Squid config.
                                          01.11.2012 12:10:52 [squid_reconfigure] Remove old redirector options from Squid config.
                                          01.11.2012 12:10:52 [sg_reconfigure] Save squidGuard config to '/usr/local/etc/squidGuard/squidGuard.conf'.
                                          01.11.2012 12:10:52 [sg_redirector_base_url] Select redirector base url (http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u)
                                          01.11.2012 12:10:52 [sg_create_config] Add Default
                                          01.11.2012 12:10:52 [sg_create_config] Add rewrites: safesearch;
                                          01.11.2012 12:10:52 [sg_reconfigure_user_db] Warning User destinations list empty.
                                          01.11.2012 12:10:52 [sg_reconfigure_user_db] Begin with '/var/db/squidGuard'
                                          01.11.2012 12:09:28 [squid_reconfigure] Add new redirector options to Squid config.
                                          01.11.2012 12:09:28 [squid_reconfigure] Remove old redirector options from Squid config.

                                          Filter config

                                          ============================================================

                                          SquidGuard configuration file

                                          This file generated automaticly with SquidGuard configurator

                                          (C)2006 Serg Dvoriancev

                                          email: dv_serg@mail.ru

                                          ============================================================

                                          logdir /var/squidGuard/log
                                          dbhome /var/db/squidGuard

                                          rew safesearch {
                                          s@(google../search?.q=.)@&safe=active@i
                                          s@(google..
                                          /images.q=.)@&safe=active@i
                                          s@(google../groups.q=.)@&safe=active@i
                                          s@(google..
                                          /news.q=.)@&safe=active@i
                                          s@(yandex../yandsearch?.text=.)@&fyandex=1@i
                                          s@(search.yahoo..
                                          /search.p=.)@&vm=r&v=1@i
                                          s@(search.live../.q=.)@&adlt=strict@i
                                          s@(search.msn..
                                          /.q=.)@&adlt=strict@i
                                          s@(.bing..*/.q=.)@&adlt=strict@i
                                          log block.log
                                          }

                                          acl  {

                                          default  {
                                          pass none
                                          redirect http://192.168.1.1:80/sgerror.php?url=403%20&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
                                          }
                                          }

                                          Остальные,пустые.

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dvserg
                                            last edited by

                                            Настроить squid
                                            Включить и настроить SG.

                                            SquidGuardDoc EN  RU Tutorial
                                            Localization ru_PFSense

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.