You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Davide Blasi <da...@infracom.it> on 2013/07/11 22:33:45 UTC

Problem logging in for the first time : Invalid username or password


Hi all,

I'm trying to setup cloudstack 4.1. 

I'm using a debian wheezy with ubuntu packages from : deb http://cloudstack.apt-get.eu/ubuntu precise 4.1

I think I have followed all steps in the html guide,
but when I try to login as admin/password for the first time it says: "invalid username or password"

This is what I can see in the log file :

2013-07-11 22:23:40,203 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null) ===START===  192.168.56.1 -- POST  null
2013-07-11 22:23:40,238 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-9:null) Attempting to log in user: admin in domain 1
2013-07-11 22:23:40,238 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-9:null) Retrieving user: admin
2013-07-11 22:23:40,257 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-9:null) Password does not match
2013-07-11 22:23:40,258 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-9:null) Retrieving user: admin
2013-07-11 22:23:40,275 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-9:null) LDAP authenticator is not configured.
2013-07-11 22:23:40,276 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-9:null) Retrieving user: admin
2013-07-11 22:23:40,281 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-9:null) Password does not match
2013-07-11 22:23:40,281 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-9:null) Unable to authenticate user with username admin in domain 1
2013-07-11 22:23:40,286 INFO  [cloud.user.AccountManagerImpl] (catalina-exec-9:null) User admin is disabled/locked
2013-07-11 22:23:40,286 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-9:null) User: admin in domain 1 has failed to log in
2013-07-11 22:23:40,299 DEBUG [cloud.api.ApiServlet] (catalina-exec-9:null) ===END===  192.168.56.1 -- POST  null

I tried to drop both cloud database and run again :
 
* cloudstack-setup-databases cloud:stack@localhost --deploy-as=root
and 
* cloudstack-setup-management

But I receive the same error.

What I'm  wrong ?

( sorry for my bad eng )

Dave






Re: Problem logging in for the first time : Invalid username or password

Posted by Tao Lin <li...@gmail.com>.
I had ran into the same problem too,and what I did is wait for a little
while.CS is somewhat confused because it allows you to log in while it's
not really ready to do so. Just wait for a little while until the log says
something like User admin is ready.


2013/7/12 Anton Rubets <pl...@gmail.com>

> I have some problems, because I don't check if my mysql base start. And
> check your mysql config :-)
> On Jul 11, 2013 11:34 PM, "Davide Blasi" <da...@infracom.it> wrote:
>
> >
> >
> > Hi all,
> >
> > I'm trying to setup cloudstack 4.1.
> >
> > I'm using a debian wheezy with ubuntu packages from : deb
> > http://cloudstack.apt-get.eu/ubuntu precise 4.1
> >
> > I think I have followed all steps in the html guide,
> > but when I try to login as admin/password for the first time it says:
> > "invalid username or password"
> >
> > This is what I can see in the log file :
> >
> > 2013-07-11 22:23:40,203 DEBUG [cloud.api.ApiServlet]
> > (catalina-exec-9:null) ===START===  192.168.56.1 -- POST  null
> > 2013-07-11 22:23:40,238 DEBUG [cloud.user.AccountManagerImpl]
> > (catalina-exec-9:null) Attempting to log in user: admin in domain 1
> > 2013-07-11 22:23:40,238 DEBUG [server.auth.MD5UserAuthenticator]
> > (catalina-exec-9:null) Retrieving user: admin
> > 2013-07-11 22:23:40,257 DEBUG [server.auth.MD5UserAuthenticator]
> > (catalina-exec-9:null) Password does not match
> > 2013-07-11 22:23:40,258 DEBUG [server.auth.LDAPUserAuthenticator]
> > (catalina-exec-9:null) Retrieving user: admin
> > 2013-07-11 22:23:40,275 DEBUG [server.auth.LDAPUserAuthenticator]
> > (catalina-exec-9:null) LDAP authenticator is not configured.
> > 2013-07-11 22:23:40,276 DEBUG [server.auth.PlainTextUserAuthenticator]
> > (catalina-exec-9:null) Retrieving user: admin
> > 2013-07-11 22:23:40,281 DEBUG [server.auth.PlainTextUserAuthenticator]
> > (catalina-exec-9:null) Password does not match
> > 2013-07-11 22:23:40,281 DEBUG [cloud.user.AccountManagerImpl]
> > (catalina-exec-9:null) Unable to authenticate user with username admin in
> > domain 1
> > 2013-07-11 22:23:40,286 INFO  [cloud.user.AccountManagerImpl]
> > (catalina-exec-9:null) User admin is disabled/locked
> > 2013-07-11 22:23:40,286 DEBUG [cloud.user.AccountManagerImpl]
> > (catalina-exec-9:null) User: admin in domain 1 has failed to log in
> > 2013-07-11 22:23:40,299 DEBUG [cloud.api.ApiServlet]
> > (catalina-exec-9:null) ===END===  192.168.56.1 -- POST  null
> >
> > I tried to drop both cloud database and run again :
> >
> > * cloudstack-setup-databases cloud:stack@localhost --deploy-as=root
> > and
> > * cloudstack-setup-management
> >
> > But I receive the same error.
> >
> > What I'm  wrong ?
> >
> > ( sorry for my bad eng )
> >
> > Dave
> >
> >
> >
> >
> >
> >
>

