Hello,
How do I correct this error.ERROR opening swap log /var/cache/squid/swap.state: (5) Input/output error
FATAL: UFSSwapDir::openLog: Failed to open swap log.
Background: Running squid 3.4.7 on a freescale machine (T4240QDS) with ubuntu 12.04.
/usr/sbin/squid -k parse and /usr/sbin/squid -z didnt give any errors.
On running /usr/sbin/squid -NCd1 I get the above error.
On running /usr/sbin/squid -NCd1 I get the above error.
root@t4240qds:~# /usr/sbin/squid -NCd1
2015/02/03 06:12:27| Set Current Directory to /var/cache/squid
2015/02/03 06:12:27| Starting Squid Cache version 3.4.7 for poweEXT2-fs (mmcblk0p1): error: ext2_lookup: deleted inode referenced: 137660
rpc-fsl_networking-linux-gnu...
2015/02/03 06:12:27| Process ID 2520
2015/02/03 06:12:27| Process Roles: master worker
2015/02/03 06:12:27| With 1024 file descriptors available
2015/02/03 06:12:27| Initializing IP Cache...
2015/02/03 06:12:27| parseEtcHosts: /etc/hosts: (13) Permission denied
2015/02/03 06:12:27| DNS Socket created at [::], FD 4
2015/02/03 06:12:27| DNS Socket created at 0.0.0.0, FD 5
2015/02/03 06:12:27| Adding nameserver 10.116.65.126 from squid.conf
2015/02/03 06:12:27| Logfile: opening log daemon:/var/logs/access.log
2015/02/03 06:12:27| Logfile Daemon: opening log /var/logs/access.log
2015/02/03 06:12:27| Store logging disabled
2015/02/03 06:12:27| Swap maxSize 102400 + 262144 KB, estimated 28041 objects
2015/02/03 06:12:27| Target number of buckets: 1402
2015/02/03 06:12:27| Using 8192 Store buckets
2015/02/03 06:12:27| Max Mem size: 262144 KB
2015/02/03 06:12:27| Max Swap size: 102400 KB
2015/02/03 06:12:27| ERROR opening swap log /var/cache/squid/swap.state: (5) Input/output error
FATAL: UFSSwapDir::openLog: Failed to open swap log.
Since I am booting the machine from an sd card I tried to delete the entire root filesystem and thus even swap.state file however it wouldn't get deleted. Did a filesystem check using e2fsck, but still swap.state won't get deleted.
_______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users