Hi Amos,
i was change logrotate script and on first server :
total 492444
-rw-r--r-- 1 squid squid 331395201 Aug 2 09:31 access.log
-rw-r--r-- 1 squid squid 18831645 Jul 4 23:13 access.log.1.gz
-rw-r--r-- 1 squid squid 15437442 Jun 7 21:03 access.log.2.gz
-rw-r--r-- 1 squid squid 7987085 Ma
On 29/07/11 23:36, Railic Njegos wrote:
Hi all,
definetly problem is with permission.
I see a different answer.
Follow...
[root@proxy01 ~]# logrotate -d -v -f /etc/logrotate.d/squid
considering log /var/log/squid/access.log
log needs rotating
considering log /var/log/squid/cache.
Hi all,
definetly problem is with permission.
When i try manualy rotate result is next :
[root@proxy01 ~]# ll /var/log/squid/
total 469016
-rw-r--r-- 1 squid squid 308718681 Jul 29 13:13 access.log
-rw-r--r-- 1 squid squid 18831645 Jul 4 23:13 access.log.1.gz
-rw-r--r-- 1 squid squid 15437442
On 23/07/11 00:50, Will Roberts wrote:
Hi Amos,
On Fri, Jul 22, 2011 at 12:32 AM, Amos Jeffries wrote:
Can you check the contents of the squid.pid file vs the processes that are
actually running between step (6) and (7).
Sure, here are the processes after each step that would cause a change
Hi Amos,
On Fri, Jul 22, 2011 at 12:32 AM, Amos Jeffries wrote:
> Can you check the contents of the squid.pid file vs the processes that are
> actually running between step (6) and (7).
Sure, here are the processes after each step that would cause a change:
Step 3:
1879 ?Ss 0:00 /
On 22/07/11 13:32, Will Roberts wrote:
Here are simple steps to reproduce the problem I see with 3.1.12:
1. Add "127.0.0.1 bogus" to your /etc/hosts
2. Add "http_port bogus:8080" to your squid.conf
3. Restart squid
4. Modify /etc/hosts so that "bogus" no longer resolves
5. Force a log rotation:
Here are simple steps to reproduce the problem I see with 3.1.12:
1. Add "127.0.0.1 bogus" to your /etc/hosts
2. Add "http_port bogus:8080" to your squid.conf
3. Restart squid
4. Modify /etc/hosts so that "bogus" no longer resolves
5. Force a log rotation: logrotate -f /etc/logrotate.d/squid3
whi
On 07/18/2011 06:33 PM, Amos Jeffries wrote:
Sounds like the problem is in logrotate. The squid -k rotate with
logfile_rotate 0 just closes the logs and reopens whatever is now using
the filenames. logrotate is fully responsible for moving the file and
creating a new one ready for the squid re-op
On Mon, 18 Jul 2011 15:28:54 +0200, Railic Njegos wrote:
On Mon, Jul 18, 2011 at 2:15 PM, Amos Jeffries
wrote:
On 18/07/11 23:02, Railic Njegos wrote:
On Mon, Jul 18, 2011 at 12:57 PM, John Doe wrote:
From: Railic Njegos
i have problem, after uprade CentOS 5.5 to 5.6, Logrotate don't
wor
From: Railic Njegos
> On Mon, Jul 18, 2011 at 2:15 PM, Amos Jeffries
> wrote:
>> Please explain the part about "don't work".
>>
>> Multiple log files with some empty?
>> * check for logfile_rotate directive. Must be set to 0 when an external
> log
>> rotation software is used. Default if
On Mon, Jul 18, 2011 at 2:15 PM, Amos Jeffries wrote:
> On 18/07/11 23:02, Railic Njegos wrote:
>>
>> On Mon, Jul 18, 2011 at 12:57 PM, John Doe wrote:
>>>
>>> From: Railic Njegos
>>>
i have problem, after uprade CentOS 5.5 to 5.6, Logrotate don't work
on two proxy servers. I have insta
On 18/07/11 23:02, Railic Njegos wrote:
On Mon, Jul 18, 2011 at 12:57 PM, John Doe wrote:
From: Railic Njegos
i have problem, after uprade CentOS 5.5 to 5.6, Logrotate don't work
on two proxy servers. I have installed :
On first server , squid logs never rotated, config is here
On second serv
On Mon, Jul 18, 2011 at 12:57 PM, John Doe wrote:
> From: Railic Njegos
>
>> i have problem, after uprade CentOS 5.5 to 5.6, Logrotate don't work
>> on two proxy servers. I have installed :
>> On first server , squid logs never rotated, config is here
>> On second server squid logs rotated every
From: Railic Njegos
> i have problem, after uprade CentOS 5.5 to 5.6, Logrotate don't work
> on two proxy servers. I have installed :
> On first server , squid logs never rotated, config is here
> On second server squid logs rotated every day . Config :
> Before upgrade i have this config and al
Hi all,
i have problem, after uprade CentOS 5.5 to 5.6, Logrotate don't work
on two proxy servers. I have installed :
squid-2.6.STABLE21-6.el5
logrotate-3.7.4-9.el5_5.2
On first server , squid logs never rotated, config is here
cat /etc/logrotate.d/squid
/var/log/squid/access.log {
weekly
15 matches
Mail list logo