RE: [squid-users] My compiled 3.2.0.4 version says it is 2.6

From: Volker-Yoblick, Adam <avolker_at_ea.com>
Date: Thu, 27 Jan 2011 06:52:05 -0800

If you run as root, you have to set your cache_effective_user, and then chown the log files to the effective user.

For example, in my squid.conf, I have the following line:

        cache_effective_user squid

So I had to make sure I did the following before running squid:

        Chown -R squid /usr/local/squid/var/logs
        Chown -R squid <path to your local cache if you are using one>

Hope this helps =)

-Adam

-----Original Message-----
From: Michelle Dawson [mailto:itbabe87_at_gmail.com]
Sent: Thursday, January 27, 2011 9:47 AM
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] My compiled 3.2.0.4 version says it is 2.6

Thank you for you reply,

Yes there were two versions of squid which is very odd since there were no versions on it before I compiled it, because I have checked it.

I managed to remove the 2.6 now via yum remove command, but now I dont really know how to start squid 3.2. The service squid start does not work as service squid status does not exist.

I've tried by starting squid in the /usr/local/squid/sbin/ folder:

[root_at_vm1 squid-3.2.0.4]# /usr/local/squid/sbin/squid status
WARNING: Cannot write log file: /usr/local/squid/var/logs/cache.log
/usr/local/squid/var/logs/cache.log: Permission denied
        messages will be sent to 'stderr'.

But i get the message above. Do you know what that means? Am i trying to run squid as the wrong user ( root ) ?

Thank you,

Michelle D. (she ;) )
Received on Thu Jan 27 2011 - 14:52:14 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 27 2011 - 12:00:03 MST