Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D204810557 for ; Fri, 12 Apr 2013 14:09:08 +0000 (UTC) Received: (qmail 87132 invoked by uid 500); 12 Apr 2013 14:09:08 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 87096 invoked by uid 500); 12 Apr 2013 14:09:08 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 87088 invoked by uid 99); 12 Apr 2013 14:09:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 14:09:08 +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 (athena.apache.org: domain of shadowsor@gmail.com designates 209.85.212.45 as permitted sender) Received: from [209.85.212.45] (HELO mail-vb0-f45.google.com) (209.85.212.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Apr 2013 14:09:03 +0000 Received: by mail-vb0-f45.google.com with SMTP id w15so2161298vbf.18 for ; Fri, 12 Apr 2013 07:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=ozq8pzdo4blYxUClF4GiWEkcGR3tMuLdJcakJG3GSRk=; b=Vr8DgBsBb7AGGGgbAXMCPEh+2Hnt3SH5Hxo8CA9IvIajUxOhXME6UY2zjxBVoqDkyu nPaSNxL1lVu/hDNpj2SJXAQxBcFYmDKWWEMTdV57RsU3NhUhN9f9ncD6rwaUO5WN/gT1 0VMp04WSW4KvXQ1SnNLTauVqORPdp1Q7snQAOz6WmZnaA9XEYccnyDrQj1j1wyF5B5n7 k33HC1pzd+0VG2NDrXdBKVicbzmNxYyCdNT8qOTFooGIYNC/TK12plR90aphkC/QtRau 1AXJrp8Dj7Z6O5JNpfycZHSg1f6H+MLuPj7+JXWxkDKWqoqa6f6NzMVJeU5yWvUEKr3H pPmA== MIME-Version: 1.0 X-Received: by 10.58.205.179 with SMTP id lh19mr8453442vec.7.1365775722856; Fri, 12 Apr 2013 07:08:42 -0700 (PDT) Received: by 10.52.103.106 with HTTP; Fri, 12 Apr 2013 07:08:42 -0700 (PDT) In-Reply-To: <790E7BCBCDD98F45BD43B85D7326B8D07000BD5B@DBXPRD0710MB372.eurprd07.prod.outlook.com> References: <790E7BCBCDD98F45BD43B85D7326B8D07000BD5B@DBXPRD0710MB372.eurprd07.prod.outlook.com> Date: Fri, 12 Apr 2013 08:08:42 -0600 Message-ID: Subject: Re: The given command does not exist or it is not available for user From: Marcus Sorensen To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=089e011841a0cdc74804da2a7014 X-Virus-Checked: Checked by ClamAV on apache.org --089e011841a0cdc74804da2a7014 Content-Type: text/plain; charset=ISO-8859-1 Is it an upgrade, or a fresh install? Which OS? Installed via package? Generally this points to something during the startup not finishing, so you may want to scroll up well beyond the actual login attempt to see if something failed. I believe I saw this once when it couldn't find the cloud user's home (since it changed to /var/cloudstack/management) or wasn't owned/writable by cloud to set up ssh keys there, and maybe once during a botched DB upgrade. On Fri, Apr 12, 2013 at 7:57 AM, Paul Angus wrote: > Hi All, > > > > When I try to log in to the current build of CloudStack 4.1 I get an error > in the browser: > > > > The given command does not exist or it is not available for user > > > > The management-server.log shows: > > > > 2013-04-12 13:52:55,796 DEBUG [cloud.user.AccountManagerImpl] > (catalina-exec-18:null) Attempting to log in user: admin in domain 1 > > 2013-04-12 13:52:55,796 DEBUG [server.auth.MD5UserAuthenticator] > (catalina-exec-18:null) Retrieving user: admin > > 2013-04-12 13:52:55,803 DEBUG [cloud.user.AccountManagerImpl] > (catalina-exec-18:null) User: admin in domain 1 has successfully logged in > > 2013-04-12 13:52:55,822 DEBUG [cloud.api.ApiServlet] > (catalina-exec-18:null) ===END=== 10.0.1.31 -- POST null > > 2013-04-12 13:52:55,852 DEBUG [cloud.api.ApiServlet] > (catalina-exec-6:null) ===START=== 10.0.1.31 -- GET > command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024 > > 2013-04-12 13:52:55,858 DEBUG [cloud.api.ApiServer] (catalina-exec-6:null) > The given command:listCapabilities does not exist or it is not available > for user with id:2 > > 2013-04-12 13:52:55,859 DEBUG [cloud.api.ApiServlet] > (catalina-exec-6:null) ===END=== 10.0.1.31 -- GET > command=listCapabilities&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173024 > > 2013-04-12 13:52:55,889 DEBUG [cloud.api.ApiServlet] > (catalina-exec-7:null) ===START=== 10.0.1.31 -- GET > command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059 > > 2013-04-12 13:52:55,895 DEBUG [cloud.api.ApiServer] (catalina-exec-7:null) > The given command:listSwifts does not exist or it is not available for user > with id:2 > > 2013-04-12 13:52:55,896 DEBUG [cloud.api.ApiServlet] > (catalina-exec-7:null) ===END=== 10.0.1.31 -- GET > command=listSwifts&response=json&sessionkey=HCJMmPaamkJis00sLcGZ0CDZO7s%3D&_=1365771173059 > > > > Any ideas anyone? > > > > Regards > > > > Paul Angus > > *Senior Consultant / Cloud Architect* > > > > [image: cid:image002.png@01CE1071.C6CC9C10] > > > > S: +44 20 3603 0540 <+442036030540> | M: +4 <+447968161581>47711418784 > > paul.angus@shapeblue.com | > www.shapeblue.com | Twitter:@shapeblue > > ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS > > > This email and any attachments to it may be confidential and are intended > solely for the use of the individual to whom it is addressed. Any views or > opinions expressed are solely those of the author and do not necessarily > represent those of Shape Blue Ltd or related companies. If you are not the > intended recipient of this email, you must neither take any action based > upon its contents, nor copy or show it to anyone. Please contact the sender > if you believe you have received this email in error. Shape Blue Ltd is a > company incorporated in England & Wales. ShapeBlue Services India LLP is > operated under license from Shape Blue Ltd. ShapeBlue is a registered > trademark. > --089e011841a0cdc74804da2a7014--