You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Paul Angus <pa...@shapeblue.com> on 2013/04/12 15:57:27 UTC

The given command does not exist or it is not available for user

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

[cid:image002.png@01CE1071.C6CC9C10]

S: +44 20 3603 0540<tel:+442036030540> | M: +4<tel:+447968161581>47711418784
paul.angus@shapeblue.com<ma...@shapeblue.com> | www.shapeblue.com | Twitter:@shapeblue<https://twitter.com/>
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.

RE: The given command does not exist or it is not available for user

Posted by Sangeetha Hariharan <Sa...@citrix.com>.
I have seen this issue happen intermittently when the management server has not yet loaded all the components but we are able to access the management server UI.
At this point , when we log in , we are presented with " The given command does not exist or it is not available for user". 

But when you try to log in after few minutes (after the components loading is completed) , you will be able to log in successfully.

Is this the kind of issues you are facing?

2013-04-12 11:46:53,228 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.network.guru.OvsGuestNetworkGuru_EnhancerByCloudStack_d7cda260
2013-04-12 11:46:53,228 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.hypervisor.guru.VMwareGuru_EnhancerByCloudStack_4fd95e3d
2013-04-12 11:46:53,228 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.network.guru.StorageNetworkGuru_EnhancerByCloudStack_42e7a777
2013-04-12 11:46:53,228 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.network.element.MidoNetElement_EnhancerByCloudStack_c15799f2
2013-04-12 11:46:53,230 INFO  [network.element.MidoNetElement] (Timer-1:null) midonet API server address is  http://localhost:8081
2013-04-12 11:46:53,399 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===START===  10.217.252.128 -- POST  null
2013-04-12 11:46:53,419 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-19:null) Attempting to log in user: admin in domain 1
2013-04-12 11:46:53,419 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-19:null) Retrieving user: admin
2013-04-12 11:46:54,360 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-19:null) User: admin in domain 1 has successfully logged in
2013-04-12 11:46:54,410 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===END===  10.217.252.128 -- POST  null
2013-04-12 11:46:54,451 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===START===  10.217.252.128 -- GET  command=listCapabilities&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760278
2013-04-12 11:46:54,469 DEBUG [cloud.api.ApiServer] (catalina-exec-24:null) The given command:listCapabilities does not exist or it is not available for user with id:2
2013-04-12 11:46:54,497 DEBUG [cloud.api.ApiServlet] (catalina-exec-24:null) ===END===  10.217.252.128 -- GET  command=listCapabilities&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760278
2013-04-12 11:46:54,521 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) ===START===  10.217.252.128 -- GET  command=listSwifts&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760350
2013-04-12 11:46:54,530 DEBUG [cloud.api.ApiServer] (catalina-exec-5:null) The given command:listSwifts does not exist or it is not available for user with id:2
2013-04-12 11:46:54,533 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) ===END===  10.217.252.128 -- GET  command=listSwifts&response=json&sessionkey=Bqhd5Xu2xRt2Zy5pmcwSKJBNLrg%3D&_=1365792760350
2013-04-12 11:46:56,328 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring org.apache.cloudstack.storage.allocator.ClusterScopeStoragePoolAllocator_EnhancerByCloudStack_580b2575
2013-04-12 11:46:56,333 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring org.apache.cloudstack.storage.allocator.GarbageCollectingStoragePoolAllocator_EnhancerByCloudStack_f46bb5fa
2013-04-12 11:46:56,363 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring org.apache.cloudstack.acl.StaticRoleBasedAPIAccessChecker_EnhancerByCloudStack_cbfe3f69
2013-04-12 11:46:56,378 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.ha.KVMFencer_EnhancerByCloudStack_afa1b038
2013-04-12 11:46:56,378 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.network.element.VirtualRouterElement_EnhancerByCloudStack_5301d244
2013-04-12 11:46:56,378 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.ha.XenServerFencer_EnhancerByCloudStack_75828daa
2013-04-12 11:46:56,378 INFO  [utils.component.ComponentContext] (Timer-1:null) Configuring com.cloud.storage.secondary.SecondaryStorageVmDefaultAllocator_EnhancerByCloudStack_b44dce17

