Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BEF54D978 for ; Fri, 17 May 2013 04:07:03 +0000 (UTC) Received: (qmail 20048 invoked by uid 500); 17 May 2013 04:07:03 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 19686 invoked by uid 500); 17 May 2013 04:07:01 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 19664 invoked by uid 99); 17 May 2013 04:07:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 04:07:00 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aemneina@gmail.com designates 74.125.82.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-wg0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2013 04:06:53 +0000 Received: by mail-wg0-f47.google.com with SMTP id e11so47061wgh.14 for ; Thu, 16 May 2013 21:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:reply-to:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=6aIYwKAhuC/qg4CcagJTtlFeRp2Odzj8INk7A5mTaFc=; b=ACxCY7WXX4Aub7YqLtsKlInFh5cQCwgehwQAlhpOmcJPU3kL7L/VRZLYuAKrGN2ylw zQs/i13bCQlW82vpfPq8otNUgGgy2ecNMWfQX67sDIB7pD63Ow4GORVyebIkDdF8DWpL S7C/WJDhybIAez8+yzgKqGQVhbF/5hHtDJU237MMw44NBHH02jpl7RvApr14R+Lk+New OYh4tY8GiSxgRnl0hvUtDDBTM/2nFHZxD8BTgFrc/U380yCOCIFI9wIISzKARrtIyQOd 30NuxiVPcjQUlXngFrPmPP/5sKVw7AZRVHbO6hLazgZa0oGZ99Q1e72WZpyiijuLcfQ6 7mUg== X-Received: by 10.180.21.167 with SMTP id w7mr30308167wie.2.1368763592702; Thu, 16 May 2013 21:06:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.93.196 with HTTP; Thu, 16 May 2013 21:06:12 -0700 (PDT) Reply-To: aemneina@gmail.com In-Reply-To: References: From: Ahmad Emneina Date: Thu, 16 May 2013 21:06:12 -0700 Message-ID: Subject: Re: cloudstack log4j error and can't ping 9090 port when managment start To: Cloudstack users mailing list Content-Type: multipart/alternative; boundary=047d7b6d9a88b980b504dce21b9e X-Virus-Checked: Checked by ClamAV on apache.org --047d7b6d9a88b980b504dce21b9e Content-Type: text/plain; charset=ISO-8859-1 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 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: 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: 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: 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 > --047d7b6d9a88b980b504dce21b9e--