Bonjour
Depuis mon passage à Buster, je n'arrive plus à avoir un squid fonctionnel.
J'ai l'impression que celui-ci crash. Quand je fais un nmap sur mon ip et le port il est reporté fermé.
Un netstat -atup ne rapport pas que squid "ecoute" non plus et un ps rapport que je n'ai que 3 process squid dont un reporté en zombie.
Auriez vous une idée d'ou provient mon problème et je n'utilise pas de config particulière la config de "base"?
Si vous avez besoin de plus d'information pour m'aider n'hesitez pas
Merci d'avance pour votre aide
rv
PS ma recherche sur internet ne m'a rien rapporté de concluant apres je ne cherche pas avec les "bon mots clef"
squid
- piratebab
- Site Admin
- Messages : 5865
- Inscription : 24 avr. 2016, 18:41
- Localisation : sud ouest
- Status : En ligne
OK.Il nous faut un peu plus d'info sur l'état de squid.As tu regardé dans les logs si tu as une infos?
Je penses que squid lance un service.
Pour connaître son nom lance
Repère un nom de service dont le nom est proche de squid
Si tu ne trouves rien rajoute --all à la fin de la commande
Pour voir l'état du service (supposons qu'il s'appelle squid)
Je penses que squid lance un service.
Pour connaître son nom lance
Code : Tout sélectionner
# systemctl list-units --type=service
Si tu ne trouves rien rajoute --all à la fin de la commande
Pour voir l'état du service (supposons qu'il s'appelle squid)
Code : Tout sélectionner
systemctl status squid.service
-
- Messages : 4
- Inscription : 10 mai 2020, 04:10
- Status : Hors-ligne
Pour les log il ne m'apporte pas grand chose du moins à moi
2020/05/25 18:43:17 kid1| HTCP Disabled.
2020/05/25 18:43:17 kid1| sendto FD 13: (1) Operation not permitted
2020/05/25 18:43:17 kid1| ipcCreate: CHILD: hello write test failed
C'est ligne me font croire qu'il se lance mais crash apres
systemctl list-units --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
apache2.service loaded active running The Apache HTTP Server
● apparmor.service loaded failed failed Load AppArmor profiles
beamium.service loaded active running beamium
bind9.service loaded active running BIND Domain Name Server
blk-availability.service loaded active exited Availability of block devices
cloud-config.service loaded active exited Apply the settings specified in cloud-config
cloud-final.service loaded active exited Execute cloud user/final scripts
cloud-init-local.service loaded active exited Initial cloud-init job (pre-networking)
cloud-init.service loaded active exited Initial cloud-init job (metadata service crawler)
cron.service loaded active running Regular background program processing daemon
dbus.service loaded active running D-Bus System Message Bus
dovecot.service loaded active running Dovecot IMAP/POP3 email server
fail2ban.service loaded active running Fail2Ban Service
getty@tty1.service loaded active running Getty on tty1
hddtemp.service loaded active running LSB: disk temperature monitoring daemon
ifupdown-pre.service loaded active exited Helper to synchronize boot up for ifupdown
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
lm-sensors.service loaded active exited Initialize hardware monitoring sensors
lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
mariadb.service loaded active running MariaDB 10.3.22 database server
netfilter-persistent.service loaded active exited netfilter persistent configuration
networking.service loaded active exited Raise network interfaces
noderig.service loaded active exited LSB: Prometheus to Warp10 metrics forwarder
ntp.service loaded active running Network Time Service
opendkim.service loaded active running OpenDKIM DomainKeys Identified Mail (DKIM) Milter
opendmarc.service loaded active running OpenDMARC Milter
openvpn.service loaded active exited OpenVPN service
openvpn@serveurTCP.service loaded active running OpenVPN connection to serveurTCP
openvpn@serveurUDP.service loaded active running OpenVPN connection to serveurUDP
postfix.service loaded active exited Postfix Mail Transport Agent
postfix@-.service loaded active running Postfix Mail Transport Agent (instance -)
rsyslog.service loaded active running System Logging Service
smartd.service loaded active running Self Monitoring and Reporting Technology (SMART) Daemon
squid.service loaded active running Squid Web Proxy Server
ssh.service loaded active running OpenBSD Secure Shell server
sysstat.service loaded active exited Resets System Activity Data Collector
lines 1-37
systemctl status squid.service
● squid.service - Squid Web Proxy Server
Loaded: loaded (/lib/systemd/system/squid.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-05-25 18:43:17 UTC; 5min ago
Docs: man:squid(8)
Main PID: 4151 (squid)
Tasks: 4 (limit: 4678)
Memory: 15.7M
CGroup: /system.slice/squid.service
├─4151 /usr/sbin/squid -sYC
├─4153 (squid-1) --kid squid-1 -sYC
└─4154 (logfile-daemon) /var/log/squid/access.log
May 25 18:43:17 ca squid[4153]: Using 8192 Store buckets
May 25 18:43:17 ca squid[4153]: Max Mem size: 262144 KB
May 25 18:43:17 ca squid[4153]: Max Swap size: 0 KB
May 25 18:43:17 ca squid[4153]: Using Least Load store dir selection
May 25 18:43:17 ca squid[4153]: Set Current Directory to /var/spool/squid
May 25 18:43:17 ca squid[4153]: Finished loading MIME types and icons.
May 25 18:43:17 ca squid[4153]: HTCP Disabled.
May 25 18:43:17 ca squid[4158]: sendto FD 13: (1) Operation not permitted
May 25 18:43:17 ca squid[4158]: ipcCreate: CHILD: hello write test failed
May 25 18:43:19 ca systemd[1]: /lib/systemd/system/squid.service:7: PIDFile= references path below legacy directory /var/run/, updating /var/run/squid.pid → /
2020/05/25 18:43:17 kid1| HTCP Disabled.
2020/05/25 18:43:17 kid1| sendto FD 13: (1) Operation not permitted
2020/05/25 18:43:17 kid1| ipcCreate: CHILD: hello write test failed
C'est ligne me font croire qu'il se lance mais crash apres
systemctl list-units --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
apache2.service loaded active running The Apache HTTP Server
● apparmor.service loaded failed failed Load AppArmor profiles
beamium.service loaded active running beamium
bind9.service loaded active running BIND Domain Name Server
blk-availability.service loaded active exited Availability of block devices
cloud-config.service loaded active exited Apply the settings specified in cloud-config
cloud-final.service loaded active exited Execute cloud user/final scripts
cloud-init-local.service loaded active exited Initial cloud-init job (pre-networking)
cloud-init.service loaded active exited Initial cloud-init job (metadata service crawler)
cron.service loaded active running Regular background program processing daemon
dbus.service loaded active running D-Bus System Message Bus
dovecot.service loaded active running Dovecot IMAP/POP3 email server
fail2ban.service loaded active running Fail2Ban Service
getty@tty1.service loaded active running Getty on tty1
hddtemp.service loaded active running LSB: disk temperature monitoring daemon
ifupdown-pre.service loaded active exited Helper to synchronize boot up for ifupdown
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
lm-sensors.service loaded active exited Initialize hardware monitoring sensors
lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
mariadb.service loaded active running MariaDB 10.3.22 database server
netfilter-persistent.service loaded active exited netfilter persistent configuration
networking.service loaded active exited Raise network interfaces
noderig.service loaded active exited LSB: Prometheus to Warp10 metrics forwarder
ntp.service loaded active running Network Time Service
opendkim.service loaded active running OpenDKIM DomainKeys Identified Mail (DKIM) Milter
opendmarc.service loaded active running OpenDMARC Milter
openvpn.service loaded active exited OpenVPN service
openvpn@serveurTCP.service loaded active running OpenVPN connection to serveurTCP
openvpn@serveurUDP.service loaded active running OpenVPN connection to serveurUDP
postfix.service loaded active exited Postfix Mail Transport Agent
postfix@-.service loaded active running Postfix Mail Transport Agent (instance -)
rsyslog.service loaded active running System Logging Service
smartd.service loaded active running Self Monitoring and Reporting Technology (SMART) Daemon
squid.service loaded active running Squid Web Proxy Server
ssh.service loaded active running OpenBSD Secure Shell server
sysstat.service loaded active exited Resets System Activity Data Collector
lines 1-37
systemctl status squid.service
● squid.service - Squid Web Proxy Server
Loaded: loaded (/lib/systemd/system/squid.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2020-05-25 18:43:17 UTC; 5min ago
Docs: man:squid(8)
Main PID: 4151 (squid)
Tasks: 4 (limit: 4678)
Memory: 15.7M
CGroup: /system.slice/squid.service
├─4151 /usr/sbin/squid -sYC
├─4153 (squid-1) --kid squid-1 -sYC
└─4154 (logfile-daemon) /var/log/squid/access.log
May 25 18:43:17 ca squid[4153]: Using 8192 Store buckets
May 25 18:43:17 ca squid[4153]: Max Mem size: 262144 KB
May 25 18:43:17 ca squid[4153]: Max Swap size: 0 KB
May 25 18:43:17 ca squid[4153]: Using Least Load store dir selection
May 25 18:43:17 ca squid[4153]: Set Current Directory to /var/spool/squid
May 25 18:43:17 ca squid[4153]: Finished loading MIME types and icons.
May 25 18:43:17 ca squid[4153]: HTCP Disabled.
May 25 18:43:17 ca squid[4158]: sendto FD 13: (1) Operation not permitted
May 25 18:43:17 ca squid[4158]: ipcCreate: CHILD: hello write test failed
May 25 18:43:19 ca systemd[1]: /lib/systemd/system/squid.service:7: PIDFile= references path below legacy directory /var/run/, updating /var/run/squid.pid → /
- piratebab
- Site Admin
- Messages : 5865
- Inscription : 24 avr. 2016, 18:41
- Localisation : sud ouest
- Status : En ligne
Le status te dis qu'il est "actif" et "running", donc il service SQID est OK.
Tu as bien paramétré ton sqid.conf ?
Tu n'aurais pas une regle iptable qui bloquerait l'acces ?
Les logs, ce sont bien ceux de
/var/log/squid/access.log ?
Tu as bien paramétré ton sqid.conf ?
Tu n'aurais pas une regle iptable qui bloquerait l'acces ?
Les logs, ce sont bien ceux de
/var/log/squid/access.log ?