Thanks
Sangeetha

-----Original Message-----
From: rohityadav89@gmail.com [mailto:rohityadav89@gmail.com] On Behalf Of Rohit Yadav
Sent: Friday, April 12, 2013 10:51 AM
To: dev@cloudstack.apache.org
Subject: Re: The given command does not exist or it is not available for user

Probably an ACL issue, occurs when a user is trying to execute an API they are not allowed; or the API does not exist.

HTH.
On Apr 12, 2013 7:28 PM, "Paul Angus" <pa...@shapeblue.com> 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=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%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=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%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=HCJMmPaamkJis00sLcGZ0CDZO7
> s%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=HCJMmPaamkJis00sLcGZ0CDZO7
> s%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 <ge...@shapeblue.com> | 
> www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
>
> 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.
>

Re: The given command does not exist or it is not available for user

Posted by Rohit Yadav <bh...@apache.org>.
Probably an ACL issue, occurs when a user is trying to execute an API they
are not allowed; or the API does not exist.

HTH.
On Apr 12, 2013 7:28 PM, "Paul Angus" <pa...@shapeblue.com> 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 <ge...@shapeblue.com> |
> www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
>
> 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.
>

RE: The given command does not exist or it is not available for user

Posted by Paul Angus <pa...@shapeblue.com>.
Thanks,

I found the error earlier in the log. (long story involving changing ISP)

Cheers.

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Paul Angus [mailto:paul.angus@shapeblue.com]
Sent: 12 April 2013 16:01
To: dev@cloudstack.apache.org
Subject: RE: The given command does not exist or it is not available for user

Hi Marcus,

It was a clean install from an OSS build created from git pull of 4.1-SNAPSHOT this morning. The VM is CentOS 6.3.

I did see a previous post with a similar issue and so I checked /var/cloudstack/management - it does exist.

I'll look earlier in the log as you suggest...

(Thanks)

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Marcus Sorensen [mailto:shadowsor@gmail.com]
Sent: 12 April 2013 15:09
To: dev@cloudstack.apache.org
Subject: Re: The given command does not exist or it is not available for user

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 <pa...@shapeblue.com>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=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%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=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%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=HCJMmPaamkJis00sLcGZ0CDZO7
> s%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=HCJMmPaamkJis00sLcGZ0CDZO7
> s%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 <ge...@shapeblue.com> |
> www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
>
> 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.
>
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.


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.


RE: The given command does not exist or it is not available for user

Posted by Paul Angus <pa...@shapeblue.com>.
Hi Marcus,

It was a clean install from an OSS build created from git pull of 4.1-SNAPSHOT this morning. The VM is CentOS 6.3.

I did see a previous post with a similar issue and so I checked /var/cloudstack/management - it does exist.

I'll look earlier in the log as you suggest...

(Thanks)

Regards,

Paul Angus
S: +44 20 3603 0540 | M: +447711418784
paul.angus@shapeblue.com

-----Original Message-----
From: Marcus Sorensen [mailto:shadowsor@gmail.com]
Sent: 12 April 2013 15:09
To: dev@cloudstack.apache.org
Subject: Re: The given command does not exist or it is not available for user

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 <pa...@shapeblue.com>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=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%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=HCJMmPaamkJis00sLcGZ
> 0CDZO7s%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=HCJMmPaamkJis00sLcGZ0CDZO7
> s%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=HCJMmPaamkJis00sLcGZ0CDZO7
> s%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 <ge...@shapeblue.com> |
> www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
>
> 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.
>
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.


Re: The given command does not exist or it is not available for user

Posted by Marcus Sorensen <sh...@gmail.com>.
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 <pa...@shapeblue.com>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 <ge...@shapeblue.com> |
> www.shapeblue.com | Twitter:@shapeblue <https://twitter.com/>
>
> 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.
>