Portál AbcLinuxu, 20. listopad 2019 00:33


www.AutoDoc.Cz

Dotaz: SQUID, log: FATAL: error writing ((32) Broken pipe,

27.11.2017 15:41 faidron | skóre: 16
SQUID, log: FATAL: error writing ((32) Broken pipe,
Přečteno: 587×
Odpovědět | Admin

nasiel som link na configuraciu, co som aj urobil, ale nema zmena v configuraku error nijako nevplyvnuje.

Myslim, ze sa jedna o standarn[ Error ktora sa objavuje bezne, zial nenasielsom riesenie ktore by mi fungovalo.

SQUID na debian server
FATAL: I don't handle this error well!
root@euve258500:/home/faidron# squid -NCd1
2017/11/27 15:32:35| Set Current Directory to /var/spool/squid
2017/11/27 15:32:35| Starting Squid Cache version 3.5.23 for x86_64-pc-linux-gnu...
2017/11/27 15:32:35| Service Name: squid
2017/11/27 15:32:35| Process ID 5790
2017/11/27 15:32:35| Process Roles: master worker
2017/11/27 15:32:35| With 1024 file descriptors available
2017/11/27 15:32:35| Initializing IP Cache...
2017/11/27 15:32:35| DNS Socket created at [::], FD 8
2017/11/27 15:32:35| DNS Socket created at 0.0.0.0, FD 9
2017/11/27 15:32:35| Adding nameserver 80.237.128.56 from /etc/resolv.conf
2017/11/27 15:32:35| Adding nameserver 80.237.128.57 from /etc/resolv.conf
2017/11/27 15:32:35| Logfile: opening log daemon:/var/log/squid/access.log
2017/11/27 15:32:35| Logfile Daemon: opening log /var/log/squid/access.log
2017/11/27 15:32:35| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2017/11/27 15:32:35| Store logging disabled
2017/11/27 15:32:35| Swap maxSize 0 + 262144 KB, estimated 20164 objects
2017/11/27 15:32:35| Target number of buckets: 1008
2017/11/27 15:32:35| Using 8192 Store buckets
2017/11/27 15:32:35| Max Mem  size: 262144 KB
2017/11/27 15:32:35| Max Swap size: 0 KB
2017/11/27 15:32:35| Using Least Load store dir selection
2017/11/27 15:32:35| Set Current Directory to /var/spool/squid
2017/11/27 15:32:35| Finished loading MIME types and icons.
2017/11/27 15:32:35| HTCP Disabled.
2017/11/27 15:32:35| Pinger socket opened on FD 14
2017/11/27 15:32:35| Squid plugin modules loaded: 0
2017/11/27 15:32:35| Adaptation support is off.
2017/11/27 15:32:35| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 12 flags=9
2017/11/27 15:32:36| logfileHandleWrite: daemon:/var/log/squid/access.log: error writing ((32) Broken pipe)
2017/11/27 15:32:36| Closing HTTP port [::]:3128
2017/11/27 15:32:36| storeDirWriteCleanLogs: Starting...
2017/11/27 15:32:36|   Finished.  Wrote 0 entries.
2017/11/27 15:32:36|   Took 0.00 seconds (  0.00 entries/sec).
FATAL: I don't handle this error well!
2017/11/27 15:32:36| Closing Pinger socket on FD 14
root@euve258500:/home/faidron# /usr/local/squid/bin/RunCache &
[1] 5822
root@euve258500:/home/faidron# bash: /usr/local/squid/bin/RunCache: No such file or directory
^C
[1]+  Exit 127                /usr/local/squid/bin/RunCache
root@euve258500:/home/faidron# service squid status
● squid.service - LSB: Squid HTTP Proxy version 3.x
   Loaded: loaded (/etc/init.d/squid; generated; vendor preset: enabled)
   Active: inactive (dead) since Mon 2017-11-27 15:30:13 CET; 5min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 5725 ExecStop=/etc/init.d/squid stop (code=exited, status=0/SUCCESS)
  Process: 5623 ExecStart=/etc/init.d/squid start (code=exited, status=0/SUCCESS)
 Main PID: 5665

Nov 27 15:29:44 euve258500 squid[5663]: Squid Parent: (squid-1) process 5674 exited with status 1
Nov 27 15:29:47 euve258500 squid[5663]: Squid Parent: (squid-1) process 5679 started
Nov 27 15:29:48 euve258500 (squid-1)[5679]: I don't handle this error well!
Nov 27 15:29:48 euve258500 squid[5663]: Squid Parent: (squid-1) process 5679 exited with status 1
Nov 27 15:29:51 euve258500 squid[5663]: Squid Parent: (squid-1) process 5683 started
Nov 27 15:29:52 euve258500 (squid-1)[5683]: I don't handle this error well!
Nov 27 15:29:52 euve258500 squid[5663]: Squid Parent: (squid-1) process 5683 exited with status 1
Nov 27 15:29:52 euve258500 squid[5663]: Squid Parent: (squid-1) process 5683 will not be restarted due to repeated, frequent failures
Nov 27 15:29:52 euve258500 squid[5663]: Exiting due to repeated, frequent failures
Nov 27 15:30:13 euve258500 squid[5725]: Stopping Squid HTTP Proxy: squid.

Řešení dotazu:


Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

Řešení 1× (faidron (tazatel))
28.11.2017 13:21 faidron | skóre: 16
Rozbalit Rozbalit vše Re: SQUID, log: FATAL: error writing ((32) Broken pipe,
Odpovědět | | Sbalit | Link | Blokovat | Admin
 Na webe som vyhladal, squid Recommended configuration, zmenil onfigurak a restartol.
nasledne commnad koli vytvreniu adresarov /var/spool/squid :
squid -z

Vyzera ze bezi:


root@euve258500:/var/log/squid# service squid status
● squid.service - LSB: Squid HTTP Proxy version 3.x
   Loaded: loaded (/etc/init.d/squid; generated; vendor preset: enabled)
   Active: active (running) since Tue 2017-11-28 13:20:14 CET; 5s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 32714 ExecStop=/etc/init.d/squid stop (code=exited, status=0/SUCCESS)
  Process: 654 ExecStart=/etc/init.d/squid start (code=exited, status=0/SUCCESS)
 Main PID: 696 (squid)
   CGroup: /system.slice/squid.service
           ├─694 /usr/sbin/squid -YC -f /etc/squid/squid.conf
           ├─696 (squid-1) -YC -f /etc/squid/squid.conf
           └─697 (pinger)

Nov 28 13:20:14 euve258500 squid[694]: Squid Parent: will start 1 kids
Nov 28 13:20:14 euve258500 squid[694]: Squid Parent: (squid-1) process 696 started
Nov 28 13:20:14 euve258500 squid[654]: Starting Squid HTTP Proxy: squid.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.