Good day.
I have squid 2.5-stable7 installed on linux 2.4.27 box (Slackware 10).
When I try reconfigure squid with 'Squid -k reconfigure' it dies with
this messages in cache.log:
---[cache.log start]-------------------------------------------------------------------------------------
2004/11/10 18:19:29| Reconfiguring Squid Cache (version 2.5.STABLE7)...
2004/11/10 18:19:29| FD 20 Closing HTTP connection
FATAL: Received Segment Violation...dying.
2004/11/10 18:19:29| storeDirWriteCleanLogs: Starting...
2004/11/10 18:19:30| Finished. Wrote 43060 entries.
2004/11/10 18:19:30| Took 0.1 seconds (542194.5 entries/sec).
2004/11/10 18:19:53| Starting Squid Cache version 2.5.STABLE7 for i686-pc-linux-gnu...
2004/11/10 18:19:53| Process ID 10994
2004/11/10 18:19:53| With 1024 file descriptors available
2004/11/10 18:19:53| Performing DNS Tests...
2004/11/10 18:19:53| Successful DNS name lookup tests...
2004/11/10 18:19:53| DNS Socket created at 0.0.0.0, port 61012, FD 4
2004/11/10 18:19:53| Adding nameserver 127.0.0.1 from /etc/resolv.conf
2004/11/10 18:19:53| Adding nameserver [..cuted..] from /etc/resolv.conf
2004/11/10 18:19:53| Adding nameserver [..cuted..] from /etc/resolv.conf
2004/11/10 18:19:53| helperOpenServers: Starting 10 'squidGuard' processes
2004/11/10 18:19:54| Unlinkd pipe opened on FD 19
2004/11/10 18:19:54| Swap maxSize 512000 KB, estimated 39384 objects
2004/11/10 18:19:54| Target number of buckets: 1969
2004/11/10 18:19:54| Using 8192 Store buckets
2004/11/10 18:19:54| Max Mem size: 131072 KB
2004/11/10 18:19:54| Max Swap size: 512000 KB
2004/11/10 18:19:54| Store logging disabled
2004/11/10 18:19:54| /squid.cache/swap.state: (13) Permission denied
FATAL: storeUfsDirOpenSwapLog: Failed to open swap log.
Squid Cache (Version 2.5.STABLE7): Terminated abnormally.
CPU Usage: 0.030 seconds = 0.020 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 345
---[cache.log end]---------------------------------------------------------------------------------------
when I look at swap.state this file I notice that ownership has changed to
"root.squid" instead of original "squid.squid". After manually change
ownershp back to "squid.squid" Squid start normally.
When I reconfigure it with 'squid -k shutdown ' ... 'squid' all
done well.
---[squid.conf begin]------------------------------------
cache_effective_user=squid
cache_effective_user=squid
cache_dir ufs /squid.cache 500 16 256
---[squid.conf end]--------------------------------------
Squid configure string:
./configure --disable-wccp --disable-snmp --enable-delay-pools \
--disable-ident-lookups --prefix=/usr/local --mandir=/usr/man \
--sysconfdir=/etc/squid --localstatedir=/var/squid --enable-async-io \
--enable-err-languages='English Russian-koi8-r'
Any ideas? Some help would be appreciate.
Thanks in advance.
-- Best regards and excuse for my English :-) Jafar Aliev <admin at usn dot ru> usn.ru administratorReceived on Fri Nov 26 2004 - 10:13:25 MST
This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:02 MST