|
|
|
|
|
|
| Author |
Message |
Sushil Deore *nix forums beginner
Joined: 04 Oct 2005
Posts: 11
|
Posted: Thu Jul 20, 2006 7:22 pm Post subject:
Re: sslReadServer: FD 342: read failure: (104) Connection reset by peer
|
|
|
On Thu, 20 Jul 2006, Henrik Nordstrom wrote:
| Quote: | tor 2006-07-20 klockan 01:25 +0530 skrev Sushil Deore:
Hi Henrik,
I am running a squid-2.5 server with two seperate cache servers. In
both the cache server's cache.log file I am getting the entry from
yesterday and still on
2006/07/20 01:09:54| sslReadServer: FD 396: read failure: (104) Connection
reset by peer
This indicates that the contacted server aborted the connection
unexpectedly while the client was sending requests to the server.
|
how do I get rid off these cache log messages as my ssl traffic has
become very much slow and throught the network it has a bad impact.
Internet speed has been reduced drastically.
There must be something fishy which I am not able to detect, may be you can help
me out as I am still getting these messages in the cache.log file of my
cache servers.
Thanks in advance for your help.
With Regards,
-- Sushil. |
|
| Back to top |
|
 |
Henrik Nordstrom *nix forums Guru
Joined: 01 Feb 2005
Posts: 2377
|
Posted: Thu Jul 20, 2006 2:20 pm Post subject:
Re: sslReadServer: FD 342: read failure: (104) Connection reset by peer
|
|
|
tor 2006-07-20 klockan 01:25 +0530 skrev Sushil Deore:
| Quote: | Hi Henrik,
I am running a squid-2.5 server with two seperate cache servers. In
both the cache server's cache.log file I am getting the entry from
yesterday and still on
2006/07/20 01:09:54| sslReadServer: FD 396: read failure: (104) Connection
reset by peer
|
This indicates that the contacted server aborted the connection
unexpectedly while the client was sending requests to the server.
Regards
Henrik |
|
| Back to top |
|
 |
Visolve Squid Development *nix forums addict
Joined: 11 Mar 2005
Posts: 76
|
Posted: Thu Jul 20, 2006 11:55 am Post subject:
Re: How to rotate logs in Squid
|
|
|
Mehmet, Levent (Accenture) wrote:
| Quote: | Hi
We have just installed Squid and I would like to know how rotate the
logs files.
Hello Mehmet, |
The command " squid -k rotate" will rotate the log files.
--
Thanks,
Visolve Squid Team,
http://squid.visolve.com |
|
| Back to top |
|
 |
Ilker GOKHAN *nix forums beginner
Joined: 26 May 2005
Posts: 5
|
Posted: Thu Jul 20, 2006 9:44 am Post subject:
RE: How to rotate logs in Squid
|
|
|
Merhaba Mehmet,
Have you ever tried to run Crontab with squid "-k rotate" option?
Best regards,
Ilker G.
-----Original Message-----
From: Mehmet, Levent (Accenture) [mailto:Levent.Mehmet@mhra.gsi.gov.uk]
Sent: Thursday, July 20, 2006 11:01 AM
To: Peter Albrecht; squid-users@squid-cache.org
Subject: RE: [squid-users] How to rotate logs in Squid
Thanks Peter
I have looked in the etc/logrotate.d/ but I have no squid any ideas ?
-----Original Message-----
From: Peter Albrecht [mailto:peter.albrecht@novell.com]
Sent: 20 July 2006 07:41
To: squid-users@squid-cache.org
Subject: Re: [squid-users] How to rotate logs in Squid
Hi,
On Wednesday 19 July 2006 17:46, Mehmet, Levent (Accenture) wrote:
| Quote: | Hi
We have just installed Squid and I would like to know how rotate the
logs files.
Please can some explain on how this can be done automatically without
admin interference.
We are running Squid Suse 10.1
|
On SUSE Linux, you do not need to configure a cron job executing "squid
-k".
Log file rotation is done automatically using logrotate. The
configuration file for the Squid logfiles is /etc/logrotate.d/squid. It
contains information when and how to rotate the following files:
* /var/log/squid/cache.log
* /var/log/squid/access.log
* /var/log/squid/store.log
By default, they are rotated depending on their size. If you have
configured any other log files (or modified the names), just include
them here. A description of the syntax is available in the man page of
logrotate.
logrotate is run via a cron job daily (have a look at
/etc/cron.daily/logrotate)
Regards,
Peter
--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com
PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.
On entering the GSI, this email was scanned for viruses by the
Government Secure Intranet (GSi) virus scanning service supplied
exclusively by Cable & Wireless in partnership with MessageLabs.
In case of problems, please call your organisational IT Helpdesk.
The MessageLabs Anti Virus Service is the first managed service to
achieve the CSIA Claims Tested Mark (CCTM Certificate Number
2006/04/0007), the UK Government quality mark initiative for information
security products and services. For more information about this please
visit www.cctmark.gov.uk
This email and any files transmitted with it are confidential. If you
are not the intended recipient, any reading, printing, storage,
disclosure, copying or any other action taken in respect of this email
is prohibited and may be unlawful.
If you are not the intended recipient, please notify the sender
immediately by using the reply function and then permanently delete what
you have received.Incoming and outgoing email messages are routinely
monitored for compliance with the Department of Healths policy on the
use of electronic communications.
For more information on the Department of Healths email policy, click
http;//www.doh.gov.uk/emaildisclaimer.htm
The original of this email was scanned for viruses by Government Secure
Intranet (GSi) virus scanning service supplied exclusively by Cable &
Wireless in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to
achieve the CSIA Claims Tested Mark (CCTM Certificate Number
2006/04/0007), the UK Government quality mark initiative for information
security products and services. For more information about this please
visit www.cctmark.gov.uk |
|
| Back to top |
|
 |
