Re: Upgrading Nagios -- blew up
Posted: Wed Jan 08, 2014 12:34 pm
[root@nagiosxi ~]# /usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosql/index.php --no-check-certificate --post-data 'Submit=Login&tfUsername=nagiosxi&tfPassword=n@gweb' -O nagiosql.login
--2014-01-08 10:31:29-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... failed: Connection refused.
[root@nagiosxi ~]# !nmap
nmap -p 80,443 localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2014-01-08 10:31 MST
Interesting ports on localhost.localdomain (127.0.0.1):
PORT STATE SERVICE
80/tcp closed http
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
[root@nagiosxi ~]#
No this is sort of where we started the 403 error was reporting through the proxy before, but I have eliminated the proxy.
It apears that port 80 is closed, and the firewall is not on
[root@nagiosxi ~]# service iptables status
Firewall is stopped.
[root@nagiosxi ~]# ps -ef | grep httpd
root 1363 29337 0 10:34 pts/1 00:00:00 grep httpd
root 3414 1 0 Jan07 ? 00:00:00 /usr/sbin/httpd
apache 15457 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15458 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15459 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15460 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15461 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15462 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15463 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15464 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
--2014-01-08 10:31:29-- http://localhost/nagiosql/index.php
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:80... failed: Connection refused.
[root@nagiosxi ~]# !nmap
nmap -p 80,443 localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2014-01-08 10:31 MST
Interesting ports on localhost.localdomain (127.0.0.1):
PORT STATE SERVICE
80/tcp closed http
443/tcp open https
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
[root@nagiosxi ~]#
No this is sort of where we started the 403 error was reporting through the proxy before, but I have eliminated the proxy.
It apears that port 80 is closed, and the firewall is not on
[root@nagiosxi ~]# service iptables status
Firewall is stopped.
[root@nagiosxi ~]# ps -ef | grep httpd
root 1363 29337 0 10:34 pts/1 00:00:00 grep httpd
root 3414 1 0 Jan07 ? 00:00:00 /usr/sbin/httpd
apache 15457 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15458 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15459 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15460 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15461 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15462 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15463 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd
apache 15464 3414 0 04:02 ? 00:00:00 /usr/sbin/httpd