Resolved; well sort of!
I've been setting up log file permissions to jibe with the
*cache_effective_user* tag in /etc/squid3/squid.conf, which I had set to
squid. As I was troubleshooting, I also changed the *http_port* tag from
8080, but I noticed the output when I tried starting squid remained
Ubuntu 14.04
Squid 3.5.5
Hi -
I'm having pretty much exactly the same problem as Priya. I didn't see a
resolution so I'm picking up the thread.
I've installed and run squid 3.5.5 previously w/o a problem using:
sudo apt-get install squid
I want to filter by mac address though, so I purged
Sorry, I thought that by copying the subject line of Priya's message
thread, I would have continued the thread. Here's the link for context:
http://lists.squid-cache.org/pipermail/squid-users/2015-February/002131.html
Cheers,
Deiter
On Fri, Aug 28, 2015 at 8:31 AM, Howard Waterfall
On 14/02/2015 6:13 p.m., Priya Agarwal wrote:
I had also set the permission of '/usr ' to nobody. I can reboot my system
with the default permissions if I have screwd up my system way too much. If
Okay. Do that.
Then let me know what the output is from:
ls -la /var
ls -la /var/logs
On Friday 13 Feb 2015 at 09:12, Antony Stone wrote:
On Friday 13 Feb 2015 at 03:53, Priya Agarwal wrote:
These are the output:
root@t4240qds:~# /usr/sbin/squid ls -al /var/logs/access.log
Thanks, but I asked for the output of
ls -al /var/logs/access.log
There is no squid
So sorry. In squid.conf I had done cache_effective_user to nobody and set
permissions of /var and /usr to nobody. So those are the permissions.
root@t4240qds:/var/logs# ls -al /var/logs/access.log
ls: cannot access /var/logs/access.log: No such file or directory
root@t4240qds:/var/logs# ls -ld
On Friday 13 Feb 2015 at 11:06, Priya Agarwal wrote:
So sorry. In squid.conf I had done cache_effective_user to nobody and set
permissions of /var and /usr to nobody. So those are the permissions.
Are you saying that /var is owned by 'nobody'?
That sounds like a problem for the system to me.
Then It is unable to write cache.log:
Here is the output:
root@t4240qds:~# /usr/sbin/squid -k parse
2015/02/13 12:27:14| Startup: Initializing Authentication Schemes ...
2015/02/13 12:27:14| Startup: Initialized Authentication Scheme 'basic'
2015/02/13 12:27:14| Startup: Initialized
These are the output:
root@t4240qds:~# /usr/sbin/squid ls -al /var/logs/access.log
2015/02/13 04:38:18| http_port_port: missing Port: l
FATAL: Bungled (null) line 0:
Squid Cache (Version 3.4.7): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.003 user + 0.003 sys
Maximum Resident Size: 11056