Home
Help
Search
Login
Register
OPNsense Forum
»
International Forums
»
Portuguese - Português
(Moderator:
juliocbc
) »
Erro no Squid depois da atualização OPNsense 24.1.4
« previous
next »
Print
Pages: [
1
]
Author
Topic: Erro no Squid depois da atualização OPNsense 24.1.4 (Read 2301 times)
focosta
Newbie
Posts: 12
Karma: 0
Erro no Squid depois da atualização OPNsense 24.1.4
«
on:
March 31, 2024, 07:44:08 pm »
Boa Tarde pessoal,
Depois que foi atualizado o sistema para versão 24.1.4 e também que foi instalado o "squid" para versão 6.8 e "squid-langpack" para a versão 7.0 está dando erro quando inicia o serviço do squid
(Segmentation fault
Starting squid.
Segmentation fault (core dumped)
/usr/local/etc/rc.d/squid: WARNING: failed to start squid)
Logged
juliocbc
Moderator
Sr. Member
Posts: 332
Karma: 12
Re: Erro no Squid depois da atualização OPNsense 24.1.4
«
Reply #1 on:
April 16, 2024, 07:56:11 pm »
Olá! Isso persiste na versão 24.1.5_3?
Logged
Cloudfence Open Source Team
focosta
Newbie
Posts: 12
Karma: 0
Re: Erro no Squid depois da atualização OPNsense 24.1.4
«
Reply #2 on:
April 19, 2024, 02:04:07 am »
Boa noite, eu atualizei para versão OPNsense 24.1.6-amd64 e não funcionou.
proxy load error
Segmentation fault
Performing sanity check on squid configuration.
2024/04/18 21:01:25| Processing Configuration File: /usr/local/etc/squid/squid.conf (depth 0)
2024/04/18 21:01:25| Processing Configuration File: /usr/local/etc/squid/pre-auth/40-snmp.conf (depth 1)
2024/04/18 21:01:25| Processing Configuration File: /usr/local/etc/squid/pre-auth/dummy.conf (depth 1)
2024/04/18 21:01:25| Processing Configuration File: /usr/local/etc/squid/pre-auth/parentproxy.conf (depth 1)
2024/04/18 21:01:25| Processing Configuration File: /usr/local/etc/squid/auth/dummy.conf (depth 1)
2024/04/18 21:01:25| Processing Configuration File: /usr/local/etc/squid/post-auth/dummy.conf (depth 1)
2024/04/18 21:01:25| WARNING: HTTP requires the use of Via
2024/04/18 21:01:26| Set Current Directory to /var/squid/cache
2024/04/18 21:01:26| FATAL: failed to open /var/run/squid/squid.pid: (2) No such file or directory
exception location: File.cc(191) open
Segmentation fault
***GOT REQUEST TO INSTALL***
Currently running OPNsense 24.1.6 at Thu Apr 18 20:42:34 -03 2024
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.0
squid: 6.9
squid-langpack: 7.0.0.20240307
Number of packages to be installed: 3
The process will require 11 MiB more space.
48 KiB to be downloaded.
[1/1] Fetching os-squid-1.0.pkg: ....... done
Checking integrity... done (0 conflicting)
[1/3] Installing squid-6.9...
===> Creating groups
Using existing group 'squid'
===> Creating users
Using existing user 'squid'
===> Creating homedir(s)
===> Pre-installation configuration for squid-6.9
[1/3] Extracting squid-6.9: .......... 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.0...
[3/3] Extracting os-squid-1.0: .......... 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.9:
--
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***
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
International Forums
»
Portuguese - Português
(Moderator:
juliocbc
) »
Erro no Squid depois da atualização OPNsense 24.1.4