Your message dated Tue, 28 Oct 2025 00:08:16 +1300
with message-id <[email protected]>
and subject line Re: ERROR: renaming file /var/log/squid/cache.log
has caused the Debian Bug report #1119058,
regarding ERROR: renaming file /var/log/squid/cache.log
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1119058: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119058
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: squid
Version: 6.13-2
Severity: normal
X-Debbugs-Cc: [email protected]

Log files repeatedly list:
2025/10/26 00:27:03 kid1| ERROR: log rotation failed: (2) No such file or 
directory
2025/10/26 00:27:03 kid1| ERROR: renaming file /var/log/squid/cache.log to 
/var/log/squid/cache.log.0failed: (2) No such file or directory

ls /var/log/squid
cache.log  cache.log.2  cache.log.3  cache.log.4  cache.log.5  cache.log.6


-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.48+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages squid depends on:
ii  adduser                  3.152
ii  init-system-helpers      1.69~deb13u1
ii  libc6                    2.41-12
ii  libcap2                  1:2.75-10+b1
ii  libcom-err2              1.47.2-3+b3
ii  libcrypt1                1:4.4.38-1
ii  libdbi-perl              1.647-1
ii  libecap3                 1.0.1-4
ii  libgcc-s1                14.2.0-19
ii  libgnutls30t64           3.8.9-3
ii  libgssapi-krb5-2         1.21.3-5
ii  libkrb5-3                1.21.3-5
ii  libldap2                 2.6.10+dfsg-1
ii  libltdl7                 2.5.4-4
ii  libnetfilter-conntrack3  1.1.0-1
ii  libnettle8t64            3.10.1-1
ii  libpam0g                 1.7.0-5
ii  libsasl2-2               2.1.28+dfsg1-9
ii  libstdc++6               14.2.0-19
ii  libsystemd0              257.8-1~deb13u2
ii  libtdb1                  2:1.4.13+samba4.22.4+dfsg-1~deb13u1
ii  logrotate                3.22.0-1
ii  netbase                  6.5
ii  squid-common             6.13-2

Versions of packages squid recommends:
ii  ca-certificates  20250419
ii  libcap2-bin      1:2.75-10+b1

Versions of packages squid suggests:
ii  apparmor     4.1.0-1
pn  resolvconf   <none>
pn  smbclient    <none>
pn  squid-cgi    <none>
pn  squid-purge  <none>
pn  squidclient  <none>
pn  ufw          <none>
pn  winbind      <none>

-- Configuration Files:
/etc/squid/squid.conf changed:
acl SSL_ports port 443
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443         # https
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT

http_access <snipped>
http_port 3128
cache_mem 4 GB
maximum_object_size 512 MB
memory_replacement_policy lru
cache_replacement_policy heap LFUDA
cache_dir aufs /var/spool/squid 33792 32 256
quick_abort_min -1 KB
client_request_buffer_max_size 128 KB
coredump_dir /var/spool/squid
access_log none
cache_log /var/log/squid/cache.log
logfile_rotate 7
netdb_filename none
host_verify_strict on
max_filedescriptors 3200
pinger_enable off

-- no debconf information

--- End Message ---
--- Begin Message ---
Control: notfound 1119058 6.13-2
thanks


The Debian squid package uses file rotation provided by the logrotate package and configured in /etc/logrotate.d/squid.

Please remove the "logfile_rotate" setting from your squid.conf.

Instead set the "rotate" option in /etc/logrotate.d/squid to the number of files you want to keep.



Cheers
Amos

--- End Message ---

Reply via email to