Discussion:
Cannot Access WebUI
dualsweat
2013-10-09 20:34:21 UTC
Permalink
dualsweat [http://community.zenoss.org/people/dualsweat] created the discussion

"Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74899#74899

--------------------------------------------------------------
Hello All,

         We just completed an initial installation of Zen 4.2.4. We are able to access the webUI from the local server using <172.x.x.x:8080>, however, when we try to access the WebUI from a server that is literally right next to it (same local LAN), we get an error "Page Timed Out".
[***@localhost ~]# netstat -antp | grep 8080
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 25142/python
tcp 0 0 172.x.x.x:8080 172.16.35.26:55180 ESTABLISHED 25142/python
tcp 0 0 172.x.x.x:55180 172.16.35.26:8080 ESTABLISHED 28083/firefox
[***@localhost ~]#



***@Lubuntu-Server:~# ping 172.x.x.x
PING 172.16.35.26 (172.16.35.26) 56(84) bytes of data.
64 bytes from 172.16.35.26: icmp_req=1 ttl=64 time=0.584 ms
64 bytes from 172.16.35.26: icmp_req=2 ttl=64 time=0.486 ms
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74899#74899]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dualsweat
2013-10-09 20:34:46 UTC
Permalink
dualsweat [http://community.zenoss.org/people/dualsweat] created the discussion

"Re: Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74900#74900

--------------------------------------------------------------
Note: Installed on CentOS 6.3.

Thanks!

Matt-----
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74900#74900]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Mark Norton
2013-10-10 00:45:40 UTC
Permalink
Mark Norton [http://community.zenoss.org/people/mnorton] created the discussion

"Re: Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74909#74909

--------------------------------------------------------------
This might be a silly question but are you using https:// https:// to try and get a response. I had the same problem until it hit me that it's just using http.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74909#74909]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dualsweat
2013-10-10 13:51:26 UTC
Permalink
dualsweat [http://community.zenoss.org/people/dualsweat] created the discussion

"Re: Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74917#74917

--------------------------------------------------------------
Hi Mark,

        Yes, I have tried http and https. The only place I can access the webui is from the local server that Zen is running on. All other remote connections timeout.

        All machines are on a local LAN with an 8 port Netgear switch. Also, I can ssh into the Zen server, but again the webui does not work.

Thanks,

Matt-------
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74917#74917]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Mark Norton
2013-10-10 14:34:14 UTC
Permalink
Mark Norton [http://community.zenoss.org/people/mnorton] created the discussion

"Re: Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74918#74918

--------------------------------------------------------------
Sounds like the firewall is blocking the connection.

As long as your server is not exposed to the outside try this:

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT




--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74918#74918]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dualsweat
2013-10-10 14:53:51 UTC
Permalink
dualsweat [http://community.zenoss.org/people/dualsweat] created the discussion

"Re: Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74919#74919

--------------------------------------------------------------
Thanks for the tip Mark, but still no luck:

[
[***@localhost ~]# iptables -F
[***@localhost ~]# iptables -X
[***@localhost ~]# iptables -t nat -F
[***@localhost ~]# iptables -t nat -X
[***@localhost ~]# iptables -t mangle -F
[***@localhost ~]# iptables -t mangle -X
[***@localhost ~]# iptables -P INPUT ACCEPT
[***@localhost ~]# iptables -P FORWARD ACCEPT
[***@localhost ~]# iptables -P OUTPUT ACCEPT


[***@localhost ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[***@localhost ~]#

Anything else I can check?

I have my network cable connected to eth1 and not eth0, does that matter?
All other protocols seems to work without issue.

Thanks,

Matt M.------
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74919#74919]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-10-10 15:18:45 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74920#74920

--------------------------------------------------------------
Just to verify it's not the firewall....temporarily turn it off (maybe the
bad guys won't notice for a few minutes).

1. service iptables save
2. service iptables stop
3. chkconfig iptables off

If that doesn't work, run a tcpdump on the Zenoss server to see if it's
receiving the HTTP request. If you can access it from the localhost then
Zenoss itself should be working, which means it's most likely a network
related issue.

Also make sure you're using the IPV4 address of the Zenoss server, e.g.
http://172.16.5.5:8080 http://172.16.5.5:8080 , instead of http://server-name:8080 http://server-name:8080
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74920#74920]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dualsweat
2013-10-10 15:39:16 UTC
Permalink
dualsweat [http://community.zenoss.org/people/dualsweat] created the discussion

"Re: Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74921#74921

--------------------------------------------------------------
Thanks Guys,

             I disabled the firewall, and tried again. When I try to connect from multiple PC's on the same local LAN as Zen, I do not see any traffic on port 8080 hitting the server. However, if I capture on the loopback and try to connect to Zen via the local Zen server web browser I can connect successfully locally and I see traffic on the loopback interface. So, I guess there is some sort of network issue here.


[***@localhost ~]# service iptables save
iptables: Saving firewall rules to /etc/sysconfig/iptables:[ OK ]
[***@localhost ~]# service iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
[***@localhost ~]# chkconfig iptables off


[***@localhost ~]# tcpdump -i eth0 -s 0 port 8080 -vv
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes

Thanks,

Matt-------

--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74921#74921]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
dualsweat
2013-10-10 15:46:03 UTC
Permalink
dualsweat [http://community.zenoss.org/people/dualsweat] created the discussion

"Re: Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74922#74922

--------------------------------------------------------------
UPDATE!

I changed the eth cable from the server to the switch and I changed the switch port from port2 to port3. So, it was either a bad cable or a bad switch port.

The good news is, I can now access Zen remotely from other PC's on the LAN. Hooray!

Thanks All for your help!

Matt-------
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74922#74922]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-10-10 16:08:00 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Cannot Access WebUI"

To view the discussion, visit: http://community.zenoss.org/message/74923#74923

--------------------------------------------------------------
3 cheers! If I had to guess I would say it was the netgear switch!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/74923#74923]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...