Problemas com Squid

Started by focosta, April 12, 2025, 02:08:13 PM

Previous topic - Next topic
Bom dia

Pessoal, fiz a instalação do sistema na minha rede e instalei o squid e depois apareceu a seguinte mensagem de erro:

***GOT REQUEST TO INSTALL***
Currently running OPNsense 25.1.5_4 (amd64) at Sat Apr 12 08:56:41 -03 2025
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
   os-squid: 1.1_1
   squid: 6.12_1
   squid-langpack: 7.0.0.20240307

Number of packages to be installed: 3

The process will require 11 MiB more space.
3 MiB to be downloaded.
[1/3] Fetching os-squid-1.1_1.pkg: ....... done
[2/3] Fetching squid-6.12_1.pkg: .......... done
[3/3] Fetching squid-langpack-7.0.0.20240307.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/3] Installing squid-6.12_1...
===> Creating groups
Using existing group 'squid'
===> Creating users
Using existing user 'squid'
===> Creating homedir(s)
===> Pre-installation configuration for squid-6.12_1
[1/3] Extracting squid-6.12_1: .......... done
[2/3] Installing squid-langpack-7.0.0.20240307...
[2/3] Extracting squid-langpack-7.0.0.20240307: .......... done
[3/3] Installing os-squid-1.1_1...
[3/3] Extracting os-squid-1.1_1: .......... done
Stopping configd...done
Starting configd.
Reloading plugin configuration
Configuring system logging...done.
Reloading template OPNsense/Proxy: OK


Reloading template OPNsense/Syslog: OK


=====
Message from squid-6.12_1:

--
o You can find the configuration files for this package in the
       directory /usr/local/etc/squid.

     o The default cache directory is /var/squid/cache/.
       The default log directory is /var/log/squid/.

       Note:
       You must initialize new cache directories before you can start
       squid.  Do this by running "squid -z" as 'root' or 'squid'.
       If your cache directories are already initialized (e.g. after an
       upgrade of squid) you do not need to initialize them again.

     o When using DiskD storage scheme remember to read documentation:
         http://wiki.squid-cache.org/Features/DiskDaemon
       and alter your kern.ipc defaults in /boot/loader.conf. DiskD will not
       work reliably without this. Last recomendations were:

         kern.ipc.msgmnb=8192
         kern.ipc.msgssz=64
         kern.ipc.msgtql=2048

     o The pre-translated error pages are no longer included into the port.
       If you need them install www/squid-langpack port as well.

     o The default configuration will deny everyone but the local host and
       local networks as defined in RFC 1918 for IPv4 and RFCs 4193 and
       4291 for IPv6 access to the proxy service.  Edit the "http_access
       allow/deny" directives in /usr/local/etc/squid/squid.conf
       to suit your needs.

     o If AUTH_SQL option is set, please, don't forget to install one of
       following perl modules depending on database you like:
         databases/p5-DBD-mysql (MySQL)
         databases/p5-DBD-mysql4 (MariaDB)
         databases/p5-DBD-Pg
         databases/p5-DBD-SQLite

     To enable Squid, set squid_enable=yes in either
     /etc/rc.conf, /etc/rc.conf.local or /etc/rc.conf.d/squid
     Please see /usr/local/etc/rc.d/squid for further details.

     Note:
     If you just updated your Squid installation from an earlier version,
     make sure to check your Squid configuration against the 3.4 default
     configuration file /usr/local/etc/squid/squid.conf.sample.

     /usr/local/etc/squid/squid.conf.documented is a fully annotated
     configuration file you can consult for further reference.

     Additionally, you should check your configuration by calling
     'squid -f /path/to/squid.conf -k parse' before starting Squid.
=====
Message from squid-langpack-7.0.0.20240307:

--
To use the squid language pack, use the directive:

error_directory /usr/local/share/squid-langpack/language

in your squid.conf. Example:

error_directory /usr/local/share/squid-langpack/sk
Checking integrity... done (0 conflicting)
Nothing to do.
***DONE***

E agora o squid não inicia.