Red Hat Bugzilla – Bug 172392
One translated Polish language error is missing preventing squid from startup
Last modified: 2007-11-30 17:07:21 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.7.12) Gecko/20050921 Red Hat/1.0.7-1.4.1 Firefox/1.0.7
Description of problem:
Setting up Polish language ERROR pages in squid prevents ot from starting. Short investigation shows that one page is missing.
That missing page causes squid to bailout with following errors:
Nov 3 19:41:59 deus squid: Squid Parent: child process 6103 started
Nov 3 19:41:59 deus (squid): failed to find or read error text file.
Nov 3 19:41:59 deus squid: Squid Parent: child process 6103 exited due to signal 6
Nov 3 19:41:59 deus squid: Exiting due to repeated, frequent failures
2005/11/03 19:41:59| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu...
2005/11/03 19:41:59| Process ID 6103
2005/11/03 19:41:59| With 1024 file descriptors available
2005/11/03 19:41:59| DNS Socket created at 0.0.0.0, port 32798, FD 4
2005/11/03 19:41:59| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2005/11/03 19:41:59| User-Agent logging is disabled.
2005/11/03 19:41:59| Referer logging is disabled.
2005/11/03 19:41:59| errorTryLoadText: '/etc/squid/errors/ERR_INVALID_RESP': (2) No such file or directory
2005/11/03 19:41:59| errorTryLoadText: '/usr/local/squid/etc/errors/ERR_INVALID_RESP': (2) No such file or directory
FATAL: failed to find or read error text file.
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 0.011 seconds = 0.004 user + 0.007 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
It's clear that the missing page is:
That file is a symlink to /usr/share/squid/errors/Polish/ERR_INVALID_RESP but the file is missing.
Quick fix to that is to copy english language error message into /usr/share/squid/errors/Polish/ directory.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.reconfigure squid to use Polish error pages (/etc/squid/squid.conf:2725)
3.watch the sky burn ;]
Actual Results: squid dies with messages cited above.
Expected Results: squid is running
It affects some other locales (Portuguese, Lithuanian, Korean and more...)
The new release-candidate packages for RHEL3/4 are available here:
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.