Re: Problem logging in for the first time : Invalid username or password

Posted by Anton Rubets <pl...@gmail.com>.
I have some problems, because I don't check if my mysql base start. And
check your mysql config :-)
On Jul 11, 2013 11:34 PM, "Davide Blasi" <da...@infracom.it> wrote:

>
>
> Hi all,
>
> I'm trying to setup cloudstack 4.1.
>
> I'm using a debian wheezy with ubuntu packages from : deb
> http://cloudstack.apt-get.eu/ubuntu precise 4.1
>
> I think I have followed all steps in the html guide,
> but when I try to login as admin/password for the first time it says:
> "invalid username or password"
>
> This is what I can see in the log file :
>
> 2013-07-11 22:23:40,203 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-9:null) ===START===  192.168.56.1 -- POST  null
> 2013-07-11 22:23:40,238 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-9:null) Attempting to log in user: admin in domain 1
> 2013-07-11 22:23:40,238 DEBUG [server.auth.MD5UserAuthenticator]
> (catalina-exec-9:null) Retrieving user: admin
> 2013-07-11 22:23:40,257 DEBUG [server.auth.MD5UserAuthenticator]
> (catalina-exec-9:null) Password does not match
> 2013-07-11 22:23:40,258 DEBUG [server.auth.LDAPUserAuthenticator]
> (catalina-exec-9:null) Retrieving user: admin
> 2013-07-11 22:23:40,275 DEBUG [server.auth.LDAPUserAuthenticator]
> (catalina-exec-9:null) LDAP authenticator is not configured.
> 2013-07-11 22:23:40,276 DEBUG [server.auth.PlainTextUserAuthenticator]
> (catalina-exec-9:null) Retrieving user: admin
> 2013-07-11 22:23:40,281 DEBUG [server.auth.PlainTextUserAuthenticator]
> (catalina-exec-9:null) Password does not match
> 2013-07-11 22:23:40,281 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-9:null) Unable to authenticate user with username admin in
> domain 1
> 2013-07-11 22:23:40,286 INFO  [cloud.user.AccountManagerImpl]
> (catalina-exec-9:null) User admin is disabled/locked
> 2013-07-11 22:23:40,286 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-9:null) User: admin in domain 1 has failed to log in
> 2013-07-11 22:23:40,299 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-9:null) ===END===  192.168.56.1 -- POST  null
>
> I tried to drop both cloud database and run again :
>
> * cloudstack-setup-databases cloud:stack@localhost --deploy-as=root
> and
> * cloudstack-setup-management
>
> But I receive the same error.
>
> What I'm  wrong ?
>
> ( sorry for my bad eng )
>
> Dave
>
>
>
>
>
>