[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
monitoring sshd generates socket failures in auth.log
From: |
Marcus Mülbüsch |
Subject: |
monitoring sshd generates socket failures in auth.log |
Date: |
Wed, 01 Oct 2014 12:48:44 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 |
Hello list,
I don't know, when it started, but in /var/log/auth.log I now have
error messages like this one (I set "LogLevel DBUG" for sshd):
debug1: SSH2_MSG_KEXINIT sent [preauth]
fatal: Read from socket failed: Connection reset by peer [preauth]
This is generated by the line
> if failed port 22 protocol ssh then restart
in the monitrc-file
It doesn't make a difference, whether I specify a host or not (i.e.
"host localhost" or "host 127.0.0.1" or "host 192.168.1.1")
monit does not record anything out of the ordinary: sshd is fully
functional for it.
Additionally a ssh-connect from the host itself generates no error:
# ssh localhost
debug1: SSH2_MSG_KEXINIT sent [preauth]
debug1: SSH2_MSG_KEXINIT received [preauth]
What can I do to stop filling my logfile with "fatal" errors?
I do have that problem with monit-5.5 and monit-5.8 on gentoo; I do
not have a similar entry in a log file with monit-5.2.5 on a centos-5
server nor with a monit-5.5 on a Ubuntu 10.04.4 LTS.
So it has probably something to do with gentoo and openrc? But
duckduckgoing around provided no useful hints.
Marcus
--
Marcus Mülbüsch
Systemadministration
fon: +49 (0)208 9898 98-49
fax: +49 (0)208 9898 98-949
_______________________________________
AS-Infodienste GmbH
Hardenbergstr. 18b
45472 Mülheim
mail: address@hidden
web: www.as-infodienste.de
fb: www.facebook.com/ASInfodienste
Kontakt zum Telefonsupport für
Servicerufnummern: +49 (0)208 9898 98-11
Telefonsekretariat: +49 (0)208 9898 98-12
SMS-Dienstleistungen: +49 (0)208 9898 98-13
Telefonkonferenzen: +49 (0)208 9898 98-17
Unternehmenszentrale:
fon: +49 (0)208 9898 98-00
fax: +49 (0)208 9898 98-900
_______________________________________
Unternehmensangaben:
Die AS-Infodienste GmbH ist im
Handelsregister des AG Duisburg
unter HRB 16061 registriert.
Geschäftsführer:
Andreas Schlacht
Alexander Stellmach
USt.-ID: DE 813295188
St.-Nr.: 120/5742/0589
________________________________________
Wir sind Mitglied im Wirtschaftsrat
der Deutschen Umweltstiftung.
Wir nutzen klimafreundlichen Ökostrom
von NATURSTROM. Damit leisten wir
einen Beitrag zum Umweltschutz.
- monitoring sshd generates socket failures in auth.log,
Marcus Mülbüsch <=