Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Showing results for 
Search instead for 
Did you mean: 

connection reset by peer error

Shariq Siddiqui
Occasional Contributor

connection reset by peer error

On the console "connection reset by peer" meesages appear. I was wondering what could be causing this to happen. Any help is appreiciated.

If you cannot achieve it the first time. DON'T try again!!!
Berlene Herren
Honored Contributor

Re: connection reset by peer error

Could be caused by duplicate IP address on network. check nettl.LOG

#netfmt -f /var/adm/nettl.LOG00 > /tmp/file
#more /tmp/file

Could be caused by PC users not exiting applications gracefully, instead just "x-ing" them.

Craig Gilmore
Trusted Contributor

Re: connection reset by peer error

Basically the message:

connection reset by peer

is a catch all message. All that this means is that there was a TCP connection to another system that received a RST packet. The cause for this reset is as numerous as the types of applications you run on your system. The fact that this appeared on the console is of interest. First, check to make sure that the system logging deamon (syslogd) is properly running and you are getting messages posted to syslog. The message should log in /var/adm/syslog/syslog.log.

The only reason that this message would log to either the console or the syslog is that the process that controls the socket connection is either a system process (inetd) or the controlling process has previously died.

Is this something to be concerned about? It depends on whether you are getting work done or if this reset is causing work to stop. You can tell this by complaints or by applications failing. No failing applications or complaints... No issue.

I've not seen a duplicate IP address cause this error, but there is always a first time.

The PC application could cause this, but it would have to be one that cared about the network stack. Most don't and don't issue a close on the open socket. In my experience they wait for the keepalive process to clean up after them.