Peter Albrecht *nix forums beginner
Joined: 17 Mar 2005
Posts: 18
|
Posted: Thu Jul 20, 2006 9:01 am Post subject:
Re: How to rotate logs in Squid
|
|
|
Hi Mehmet,
On Thursday 20 July 2006 10:25, Mehmet, Levent (Accenture) wrote:
| Quote: | Hi Peter
Thanks
Yes you are correct we installed our own self - compiled squid which is
why I don't see the files.
I shall install this package. Do you think there would be any confiction
with the live squid running if I perform this task
|
It depends on where you installed your Squid files.
There are two options to get /etc/logrotate.d/squid on your system:
1) You stay with your self-compiled Squid. Then I recommend installing the
Squid package on another machine and copying /etc/logrotate.d/squid to your
"real" server. logrotate will detect the squid file and will rotate the log
files automatically, so no other action is required.
If you want/need to install the package on your "real" server, please check
first if it would overwrite some of your own files. To get the list of
files in the rpm package, do
rpm -qpl /path/to/the/squidpackage
But there are more than 1000 files in the package ...
2) Save your squid.conf and install the package from the installation media.
(Maybe remove all your self-installed squid files first to get a clean
system.) Then copy your configuration to /etc/squid/squid.conf and start
your Squid. Using Squid from the installation media also has the advantage
that you can use the start script /etc/init.d/squid. So you don't need to
modify anthing besides the configuration. And using rpm packages allows
easily for removing/updating packages with all dependencies and all files.
Do you have a special need why you can't use the Squid package provided on
the DVD/CD? Normally it should be fine using this package.
Regards,
Peter
--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com |
|
| Back to top |
|
 |
