cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmad Emneina <aemne...@gmail.com>
Subject Re: cloudstack log4j error and can't ping 9090 port when managment start
Date Fri, 17 May 2013 04:06:12 GMT
what does the firewall look like on each management server? poke a hole for
tcp port 9090, see if you get further.


On Thu, May 16, 2013 at 7:21 PM, guren san <sanguren@gmail.com> wrote:

> Hi
>
> I have two trouble need help
>
> My CS environment
> two management server ,one haproxy ,  one mysql ,two mysql slave
>
>
> 1. when I start management server ,the managemnet log find the error
> 2013-05-17 09:45:03,201 ERROR [cloud.cluster.ClusterManagerImpl]
> (main:null) Unable to ping manag
> ement server at 10.40.0.201:9090 due to ConnectException
> java.net.ConnectException: Connection refused
>
>
> I have disabled ipv6 on management server :
>
>   1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
>     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>     inet 127.0.0.1/8 scope host lo
>   2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
>     link/ether 90:e6:ba:88:37:7d brd ff:ff:ff:ff:ff:ff
>   3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UP qlen 1000
>     link/ether 00:07:e9:06:13:e1 brd ff:ff:ff:ff:ff:ff
>     inet 10.40.0.201/16 brd 10.40.255.255 scope global eth1
>
> [root@cs-db-01-01 ~]# route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 169.254.0.0     0.0.0.0         255.255.0.0     U     1003   0        0
> eth1
> 10.40.0.0       0.0.0.0         255.255.0.0     U     0      0        0
> eth1
> 0.0.0.0         10.40.0.254     0.0.0.0         UG    0      0        0
> eth1
>
>
> [root@cs-db-01-01 ~]# netstat -antlp
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address               Foreign Address
> State       PID/Program name
> tcp        0      0 127.0.0.1:8005              0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 0.0.0.0:49349               0.0.0.0:*
> LISTEN      1121/rpc.statd
> tcp        0      0 0.0.0.0:59304               0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 0.0.0.0:7080                0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 0.0.0.0:3306                0.0.0.0:*
> LISTEN      1358/mysqld
> tcp        0      0 0.0.0.0:44431               0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 0.0.0.0:111                 0.0.0.0:*
> LISTEN      1103/rpcbind
> tcp        0      0 0.0.0.0:20400               0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 0.0.0.0:8080                0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 0.0.0.0:22                  0.0.0.0:*
> LISTEN      1231/sshd
> tcp        0      0 0.0.0.0:8250                0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 0.0.0.0:40415               0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 0.0.0.0:9090                0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 0.0.0.0:45219               0.0.0.0:*
> LISTEN      2653/java
> tcp        0      0 10.40.0.201:39517           10.40.0.200:3306
>  ESTABLISHED 2653/java
> tcp        0      0 10.40.0.201:22              192.168.0.11:5556
> ESTABLISHED 2113/sshd
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38563
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38549
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:39511           10.40.0.200:3306
>  ESTABLISHED 2653/java
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38528
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:39540           10.40.0.200:3306
>  ESTABLISHED 2653/java
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38592
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:39512           10.40.0.200:3306
>  ESTABLISHED 2653/java
> tcp        1      0 10.40.0.201:37061           10.40.0.10:9090
> CLOSE_WAIT  2653/java
> tcp        0      0 10.40.0.201:39516           10.40.0.200:3306
>  ESTABLISHED 2653/java
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38556
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38585
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:39513           10.40.0.200:3306
>  ESTABLISHED 2653/java
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38571
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:22              192.168.0.11:5555
> ESTABLISHED 2088/sshd
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38578
> TIME_WAIT   -
> tcp        1      0 10.40.0.201:59325           10.40.0.10:9090
> CLOSE_WAIT  2653/java
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38535
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:9090            10.40.0.10:41894
>  TIME_WAIT   -
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38542
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:8080            10.40.0.200:38520
> TIME_WAIT   -
> tcp        0      0 10.40.0.201:50991           10.40.0.10:8250
> ESTABLISHED 2653/java
> tcp        0      0 10.40.0.201:8250            10.40.0.10:44358
>  ESTABLISHED 2653/java
> tcp        0      0 10.40.0.201:9090            10.40.0.10:58850
>  FIN_WAIT2   -
> tcp        0      0 10.40.0.201:8250            10.40.0.200:35566
> ESTABLISHED 2653/java
> tcp        0      0 :::111                      :::*
>  LISTEN      1103/rpcbind
> tcp        0      0 :::22                       :::*
>  LISTEN      1231/sshd
> tcp        0      0 :::46308                    :::*
>
>
>
> 2. log4
>
> when i change all log level value to DEBUG,I restart the management server
> ,the log find this
>
> 2013-05-17 10:19:43,930 DEBUG [om.util.StAXUtils] (main:null) About to
> create XMLInputFactory imp
> lementation with classloader=WebappClassLoader
>   delegate: false
>   repositories:
>     /WEB-INF/classes/
> ----------> Parent Classloader:
> org.apache.catalina.loader.StandardClassLoader@1ed0af9b
>
> 2013-05-17 10:19:43,930 DEBUG [om.util.StAXUtils] (main:null) The
> classloader for javax.xml.strea
> m.XMLInputFactory is: null
> 2013-05-17 10:19:43,942 DEBUG [om.util.StAXUtils] (main:null) Created
> XMLInputFactory = class com
> .sun.xml.internal.stream.XMLInputFactoryImpl with
> classloader=WebappClassLoader
>   delegate: false
>   repositories:
>     /WEB-INF/classes/
> ----------> Parent Classloader:
> org.apache.catalina.loader.StandardClassLoader@1ed0af9b
>
>
>
> --thanks
>
> Eager.yu
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message