[squid-users] ERROR opening swap log /var/cache/squid/swap.state: (5) Input/output error

Priya Agarwal priyaiitmandi at gmail.com
Tue Feb 3 07:48:59 UTC 2015


I could solve it. Created a new partition in my sd card.

On Tue, Feb 3, 2015 at 11:20 AM, Priya Agarwal <priyaiitmandi at gmail.com>
wrote:

> 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.
>
> root at 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20150203/5ddba8db/attachment.html>


More information about the squid-users mailing list