Mehmet, Levent (Accenture *nix forums beginner
Joined: 11 Jul 2006
Posts: 6
|
Posted: Thu Jul 20, 2006 8:25 am Post subject:
RE: How to rotate logs in Squid
|
|
|
Hi Peter
Thanks
Yes you are correct we installed our own self - compiled squid which is
why I don't see the files.
I shall install this package. Do you think there would be any confiction
with the live squid running if I perform this task
Thanks once again
-----Original Message-----
From: Peter Albrecht [mailto:peter.albrecht@novell.com]
Sent: 20 July 2006 09:11
To: squid-users@squid-cache.org
Subject: Re: [squid-users] How to rotate logs in Squid
Hi Mehmet,
On Thursday 20 July 2006 10:01, Mehmet, Levent (Accenture) wrote:
| Quote: | Thanks Peter
I have looked in the etc/logrotate.d/ but I have no squid any ideas ?
|
The file will only be installed if you install the Squid package:
merkur2:~ # rpm -qf /etc/logrotate.d/squid
squid-2.5.STABLE12-18.2
Well, this is from SLES 10 which is based on SUSE Linux 10.1. I don't
have a SUSE Linux 10.1 around but it should be the same package.
So please install this package from your installation media and even if
you decide to use your own Squid (self-compiled), you can use the
configuration file for logrotate. If I can be of any additional help,
please let me know.
Regards,
Peter
--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com
PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.
On entering the GSI, this email was scanned for viruses by the
Government Secure Intranet (GSi) virus scanning service supplied
exclusively by Cable & Wireless in partnership with MessageLabs.
In case of problems, please call your organisational IT Helpdesk.
The MessageLabs Anti Virus Service is the first managed service to
achieve the CSIA Claims Tested Mark (CCTM Certificate Number
2006/04/0007), the UK Government quality mark initiative for information
security products and services. For more information about this please
visit www.cctmark.gov.uk
This email and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this email is prohibited and may be unlawful.
If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received.Incoming and outgoing email messages are routinely monitored for compliance with the Department of Healths policy on the use of electronic communications.
For more information on the Department of Healths email policy, click http;//www.doh.gov.uk/emaildisclaimer.htm
The original of this email was scanned for viruses by Government Secure Intranet (GSi) virus scanning service supplied exclusively by Cable & Wireless in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to achieve the CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK Government quality mark initiative for information security products and services. For more information about this please visit www.cctmark.gov.uk |
|
| Back to top |
|
 |
Peter Albrecht *nix forums beginner
Joined: 17 Mar 2005
Posts: 18
|
Posted: Thu Jul 20, 2006 8:10 am Post subject:
Re: How to rotate logs in Squid
|
|
|
Hi Mehmet,
On Thursday 20 July 2006 10:01, Mehmet, Levent (Accenture) wrote:
| Quote: | Thanks Peter
I have looked in the etc/logrotate.d/ but I have no squid any ideas ?
|
The file will only be installed if you install the Squid package:
merkur2:~ # rpm -qf /etc/logrotate.d/squid
squid-2.5.STABLE12-18.2
Well, this is from SLES 10 which is based on SUSE Linux 10.1. I don't have a
SUSE Linux 10.1 around but it should be the same package.
So please install this package from your installation media and even if you
decide to use your own Squid (self-compiled), you can use the configuration
file for logrotate. If I can be of any additional help, please let me know.
Regards,
Peter
--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com |
|
| Back to top |
|
 |
Mehmet, Levent (Accenture *nix forums beginner
Joined: 11 Jul 2006
Posts: 6
|
Posted: Thu Jul 20, 2006 8:01 am Post subject:
RE: How to rotate logs in Squid
|
|
|
Thanks Peter
I have looked in the etc/logrotate.d/ but I have no squid any ideas ?
-----Original Message-----
From: Peter Albrecht [mailto:peter.albrecht@novell.com]
Sent: 20 July 2006 07:41
To: squid-users@squid-cache.org
Subject: Re: [squid-users] How to rotate logs in Squid
Hi,
On Wednesday 19 July 2006 17:46, Mehmet, Levent (Accenture) wrote:
| Quote: | Hi
We have just installed Squid and I would like to know how rotate the
logs files.
Please can some explain on how this can be done automatically without
admin interference.
We are running Squid Suse 10.1
|
On SUSE Linux, you do not need to configure a cron job executing "squid
-k".
Log file rotation is done automatically using logrotate. The
configuration file for the Squid logfiles is /etc/logrotate.d/squid. It
contains information when and how to rotate the following files:
* /var/log/squid/cache.log
* /var/log/squid/access.log
* /var/log/squid/store.log
By default, they are rotated depending on their size. If you have
configured any other log files (or modified the names), just include
them here. A description of the syntax is available in the man page of
logrotate.
logrotate is run via a cron job daily (have a look at
/etc/cron.daily/logrotate)
Regards,
Peter
--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com
PLEASE NOTE: THE ABOVE MESSAGE WAS RECEIVED FROM THE INTERNET.
On entering the GSI, this email was scanned for viruses by the
Government Secure Intranet (GSi) virus scanning service supplied
exclusively by Cable & Wireless in partnership with MessageLabs.
In case of problems, please call your organisational IT Helpdesk.
The MessageLabs Anti Virus Service is the first managed service to
achieve the CSIA Claims Tested Mark (CCTM Certificate Number
2006/04/0007), the UK Government quality mark initiative for information
security products and services. For more information about this please
visit www.cctmark.gov.uk
This email and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this email is prohibited and may be unlawful.
If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received.Incoming and outgoing email messages are routinely monitored for compliance with the Department of Healths policy on the use of electronic communications.
For more information on the Department of Healths email policy, click http;//www.doh.gov.uk/emaildisclaimer.htm
The original of this email was scanned for viruses by Government Secure Intranet (GSi) virus scanning service supplied exclusively by Cable & Wireless in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to achieve the CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK Government quality mark initiative for information security products and services. For more information about this please visit www.cctmark.gov.uk |
|
| Back to top |
|
 |
Peter Albrecht *nix forums beginner
Joined: 17 Mar 2005
Posts: 18
|
Posted: Thu Jul 20, 2006 6:40 am Post subject:
Re: How to rotate logs in Squid
|
|
|
Hi,
On Wednesday 19 July 2006 17:46, Mehmet, Levent (Accenture) wrote:
| Quote: | Hi
We have just installed Squid and I would like to know how rotate the
logs files.
Please can some explain on how this can be done automatically without
admin interference.
We are running Squid Suse 10.1
|
On SUSE Linux, you do not need to configure a cron job executing "squid -k".
Log file rotation is done automatically using logrotate. The configuration
file for the Squid logfiles is /etc/logrotate.d/squid. It contains
information when and how to rotate the following files:
* /var/log/squid/cache.log
* /var/log/squid/access.log
* /var/log/squid/store.log
By default, they are rotated depending on their size. If you have configured
any other log files (or modified the names), just include them here. A
description of the syntax is available in the man page of logrotate.
logrotate is run via a cron job daily (have a look at
/etc/cron.daily/logrotate)
Regards,
Peter
--
Peter Albrecht, Novell Training Services, peter.albrecht@novell.com |
|
| Back to top |
|
 |
Sushil Deore *nix forums beginner
Joined: 04 Oct 2005
Posts: 11
|
Posted: Wed Jul 19, 2006 7:55 pm Post subject:
sslReadServer: FD 342: read failure: (104) Connection reset by peer
|
|
|
Hi Henrik,
I am running a squid-2.5 server with two seperate cache servers. In
both the cache server's cache.log file I am getting the entry from
yesterday and still on
2006/07/20 01:09:54| sslReadServer: FD 396: read failure: (104) Connection
reset by peer
2006/07/20 01:12:42| sslReadServer: FD 228: read failure: (104) Connection
reset by peer
2006/07/20 01:16:02| sslReadServer: FD 187: read failure: (104) Connection
reset by peer
2006/07/20 01:16:50| sslReadServer: FD 137: read failure: (104) Connection
reset by peer
2006/07/20 01:17:13| sslReadServer: FD 335: read failure: (104) Connection
reset by peer
2006/07/20 01:17:29| sslReadServer: FD 342: read failure: (104) Connection
reset by peer
2006/07/20 01:18:13| sslReadServer: FD 172: read failure: (104) Connection
reset by peer
I have gone through the squid FAQ and mailing list archives as well but I
could find topics related to "sslReadClient" only. Could you please do let
me know the reasons behind these entries and the way to come out of such
messages. Thanks in advance.
With Regards,
-- Sushil. |
|
| Back to top |
|
 |
Odhiambo WASHINGTON *nix forums beginner
Joined: 13 Jan 2006
Posts: 33
|
Posted: Wed Jul 19, 2006 4:25 pm Post subject:
Re: How to rotate logs in Squid
|
|
|
* On 19/07/06 17:13 +0100, Mehmet, Levent (Accenture) wrote:
| Hi
|
| Sorry to be a pain I don't understand not a strong user in squid
|
| -----Original Message-----
| From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
| Sent: 19 July 2006 17:08
| To: Mehmet, Levent (Accenture)
| Cc: squid-users@squid-cache.org
| Subject: Re: [squid-users] How to rotate logs in Squid
|
| ons 2006-07-19 klockan 16:46 +0100 skrev Mehmet, Levent (Accenture):
|
| > We have just installed Squid and I would like to know how rotate the
| > logs files.
| >
| > Please can some explain on how this can be done automatically without
| > admin interference.
|
| Add a cron job running "squid -k rotate" at selected interval.
Edit /etc/crontab and add one like like this;
59 23 * * 6 root /usr/local/sbin/squid -k rotate
Use the correct path for squid binary.
-Wash
http://www.netmeister.org/news/learn2quote.html
DISCLAIMER: See http://www.wananchi.com/bms/terms.php
--
+======================================================================+
|\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com>
Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com
|,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922
'---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121
+======================================================================+
Those who educate children well are more to be honored than parents,
for these only gave life, those the art of living well.
-- Aristotle |
|
| Back to top |
|
 |
Henrik Nordstrom *nix forums Guru
Joined: 01 Feb 2005
Posts: 2377
|
Posted: Wed Jul 19, 2006 4:21 pm Post subject:
RE: How to rotate logs in Squid
|
|
|
ons 2006-07-19 klockan 17:13 +0100 skrev Mehmet, Levent (Accenture):
| Quote: | Hi
Sorry to be a pain I don't understand not a strong user in squid
|
man crontab
has nothing to do with Squid really.. cron is the automatic job
scheduler in UNIX.
You tell Squid to rotate it's log files by running "squid -k rotate".
cron can be set up to call "squid -k rotate" at any interval you prefer.
A common choice is once per day.
Regards
Henrik |
|
| Back to top |
|
 |
Mehmet, Levent (Accenture *nix forums beginner
Joined: 11 Jul 2006
Posts: 6
|
Posted: Wed Jul 19, 2006 4:13 pm Post subject:
RE: How to rotate logs in Squid
|
|
|
Hi
Sorry to be a pain I don't understand not a strong user in squid
-----Original Message-----
From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
Sent: 19 July 2006 17:08
To: Mehmet, Levent (Accenture)
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] How to rotate logs in Squid
ons 2006-07-19 klockan 16:46 +0100 skrev Mehmet, Levent (Accenture):
| Quote: | We have just installed Squid and I would like to know how rotate the
logs files.
Please can some explain on how this can be done automatically without
admin interference.
|
Add a cron job running "squid -k rotate" at selected interval.
Regards
Henrik
This email and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this email is prohibited and may be unlawful.
If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received.Incoming and outgoing email messages are routinely monitored for compliance with the Department of Healths policy on the use of electronic communications.
For more information on the Department of Healths email policy, click http;//www.doh.gov.uk/emaildisclaimer.htm
The original of this email was scanned for viruses by Government Secure Intranet (GSi) virus scanning service supplied exclusively by Cable & Wireless in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to achieve the CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK Government quality mark initiative for information security products and services. For more information about this please visit www.cctmark.gov.uk |
|
| Back to top |
|
 |
Mehmet, Levent (Accenture *nix forums beginner
Joined: 11 Jul 2006
Posts: 6
|
Posted: Wed Jul 19, 2006 3:46 pm Post subject:
How to rotate logs in Squid
|
|
|
Hi
We have just installed Squid and I would like to know how rotate the
logs files.
Please can some explain on how this can be done automatically without
admin interference.
We are running Squid Suse 10.1
Thanks
Levent Mehmet
Network Analyst
Server and Network Team
Accenture@MHRA Operate Unit
Market Towers, 20th Floor
1 Nine Elms Lane
London
SW8 5NQ
E-mail: levent.mehmet@mhra.gsi.gov.uk
Phone: +44 20 7084 3517
Fax: +44 20 7084 2536
This email and any files transmitted with it are confidential. If you are not the intended recipient, any reading, printing, storage, disclosure, copying or any other action taken in respect of this email is prohibited and may be unlawful.
If you are not the intended recipient, please notify the sender immediately by using the reply function and then permanently delete what you have received.Incoming and outgoing email messages are routinely monitored for compliance with the Department of Healths policy on the use of electronic communications.
For more information on the Department of Healths email policy, click http;//www.doh.gov.uk/emaildisclaimer.htm
The original of this email was scanned for viruses by Government Secure Intranet (GSi) virus scanning service supplied exclusively by Cable & Wireless in partnership with MessageLabs.
On leaving the GSI this email was certified virus free.
The MessageLabs Anti Virus Service is the first managed service to achieve the CSIA Claims Tested Mark (CCTM Certificate Number 2006/04/0007), the UK Government quality mark initiative for information security products and services. For more information about this please visit www.cctmark.gov.uk |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Dec 04, 2008 4:46 am | All times are GMT
|
|
Homeowner Loans | Western Union Money Transfer | Mortgages | MPAA | Magazine Subscription
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|