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 01C6610435 for ; Thu, 6 Jun 2013 08:29:22 +0000 (UTC) Received: (qmail 56474 invoked by uid 500); 6 Jun 2013 08:29:20 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 56406 invoked by uid 500); 6 Jun 2013 08:29:20 -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 56397 invoked by uid 99); 6 Jun 2013 08:29:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 08:29:19 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of erkrishna@gmail.com designates 209.85.216.49 as permitted sender) Received: from [209.85.216.49] (HELO mail-qa0-f49.google.com) (209.85.216.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 08:29:12 +0000 Received: by mail-qa0-f49.google.com with SMTP id hu16so130591qab.8 for ; Thu, 06 Jun 2013 01:28:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=zLHdhm9S3Tr5qX8gKScqJhr9RHjr4pe7MohPPsLm7Qk=; b=WiPNGfgL5GR4wfys8AJc3tjZACTS7PQT6Hl1rkrBxZKLopObjtjxjWDuiFy6IXtsOQ S4ay6Eq+Rd54mwZGper4cCafpOGYYlkf8zW5NT/UjMr6dUBNo8jTToXy27hrZNqozire XgYhfFVXeo23ucHprQd3GQnBFkDImUprJo26bTelN8a0onhLxD+HdsUNMLCoL+9nj0p0 /fzEQ0Q3wIK/UljLyP3FRFdgrzKGeMwxXdz1rqlprkq4nlAyA2mX0UX/KxR6evL/xVHL AqtdPd9YrXm+5iiT/yJ28EYiom+qlHM3I8eN0J+RIPTdaUTQX0yk/tc7QDeRj8Zqllec H3/A== MIME-Version: 1.0 X-Received: by 10.224.3.10 with SMTP id 10mr33297102qal.85.1370507331936; Thu, 06 Jun 2013 01:28:51 -0700 (PDT) Received: by 10.224.212.73 with HTTP; Thu, 6 Jun 2013 01:28:51 -0700 (PDT) In-Reply-To: <6F567204-2B14-43B8-8691-95F67AE9BE63@gmail.com> References: <6D37E299-867C-4E66-A19C-CA46212C7CEF@gmail.com> <20130606063433.GA4667@cloud-2.local> <20130606070547.GA5602@cloud-2.local> <6F567204-2B14-43B8-8691-95F67AE9BE63@gmail.com> Date: Thu, 6 Jun 2013 13:58:51 +0530 Message-ID: Subject: Re: unable to add host From: Er Krishna To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a11c35acaaea8a504de781afe X-Virus-Checked: Checked by ClamAV on apache.org --001a11c35acaaea8a504de781afe Content-Type: text/plain; charset=ISO-8859-1 Ahmad You mean to say in same file I should replace info from Trace? And what about first line : debug = true is fine or shall I replace debug to trace and should do trace=true ? Krish On Thu, Jun 6, 2013 at 1:01 PM, Ahmad Emneina wrote: > I think TRACE is the better option, lets go with that. > > Ahmad > > On Jun 6, 2013, at 12:21 AM, Er Krishna wrote: > > > Hi Prasanna, > > > > On third point I followed the link. But I have only: > > > > ls -l /etc/cloud/agent/log4j-cloud.xml file. There is no directory like > > /etc/clodstack. So I made a change in this file like : > > > > sed -i 's/INFO/DEBUG/g' log4j-cloud.xml > > > > and below mentioned one line > > > > > debug="true"> > > > > Will it be fine ? > > > > > > Krishna > > > > On Thu, Jun 6, 2013 at 12:35 PM, Prasanna Santhanam > wrote: > > > >> On Thu, Jun 06, 2013 at 12:29:32PM +0530, Er Krishna wrote: > >>> Prasanna, > >>> > >>> Thanks for the mail. here is my inline reply: > >>> > >>> > >>> Before that - > >>> 1. Is port 8250 open on the management server and listening for > >>> connections? > >>> > >>> > >>> |yes : O/P on Management server is : > >>> |root@krishna-S1200RP:~# lsof -i | grep -Rin 8250 > >>> |45:jsvc 1201 cloud 150u IPv6 12925 0t0 TCP > >> *:8250 > >>> (LISTEN) > >>> |Pls confirm above is fine or not ? In case if it need any change, let > me > >>> know. > >> > >> This is good. > >> > >>> > >>> > >>> > >>> 2. On your ubuntu host what is the output of lsmod | grep kvm > >>> > >>> > >>> |root@krishna-S1200RP:~# lsmod | grep -Rin KVM > >>> |39:kvm_intel 137888 0 > >>> |40:kvm 422160 1 kvm_intel > >>> root@krishna-S1200RP:~# > >>> > >> > >> Good here! > >> > >>> > >>> On the agent go to /etc/cloudstack/agent/log4j-*. > >>>> > >>>> xml. Within that > >>>> s/DEBUG/TRACE/g and that should turn on TRACE for all components. > >>> > >>> > >>> |I found log4j-cloud.xml file in /etc/cloud/agent directory and > >>> change below line. Is it fine ? Will it make debug enable ? > >>> | >>> debug="false"> > >>> |to > >>> | >>> debug="true"> > >> > >> Sorry, the log should be set as explained in #3 at > >> https://cwiki.apache.org/confluence/x/FgPMAQ > >> -- > >> Prasanna., > >> > >> ------------------------ > >> Powered by BigRock.com > >> > >> > --001a11c35acaaea8a504de781afe--