Error 15 (net::SOCKET_NOT_CONNECTED)

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rhubarb
Posts: 8
Joined: Mon Mar 12, 2012 12:30 pm

Error 15 (net::SOCKET_NOT_CONNECTED)

Post by rhubarb »

Strange error with Nagios running on Ubuntu Server 11.10. I installed as per instructions here on host nagios: http://www.ghacks.net/2009/06/08/how-to ... tu-server/

Once finished, I started nagios and apache on the nagios server and from my local PC hit the browser at http://nagios/nagios/
After a couple of minutes I am able to log in and navigate without issue. After a few minutes the page will auto-refresh and I see the page attached (nagios_err).

Error 15 (net:ERR_SOCKET_NOT_CONNECTED): Unknown Error. This is a virtual machine sitting on ESX host. After a few minutes I'll be able to refresh page and it will attempt to load but fail with connection refused (see attached). It's very frustrating.

Checking on the Nagios server both apache2 and Nagios are running and only apache2 is running on port 80 so there is no conflict. This is a vanilla server created solely for Nagios. I was able to verify the config file in Nagios just fine.

Any help is appreciated!
Attachments
err_connection_refused.png
err_connection_refused.png (82.25 KiB) Viewed 2747 times
nagios_err.png
nagios_err.png (53.45 KiB) Viewed 2747 times
rhubarb
Posts: 8
Joined: Mon Mar 12, 2012 12:30 pm

Re: Error 15 (net::SOCKET_NOT_CONNECTED)

Post by rhubarb »

Okay so I changed the ESX Network Adapter from "Flexible" to "E1000"
Also removed a static route I had added before to troubleshoot. Same thing happened after second refresh (180 seconds or so).
Connection to Nagios was interrupted with Error 101 (net:ERR_CONNECTION_RESET) The connection was reset.
rhubarb
Posts: 8
Joined: Mon Mar 12, 2012 12:30 pm

Re: Error 15 (net::SOCKET_NOT_CONNECTED)

Post by rhubarb »

Okay I'll have to post this in Ubuntu forums or something. I can't ssh to the server either so it must be networking issue.
Attempting to ssh I get Network Error: software caused connection abort.
rhubarb
Posts: 8
Joined: Mon Mar 12, 2012 12:30 pm

Re: Error 15 (net::SOCKET_NOT_CONNECTED)

Post by rhubarb »

Solved: I shut down the server and did a continuous ping of the server. Sure enough as it shut down I noticed the pings started to drop and moments later began to reply again. There was another server with this IP. 48 hours later...Ugh.
Locked