Hi guys. I'm trying to get squid working on my tp-link. I install
OpenWRT on a USB storage and i have it running OK.
The main problem is when i try to create the cache storage i can't do it.
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 3.7G 199.9M 3.3G 6% /
/dev/root 2.0M 2.0M 0 100% /rom
tmpfs 14.3M 376.0K 13.9M 3% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/sda1 3.7G 199.9M 3.3G 6% /
root@OpenWrt:~# squid -z
2014/12/11 11:39:27| Creating Swap Directories
FATAL: Failed to make swap directory /var/cache/0E/0E: (28) No space
left on device
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
CPU Usage: 0.230 seconds = 0.130 user + 0.100 sys
Maximum Resident Size: 2816 KB
Page faults with physical i/o: 0
root@OpenWrt:~#
This is because i don't have enought space on /var/cache/ ?
I try to modify coredump_dir in /etc/squid/squid.conf to /root/cache
root@OpenWrt:~# cat /etc/squid/squid.conf | grep coredump_dir
# TAG: coredump_dir
# it was started. If you set 'coredump_dir' to a directory
# coredump_dir none
coredump_dir /root/cache
But seems like the file is not read by the command "squid -z"
If i force the config-file get the same:
root@OpenWrt:~# squid -f /etc/squid/squid.conf -z
2014/12/11 11:45:57| Creating Swap Directories
FATAL: Failed to make swap directory /var/cache/0E/0E: (28) No space
left on device
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
CPU Usage: 0.150 seconds = 0.090 user + 0.060 sys
Maximum Resident Size: 2800 KB
Page faults with physical i/o: 0
root@OpenWrt:~#
I was searching over internet but i did not find any solution.
Best regards.
Emiliano
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users