You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Karthi Keyan <ka...@gmail.com> on 2013/10/08 23:07:05 UTC
Unable to Login into UI in CS-4.2
Hi All,
I have installed Cloudstack-4.2 in centOS-6.3. The installation went
successful. But after that i cannot able to LOGIN in UI.
Username: admin
Password: password
When i click login button it throws this error,
*
*
*Invalid username or password
*
If i click the Login button again, then it throws this error,
*
*
*Unable to reach management server.
*
The cloudstack-management service is getting stopped, whenever i try to
login into UI*
*
Log Entries:
*
*
*$ tail -f /var/log/cloudstack/management/management-server.log*
2013-10-09 02:22:40,672 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null)
===START=== 10.14.114.205 -- POST
2013-10-09 02:22:42,832 DEBUG [cloud.user.AccountManagerImpl]
(catalina-exec-2:null) Attempting to log in user: admin in domain 1
2013-10-09 02:22:42,836 DEBUG [server.auth.SHA256SaltedUserAuthenticator]
(catalina-exec-2:null) Retrieving user: admin
2013-10-09 02:22:44,011 WARN [server.auth.SHA256SaltedUserAuthenticator]
(catalina-exec-2:null) The stored password for admin isn't in the right
format for this authenticator
2013-10-09 02:22:49,397 DEBUG [server.auth.MD5UserAuthenticator]
(catalina-exec-2:null) Retrieving user: admin
2013-10-09 02:22:51,501 DEBUG [server.auth.MD5UserAuthenticator]
(catalina-exec-2:null) Password does not match
2013-10-09 02:22:51,612 DEBUG [server.auth.LDAPUserAuthenticator]
(catalina-exec-2:null) Retrieving user: admin
2013-10-09 02:22:54,590 DEBUG [server.auth.LDAPUserAuthenticator]
(catalina-exec-2:null) LDAP authenticator is not configured.
2013-10-09 02:22:54,632 DEBUG [server.auth.PlainTextUserAuthenticator]
(catalina-exec-2:null) Retrieving user: admin
2013-10-09 02:22:55,698 DEBUG [server.auth.PlainTextUserAuthenticator]
(catalina-exec-2:null) Password does not match
2013-10-09 02:22:55,717 DEBUG [cloud.user.AccountManagerImpl]
(catalina-exec-2:null) Unable to authenticate user with username admin in
domain 1
2013-10-09 02:22:56,736 INFO [cloud.user.AccountManagerImpl]
(catalina-exec-2:null) User admin is disabled/locked
2013-10-09 02:22:56,741 DEBUG [cloud.user.AccountManagerImpl]
(catalina-exec-2:null) User: admin in domain 1 has failed to log in
2013-10-09 02:22:57,036 DEBUG [cloud.api.ApiServlet] (catalina-exec-2:null)
===END=== 10.14.114.205 -- POST
I have tried re-installing both *CentOS-6.3* and *CS-4.2* also, but it
didnt work, same errors.
Can anyone help me to solve this issue ?
Regards,
Karthikeyan
Re: Unable to Login into UI in CS-4.2
Posted by Karthi Keyan <ka...@gmail.com>.
Hi Geoff,
You are correct. Before i have given 1024MB(*1 GB*) of RAM and it didn't
work.
Now i have given 2100MB( More than *2 GB*) of RAM, and i reconstructed the
databases and now its working fine :)
I can able to LOGIN without any issues.
I will update the JIRA as well.
https://issues.apache.org/jira/browse/CLOUDSTACK-4837
Thanks a lot guys :)
Regards,
Karthikeyan
On Wed, Oct 9, 2013 at 11:52 AM, Geoff Higginbottom <
geoff.higginbottom@shapeblue.com> wrote:
> Karthikeyan,
>
> How much RAM does the CloudStack server have, I've found that with 4.2, if
> you anything less then 2GB it fails to complete the DB deployment so you
> cannot login.
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
>
> D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603
> 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>
>
> geoff.higginbottom@shapeblue.com<ma...@shapeblue.com>
> | www.shapeblue.com
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
>
> On 9 Oct 2013, at 04:40, "Karthi Keyan" <karthik.cbe5@gmail.com<mailto:
> karthik.cbe5@gmail.com>> wrote:
>
> Karthikeyan
> 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 a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> registered trademark.
>
Re: Unable to Login into UI in CS-4.2
Posted by Geoff Higginbottom <ge...@shapeblue.com>.
Karthikeyan,
How much RAM does the CloudStack server have, I've found that with 4.2, if you anything less then 2GB it fails to complete the DB deployment so you cannot login.
Regards
Geoff Higginbottom
CTO / Cloud Architect
D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>
geoff.higginbottom@shapeblue.com<ma...@shapeblue.com> | www.shapeblue.com
ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
On 9 Oct 2013, at 04:40, "Karthi Keyan" <ka...@gmail.com>> wrote:
Karthikeyan
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 a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: Unable to Login into UI in CS-4.2
Posted by Karthi Keyan <ka...@gmail.com>.
Hi Nitin,
I have already tried installing 3 times, but it didn't work. I'm getting
the same error.
Anyhow i will do again on separate instance, if it is not working then i
will come with complete logs :)
@Alena I have updated the DB, but it didn't work.
*mysql> update user set state='enabled' where id=2; *
*Query OK, 1 row affected (0.00 sec) *
*mysql> select * from user;*
+----+--------------------------------------+----------+-------------------+------------+-----------+----------+-------+---------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+
| id | uuid | username | password
| account_id | firstname | lastname | email | state | api_key |
secret_key | created | removed | timezone | registration_token
| is_registered | incorrect_login_attempts |
+----+--------------------------------------+----------+-------------------+------------+-----------+----------+-------+---------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+
| 1 | aa8bcc98-3068-11e3-8747-000c2957f30f | system | 0.910423140889428
| 1 | system | cloud | NULL | enabled | NULL | NULL
| 2013-10-09 03:56:24 | NULL | NULL | NULL |
0 | 0 | | 2 |
aa8daff4-3068-11e3-8747-000c2957f30f | admin | password |
2 | admin | cloud | NULL | *enabled* | NULL | NULL |
2013-10-09 03:56:24 | NULL | NULL | NULL |
0 | 0 |
+----+--------------------------------------+----------+-------------------+------------+-----------+----------+-------+---------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+
2 rows in set (0.00 sec)
Then, have updated the* 'admin' *password,
*mysql> update user set password='password' where id=2;*
But still not working!
Am i Updating DB in wrong way ?
Opened JIRA for the same
https://issues.apache.org/jira/browse/CLOUDSTACK-4837
Thanks,
Karthikeyan
On Wed, Oct 9, 2013 at 7:30 AM, Nitin Mehta <Ni...@citrix.com> wrote:
> Can you also try and paste the complete logs somewhere and post the link
> here - to trace if something went wrong before ?
> Just retry doing it all over again and see if you face the issue again.
>
> On 08/10/13 6:48 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
>
> >Alena, Sure i will raise the Jira. And will try updating DB and get back.
> >
> >
> >
> >Thanks,
> >Karthikeyan
> >
> >
> >On Wed, Oct 9, 2013 at 7:13 AM, Alena Prokharchyk <
> >Alena.Prokharchyk@citrix.com> wrote:
> >
> >> On 10/8/13 6:39 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
> >>
> >> >Hi Alena,
> >> >
> >> >It is a fresh installation.
> >> >
> >> >Thanks,
> >> >Karthikeyan
> >>
> >>
> >> Karthikeyan, can you please raise a Jira ticket with Blocker priority?
> >>To
> >> fix your setup, just update the DB - mark the user as enabled.
> >>
> >> -Alena.
> >>
> >> >
> >> >
> >> >
> >> >
> >> >On Wed, Oct 9, 2013 at 5:26 AM, Alena Prokharchyk <
> >> >Alena.Prokharchyk@citrix.com> wrote:
> >> >
> >> >> Sounds like a bug to me. Is it a fresh install, or upgraded? System
> >>and
> >> >> Admin users should be enabled by default.
> >> >>
> >> >> -Alena.
> >> >>
> >> >> On 10/8/13 3:52 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
> >> >>
> >> >> >Hi All,
> >> >> >
> >> >> >In management database i found this info,
> >> >> >
> >> >> >mysql> use cloud
> >> >> >mysql> select * from user;
> >> >>
> >>
> >>>>>+----+--------------------------------------+----------+--------------
> >>>>>--
> >> >>>--
> >> >>
> >>
> >>>>>-+------------+-----------+----------+-------+----------+---------+---
> >>>>>--
> >> >>>--
> >> >>
> >>
> >>>>>-----+---------------------+---------+----------+--------------------+
> >>>>>--
> >> >>>--
> >> >> >-----------+--------------------------+
> >> >> >| id | uuid | username | password
> >> >> >| account_id | firstname | lastname | email | state | api_key |
> >> >> >secret_key | created | removed | timezone |
> >> >>registration_token
> >> >> >| is_registered | incorrect_login_attempts |
> >> >>
> >>
> >>>>>+----+--------------------------------------+----------+--------------
> >>>>>--
> >> >>>--
> >> >>
> >>
> >>>>>-+------------+-----------+----------+-------+----------+---------+---
> >>>>>--
> >> >>>--
> >> >>
> >>
> >>>>>-----+---------------------+---------+----------+--------------------+
> >>>>>--
> >> >>>--
> >> >> >-----------+--------------------------+
> >> >> >| 1 | aa8bcc98-3068-11e3-8747-000c2957f30f | system |
> >> >> >*0.910423140889428*| 1 | system | cloud | NULL |
> >> >> >*enabled * | NULL | NULL | 2013-10-09 03:56:24 | NULL |
> >> >> >NULL | NULL | 0 |
> >> >>0 |
> >> >> >| 2 | aa8daff4-3068-11e3-8747-000c2957f30f | admin |*
> >> >> >0.811178035858253*| 2 | admin | cloud | NULL |
> >> >> >* disabled* | NULL | NULL | 2013-10-09 03:56:24 | NULL |
> >> >> >NULL | NULL | 0 |
> >> >>0 |
> >> >>
> >>
> >>>>>+----+--------------------------------------+----------+--------------
> >>>>>--
> >> >>>--
> >> >>
> >>
> >>>>>-+------------+-----------+----------+-------+----------+---------+---
> >>>>>--
> >> >>>--
> >> >>
> >>
> >>>>>-----+---------------------+---------+----------+--------------------+
> >>>>>--
> >> >>>--
> >> >> >-----------+--------------------------+
> >> >> >
> >> >> >For admin user, it is showing *disabled* state.
> >> >> >
> >> >> >I have no idea on this :(
> >> >> >
> >> >> >Regards,
> >> >> >Karthikeyan
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >On Wed, Oct 9, 2013 at 2:37 AM, Karthi Keyan
> >><ka...@gmail.com>
> >> >> >wrote:
> >> >> >
> >> >> >> Hi All,
> >> >> >>
> >> >> >> I have installed Cloudstack-4.2 in centOS-6.3. The installation
> >>went
> >> >> >> successful. But after that i cannot able to LOGIN in UI.
> >> >> >>
> >> >> >> Username: admin
> >> >> >> Password: password
> >> >> >>
> >> >> >> When i click login button it throws this error,
> >> >> >> *
> >> >> >> *
> >> >> >> *Invalid username or password
> >> >> >>
> >> >> >> *
> >> >> >> If i click the Login button again, then it throws this error,
> >> >> >> *
> >> >> >> *
> >> >> >> *Unable to reach management server.
> >> >> >> *
> >> >> >> The cloudstack-management service is getting stopped, whenever i
> >>try
> >> >>to
> >> >> >> login into UI*
> >> >> >> *
> >> >> >>
> >> >> >> Log Entries:
> >> >> >> *
> >> >> >> *
> >> >> >> *$ tail -f /var/log/cloudstack/management/management-server.log*
> >> >> >>
> >> >> >> 2013-10-09 02:22:40,672 DEBUG [cloud.api.ApiServlet]
> >> >> >> (catalina-exec-2:null) ===START=== 10.14.114.205 -- POST
> >> >> >> 2013-10-09 02:22:42,832 DEBUG [cloud.user.AccountManagerImpl]
> >> >> >> (catalina-exec-2:null) Attempting to log in user: admin in domain
> >>1
> >> >> >> 2013-10-09 02:22:42,836 DEBUG
> >> >> >>[server.auth.SHA256SaltedUserAuthenticator]
> >> >> >> (catalina-exec-2:null) Retrieving user: admin
> >> >> >> 2013-10-09 02:22:44,011 WARN
> >> >> >>[server.auth.SHA256SaltedUserAuthenticator]
> >> >> >> (catalina-exec-2:null) The stored password for admin isn't in the
> >> >>right
> >> >> >> format for this authenticator
> >> >> >> 2013-10-09 02:22:49,397 DEBUG [server.auth.MD5UserAuthenticator]
> >> >> >> (catalina-exec-2:null) Retrieving user: admin
> >> >> >> 2013-10-09 02:22:51,501 DEBUG [server.auth.MD5UserAuthenticator]
> >> >> >> (catalina-exec-2:null) Password does not match
> >> >> >> 2013-10-09 02:22:51,612 DEBUG [server.auth.LDAPUserAuthenticator]
> >> >> >> (catalina-exec-2:null) Retrieving user: admin
> >> >> >> 2013-10-09 02:22:54,590 DEBUG [server.auth.LDAPUserAuthenticator]
> >> >> >> (catalina-exec-2:null) LDAP authenticator is not configured.
> >> >> >> 2013-10-09 02:22:54,632 DEBUG
> >> >>[server.auth.PlainTextUserAuthenticator]
> >> >> >> (catalina-exec-2:null) Retrieving user: admin
> >> >> >> 2013-10-09 02:22:55,698 DEBUG
> >> >>[server.auth.PlainTextUserAuthenticator]
> >> >> >> (catalina-exec-2:null) Password does not match
> >> >> >> 2013-10-09 02:22:55,717 DEBUG [cloud.user.AccountManagerImpl]
> >> >> >> (catalina-exec-2:null) Unable to authenticate user with username
> >> >>admin
> >> >> >>in
> >> >> >> domain 1
> >> >> >> 2013-10-09 02:22:56,736 INFO [cloud.user.AccountManagerImpl]
> >> >> >> (catalina-exec-2:null) User admin is disabled/locked
> >> >> >> 2013-10-09 02:22:56,741 DEBUG [cloud.user.AccountManagerImpl]
> >> >> >> (catalina-exec-2:null) User: admin in domain 1 has failed to log
> >>in
> >> >> >> 2013-10-09 02:22:57,036 DEBUG [cloud.api.ApiServlet]
> >> >> >> (catalina-exec-2:null) ===END=== 10.14.114.205 -- POST
> >> >> >>
> >> >> >>
> >> >> >> I have tried re-installing both *CentOS-6.3* and *CS-4.2* also,
> >>but
> >> >>it
> >> >> >> didnt work, same errors.
> >> >> >>
> >> >> >> Can anyone help me to solve this issue ?
> >> >> >>
> >> >> >> Regards,
> >> >> >> Karthikeyan
> >> >> >>
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >
> >>
> >>
> >>
>
>
Re: Unable to Login into UI in CS-4.2
Posted by Nitin Mehta <Ni...@citrix.com>.
Can you also try and paste the complete logs somewhere and post the link
here - to trace if something went wrong before ?
Just retry doing it all over again and see if you face the issue again.
On 08/10/13 6:48 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
>Alena, Sure i will raise the Jira. And will try updating DB and get back.
>
>
>
>Thanks,
>Karthikeyan
>
>
>On Wed, Oct 9, 2013 at 7:13 AM, Alena Prokharchyk <
>Alena.Prokharchyk@citrix.com> wrote:
>
>> On 10/8/13 6:39 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
>>
>> >Hi Alena,
>> >
>> >It is a fresh installation.
>> >
>> >Thanks,
>> >Karthikeyan
>>
>>
>> Karthikeyan, can you please raise a Jira ticket with Blocker priority?
>>To
>> fix your setup, just update the DB - mark the user as enabled.
>>
>> -Alena.
>>
>> >
>> >
>> >
>> >
>> >On Wed, Oct 9, 2013 at 5:26 AM, Alena Prokharchyk <
>> >Alena.Prokharchyk@citrix.com> wrote:
>> >
>> >> Sounds like a bug to me. Is it a fresh install, or upgraded? System
>>and
>> >> Admin users should be enabled by default.
>> >>
>> >> -Alena.
>> >>
>> >> On 10/8/13 3:52 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
>> >>
>> >> >Hi All,
>> >> >
>> >> >In management database i found this info,
>> >> >
>> >> >mysql> use cloud
>> >> >mysql> select * from user;
>> >>
>>
>>>>>+----+--------------------------------------+----------+--------------
>>>>>--
>> >>>--
>> >>
>>
>>>>>-+------------+-----------+----------+-------+----------+---------+---
>>>>>--
>> >>>--
>> >>
>>
>>>>>-----+---------------------+---------+----------+--------------------+
>>>>>--
>> >>>--
>> >> >-----------+--------------------------+
>> >> >| id | uuid | username | password
>> >> >| account_id | firstname | lastname | email | state | api_key |
>> >> >secret_key | created | removed | timezone |
>> >>registration_token
>> >> >| is_registered | incorrect_login_attempts |
>> >>
>>
>>>>>+----+--------------------------------------+----------+--------------
>>>>>--
>> >>>--
>> >>
>>
>>>>>-+------------+-----------+----------+-------+----------+---------+---
>>>>>--
>> >>>--
>> >>
>>
>>>>>-----+---------------------+---------+----------+--------------------+
>>>>>--
>> >>>--
>> >> >-----------+--------------------------+
>> >> >| 1 | aa8bcc98-3068-11e3-8747-000c2957f30f | system |
>> >> >*0.910423140889428*| 1 | system | cloud | NULL |
>> >> >*enabled * | NULL | NULL | 2013-10-09 03:56:24 | NULL |
>> >> >NULL | NULL | 0 |
>> >>0 |
>> >> >| 2 | aa8daff4-3068-11e3-8747-000c2957f30f | admin |*
>> >> >0.811178035858253*| 2 | admin | cloud | NULL |
>> >> >* disabled* | NULL | NULL | 2013-10-09 03:56:24 | NULL |
>> >> >NULL | NULL | 0 |
>> >>0 |
>> >>
>>
>>>>>+----+--------------------------------------+----------+--------------
>>>>>--
>> >>>--
>> >>
>>
>>>>>-+------------+-----------+----------+-------+----------+---------+---
>>>>>--
>> >>>--
>> >>
>>
>>>>>-----+---------------------+---------+----------+--------------------+
>>>>>--
>> >>>--
>> >> >-----------+--------------------------+
>> >> >
>> >> >For admin user, it is showing *disabled* state.
>> >> >
>> >> >I have no idea on this :(
>> >> >
>> >> >Regards,
>> >> >Karthikeyan
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >On Wed, Oct 9, 2013 at 2:37 AM, Karthi Keyan
>><ka...@gmail.com>
>> >> >wrote:
>> >> >
>> >> >> Hi All,
>> >> >>
>> >> >> I have installed Cloudstack-4.2 in centOS-6.3. The installation
>>went
>> >> >> successful. But after that i cannot able to LOGIN in UI.
>> >> >>
>> >> >> Username: admin
>> >> >> Password: password
>> >> >>
>> >> >> When i click login button it throws this error,
>> >> >> *
>> >> >> *
>> >> >> *Invalid username or password
>> >> >>
>> >> >> *
>> >> >> If i click the Login button again, then it throws this error,
>> >> >> *
>> >> >> *
>> >> >> *Unable to reach management server.
>> >> >> *
>> >> >> The cloudstack-management service is getting stopped, whenever i
>>try
>> >>to
>> >> >> login into UI*
>> >> >> *
>> >> >>
>> >> >> Log Entries:
>> >> >> *
>> >> >> *
>> >> >> *$ tail -f /var/log/cloudstack/management/management-server.log*
>> >> >>
>> >> >> 2013-10-09 02:22:40,672 DEBUG [cloud.api.ApiServlet]
>> >> >> (catalina-exec-2:null) ===START=== 10.14.114.205 -- POST
>> >> >> 2013-10-09 02:22:42,832 DEBUG [cloud.user.AccountManagerImpl]
>> >> >> (catalina-exec-2:null) Attempting to log in user: admin in domain
>>1
>> >> >> 2013-10-09 02:22:42,836 DEBUG
>> >> >>[server.auth.SHA256SaltedUserAuthenticator]
>> >> >> (catalina-exec-2:null) Retrieving user: admin
>> >> >> 2013-10-09 02:22:44,011 WARN
>> >> >>[server.auth.SHA256SaltedUserAuthenticator]
>> >> >> (catalina-exec-2:null) The stored password for admin isn't in the
>> >>right
>> >> >> format for this authenticator
>> >> >> 2013-10-09 02:22:49,397 DEBUG [server.auth.MD5UserAuthenticator]
>> >> >> (catalina-exec-2:null) Retrieving user: admin
>> >> >> 2013-10-09 02:22:51,501 DEBUG [server.auth.MD5UserAuthenticator]
>> >> >> (catalina-exec-2:null) Password does not match
>> >> >> 2013-10-09 02:22:51,612 DEBUG [server.auth.LDAPUserAuthenticator]
>> >> >> (catalina-exec-2:null) Retrieving user: admin
>> >> >> 2013-10-09 02:22:54,590 DEBUG [server.auth.LDAPUserAuthenticator]
>> >> >> (catalina-exec-2:null) LDAP authenticator is not configured.
>> >> >> 2013-10-09 02:22:54,632 DEBUG
>> >>[server.auth.PlainTextUserAuthenticator]
>> >> >> (catalina-exec-2:null) Retrieving user: admin
>> >> >> 2013-10-09 02:22:55,698 DEBUG
>> >>[server.auth.PlainTextUserAuthenticator]
>> >> >> (catalina-exec-2:null) Password does not match
>> >> >> 2013-10-09 02:22:55,717 DEBUG [cloud.user.AccountManagerImpl]
>> >> >> (catalina-exec-2:null) Unable to authenticate user with username
>> >>admin
>> >> >>in
>> >> >> domain 1
>> >> >> 2013-10-09 02:22:56,736 INFO [cloud.user.AccountManagerImpl]
>> >> >> (catalina-exec-2:null) User admin is disabled/locked
>> >> >> 2013-10-09 02:22:56,741 DEBUG [cloud.user.AccountManagerImpl]
>> >> >> (catalina-exec-2:null) User: admin in domain 1 has failed to log
>>in
>> >> >> 2013-10-09 02:22:57,036 DEBUG [cloud.api.ApiServlet]
>> >> >> (catalina-exec-2:null) ===END=== 10.14.114.205 -- POST
>> >> >>
>> >> >>
>> >> >> I have tried re-installing both *CentOS-6.3* and *CS-4.2* also,
>>but
>> >>it
>> >> >> didnt work, same errors.
>> >> >>
>> >> >> Can anyone help me to solve this issue ?
>> >> >>
>> >> >> Regards,
>> >> >> Karthikeyan
>> >> >>
>> >> >
>> >>
>> >>
>> >>
>> >
>>
>>
>>
Re: Unable to Login into UI in CS-4.2
Posted by Karthi Keyan <ka...@gmail.com>.
Alena, Sure i will raise the Jira. And will try updating DB and get back.
Thanks,
Karthikeyan
On Wed, Oct 9, 2013 at 7:13 AM, Alena Prokharchyk <
Alena.Prokharchyk@citrix.com> wrote:
> On 10/8/13 6:39 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
>
> >Hi Alena,
> >
> >It is a fresh installation.
> >
> >Thanks,
> >Karthikeyan
>
>
> Karthikeyan, can you please raise a Jira ticket with Blocker priority? To
> fix your setup, just update the DB - mark the user as enabled.
>
> -Alena.
>
> >
> >
> >
> >
> >On Wed, Oct 9, 2013 at 5:26 AM, Alena Prokharchyk <
> >Alena.Prokharchyk@citrix.com> wrote:
> >
> >> Sounds like a bug to me. Is it a fresh install, or upgraded? System and
> >> Admin users should be enabled by default.
> >>
> >> -Alena.
> >>
> >> On 10/8/13 3:52 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
> >>
> >> >Hi All,
> >> >
> >> >In management database i found this info,
> >> >
> >> >mysql> use cloud
> >> >mysql> select * from user;
> >>
> >>>+----+--------------------------------------+----------+----------------
> >>>--
> >>
> >>>-+------------+-----------+----------+-------+----------+---------+-----
> >>>--
> >>
> >>>-----+---------------------+---------+----------+--------------------+--
> >>>--
> >> >-----------+--------------------------+
> >> >| id | uuid | username | password
> >> >| account_id | firstname | lastname | email | state | api_key |
> >> >secret_key | created | removed | timezone |
> >>registration_token
> >> >| is_registered | incorrect_login_attempts |
> >>
> >>>+----+--------------------------------------+----------+----------------
> >>>--
> >>
> >>>-+------------+-----------+----------+-------+----------+---------+-----
> >>>--
> >>
> >>>-----+---------------------+---------+----------+--------------------+--
> >>>--
> >> >-----------+--------------------------+
> >> >| 1 | aa8bcc98-3068-11e3-8747-000c2957f30f | system |
> >> >*0.910423140889428*| 1 | system | cloud | NULL |
> >> >*enabled * | NULL | NULL | 2013-10-09 03:56:24 | NULL |
> >> >NULL | NULL | 0 |
> >>0 |
> >> >| 2 | aa8daff4-3068-11e3-8747-000c2957f30f | admin |*
> >> >0.811178035858253*| 2 | admin | cloud | NULL |
> >> >* disabled* | NULL | NULL | 2013-10-09 03:56:24 | NULL |
> >> >NULL | NULL | 0 |
> >>0 |
> >>
> >>>+----+--------------------------------------+----------+----------------
> >>>--
> >>
> >>>-+------------+-----------+----------+-------+----------+---------+-----
> >>>--
> >>
> >>>-----+---------------------+---------+----------+--------------------+--
> >>>--
> >> >-----------+--------------------------+
> >> >
> >> >For admin user, it is showing *disabled* state.
> >> >
> >> >I have no idea on this :(
> >> >
> >> >Regards,
> >> >Karthikeyan
> >> >
> >> >
> >> >
> >> >
> >> >On Wed, Oct 9, 2013 at 2:37 AM, Karthi Keyan <ka...@gmail.com>
> >> >wrote:
> >> >
> >> >> Hi All,
> >> >>
> >> >> I have installed Cloudstack-4.2 in centOS-6.3. The installation went
> >> >> successful. But after that i cannot able to LOGIN in UI.
> >> >>
> >> >> Username: admin
> >> >> Password: password
> >> >>
> >> >> When i click login button it throws this error,
> >> >> *
> >> >> *
> >> >> *Invalid username or password
> >> >>
> >> >> *
> >> >> If i click the Login button again, then it throws this error,
> >> >> *
> >> >> *
> >> >> *Unable to reach management server.
> >> >> *
> >> >> The cloudstack-management service is getting stopped, whenever i try
> >>to
> >> >> login into UI*
> >> >> *
> >> >>
> >> >> Log Entries:
> >> >> *
> >> >> *
> >> >> *$ tail -f /var/log/cloudstack/management/management-server.log*
> >> >>
> >> >> 2013-10-09 02:22:40,672 DEBUG [cloud.api.ApiServlet]
> >> >> (catalina-exec-2:null) ===START=== 10.14.114.205 -- POST
> >> >> 2013-10-09 02:22:42,832 DEBUG [cloud.user.AccountManagerImpl]
> >> >> (catalina-exec-2:null) Attempting to log in user: admin in domain 1
> >> >> 2013-10-09 02:22:42,836 DEBUG
> >> >>[server.auth.SHA256SaltedUserAuthenticator]
> >> >> (catalina-exec-2:null) Retrieving user: admin
> >> >> 2013-10-09 02:22:44,011 WARN
> >> >>[server.auth.SHA256SaltedUserAuthenticator]
> >> >> (catalina-exec-2:null) The stored password for admin isn't in the
> >>right
> >> >> format for this authenticator
> >> >> 2013-10-09 02:22:49,397 DEBUG [server.auth.MD5UserAuthenticator]
> >> >> (catalina-exec-2:null) Retrieving user: admin
> >> >> 2013-10-09 02:22:51,501 DEBUG [server.auth.MD5UserAuthenticator]
> >> >> (catalina-exec-2:null) Password does not match
> >> >> 2013-10-09 02:22:51,612 DEBUG [server.auth.LDAPUserAuthenticator]
> >> >> (catalina-exec-2:null) Retrieving user: admin
> >> >> 2013-10-09 02:22:54,590 DEBUG [server.auth.LDAPUserAuthenticator]
> >> >> (catalina-exec-2:null) LDAP authenticator is not configured.
> >> >> 2013-10-09 02:22:54,632 DEBUG
> >>[server.auth.PlainTextUserAuthenticator]
> >> >> (catalina-exec-2:null) Retrieving user: admin
> >> >> 2013-10-09 02:22:55,698 DEBUG
> >>[server.auth.PlainTextUserAuthenticator]
> >> >> (catalina-exec-2:null) Password does not match
> >> >> 2013-10-09 02:22:55,717 DEBUG [cloud.user.AccountManagerImpl]
> >> >> (catalina-exec-2:null) Unable to authenticate user with username
> >>admin
> >> >>in
> >> >> domain 1
> >> >> 2013-10-09 02:22:56,736 INFO [cloud.user.AccountManagerImpl]
> >> >> (catalina-exec-2:null) User admin is disabled/locked
> >> >> 2013-10-09 02:22:56,741 DEBUG [cloud.user.AccountManagerImpl]
> >> >> (catalina-exec-2:null) User: admin in domain 1 has failed to log in
> >> >> 2013-10-09 02:22:57,036 DEBUG [cloud.api.ApiServlet]
> >> >> (catalina-exec-2:null) ===END=== 10.14.114.205 -- POST
> >> >>
> >> >>
> >> >> I have tried re-installing both *CentOS-6.3* and *CS-4.2* also, but
> >>it
> >> >> didnt work, same errors.
> >> >>
> >> >> Can anyone help me to solve this issue ?
> >> >>
> >> >> Regards,
> >> >> Karthikeyan
> >> >>
> >> >
> >>
> >>
> >>
> >
>
>
>
Re: Unable to Login into UI in CS-4.2
Posted by Alena Prokharchyk <Al...@citrix.com>.
On 10/8/13 6:39 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
>Hi Alena,
>
>It is a fresh installation.
>
>Thanks,
>Karthikeyan
Karthikeyan, can you please raise a Jira ticket with Blocker priority? To
fix your setup, just update the DB - mark the user as enabled.
-Alena.
>
>
>
>
>On Wed, Oct 9, 2013 at 5:26 AM, Alena Prokharchyk <
>Alena.Prokharchyk@citrix.com> wrote:
>
>> Sounds like a bug to me. Is it a fresh install, or upgraded? System and
>> Admin users should be enabled by default.
>>
>> -Alena.
>>
>> On 10/8/13 3:52 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
>>
>> >Hi All,
>> >
>> >In management database i found this info,
>> >
>> >mysql> use cloud
>> >mysql> select * from user;
>>
>>>+----+--------------------------------------+----------+----------------
>>>--
>>
>>>-+------------+-----------+----------+-------+----------+---------+-----
>>>--
>>
>>>-----+---------------------+---------+----------+--------------------+--
>>>--
>> >-----------+--------------------------+
>> >| id | uuid | username | password
>> >| account_id | firstname | lastname | email | state | api_key |
>> >secret_key | created | removed | timezone |
>>registration_token
>> >| is_registered | incorrect_login_attempts |
>>
>>>+----+--------------------------------------+----------+----------------
>>>--
>>
>>>-+------------+-----------+----------+-------+----------+---------+-----
>>>--
>>
>>>-----+---------------------+---------+----------+--------------------+--
>>>--
>> >-----------+--------------------------+
>> >| 1 | aa8bcc98-3068-11e3-8747-000c2957f30f | system |
>> >*0.910423140889428*| 1 | system | cloud | NULL |
>> >*enabled * | NULL | NULL | 2013-10-09 03:56:24 | NULL |
>> >NULL | NULL | 0 |
>>0 |
>> >| 2 | aa8daff4-3068-11e3-8747-000c2957f30f | admin |*
>> >0.811178035858253*| 2 | admin | cloud | NULL |
>> >* disabled* | NULL | NULL | 2013-10-09 03:56:24 | NULL |
>> >NULL | NULL | 0 |
>>0 |
>>
>>>+----+--------------------------------------+----------+----------------
>>>--
>>
>>>-+------------+-----------+----------+-------+----------+---------+-----
>>>--
>>
>>>-----+---------------------+---------+----------+--------------------+--
>>>--
>> >-----------+--------------------------+
>> >
>> >For admin user, it is showing *disabled* state.
>> >
>> >I have no idea on this :(
>> >
>> >Regards,
>> >Karthikeyan
>> >
>> >
>> >
>> >
>> >On Wed, Oct 9, 2013 at 2:37 AM, Karthi Keyan <ka...@gmail.com>
>> >wrote:
>> >
>> >> Hi All,
>> >>
>> >> I have installed Cloudstack-4.2 in centOS-6.3. The installation went
>> >> successful. But after that i cannot able to LOGIN in UI.
>> >>
>> >> Username: admin
>> >> Password: password
>> >>
>> >> When i click login button it throws this error,
>> >> *
>> >> *
>> >> *Invalid username or password
>> >>
>> >> *
>> >> If i click the Login button again, then it throws this error,
>> >> *
>> >> *
>> >> *Unable to reach management server.
>> >> *
>> >> The cloudstack-management service is getting stopped, whenever i try
>>to
>> >> login into UI*
>> >> *
>> >>
>> >> Log Entries:
>> >> *
>> >> *
>> >> *$ tail -f /var/log/cloudstack/management/management-server.log*
>> >>
>> >> 2013-10-09 02:22:40,672 DEBUG [cloud.api.ApiServlet]
>> >> (catalina-exec-2:null) ===START=== 10.14.114.205 -- POST
>> >> 2013-10-09 02:22:42,832 DEBUG [cloud.user.AccountManagerImpl]
>> >> (catalina-exec-2:null) Attempting to log in user: admin in domain 1
>> >> 2013-10-09 02:22:42,836 DEBUG
>> >>[server.auth.SHA256SaltedUserAuthenticator]
>> >> (catalina-exec-2:null) Retrieving user: admin
>> >> 2013-10-09 02:22:44,011 WARN
>> >>[server.auth.SHA256SaltedUserAuthenticator]
>> >> (catalina-exec-2:null) The stored password for admin isn't in the
>>right
>> >> format for this authenticator
>> >> 2013-10-09 02:22:49,397 DEBUG [server.auth.MD5UserAuthenticator]
>> >> (catalina-exec-2:null) Retrieving user: admin
>> >> 2013-10-09 02:22:51,501 DEBUG [server.auth.MD5UserAuthenticator]
>> >> (catalina-exec-2:null) Password does not match
>> >> 2013-10-09 02:22:51,612 DEBUG [server.auth.LDAPUserAuthenticator]
>> >> (catalina-exec-2:null) Retrieving user: admin
>> >> 2013-10-09 02:22:54,590 DEBUG [server.auth.LDAPUserAuthenticator]
>> >> (catalina-exec-2:null) LDAP authenticator is not configured.
>> >> 2013-10-09 02:22:54,632 DEBUG
>>[server.auth.PlainTextUserAuthenticator]
>> >> (catalina-exec-2:null) Retrieving user: admin
>> >> 2013-10-09 02:22:55,698 DEBUG
>>[server.auth.PlainTextUserAuthenticator]
>> >> (catalina-exec-2:null) Password does not match
>> >> 2013-10-09 02:22:55,717 DEBUG [cloud.user.AccountManagerImpl]
>> >> (catalina-exec-2:null) Unable to authenticate user with username
>>admin
>> >>in
>> >> domain 1
>> >> 2013-10-09 02:22:56,736 INFO [cloud.user.AccountManagerImpl]
>> >> (catalina-exec-2:null) User admin is disabled/locked
>> >> 2013-10-09 02:22:56,741 DEBUG [cloud.user.AccountManagerImpl]
>> >> (catalina-exec-2:null) User: admin in domain 1 has failed to log in
>> >> 2013-10-09 02:22:57,036 DEBUG [cloud.api.ApiServlet]
>> >> (catalina-exec-2:null) ===END=== 10.14.114.205 -- POST
>> >>
>> >>
>> >> I have tried re-installing both *CentOS-6.3* and *CS-4.2* also, but
>>it
>> >> didnt work, same errors.
>> >>
>> >> Can anyone help me to solve this issue ?
>> >>
>> >> Regards,
>> >> Karthikeyan
>> >>
>> >
>>
>>
>>
>
Re: Unable to Login into UI in CS-4.2
Posted by Karthi Keyan <ka...@gmail.com>.
Hi Alena,
It is a fresh installation.
Thanks,
Karthikeyan
On Wed, Oct 9, 2013 at 5:26 AM, Alena Prokharchyk <
Alena.Prokharchyk@citrix.com> wrote:
> Sounds like a bug to me. Is it a fresh install, or upgraded? System and
> Admin users should be enabled by default.
>
> -Alena.
>
> On 10/8/13 3:52 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
>
> >Hi All,
> >
> >In management database i found this info,
> >
> >mysql> use cloud
> >mysql> select * from user;
> >+----+--------------------------------------+----------+------------------
> >-+------------+-----------+----------+-------+----------+---------+-------
> >-----+---------------------+---------+----------+--------------------+----
> >-----------+--------------------------+
> >| id | uuid | username | password
> >| account_id | firstname | lastname | email | state | api_key |
> >secret_key | created | removed | timezone | registration_token
> >| is_registered | incorrect_login_attempts |
> >+----+--------------------------------------+----------+------------------
> >-+------------+-----------+----------+-------+----------+---------+-------
> >-----+---------------------+---------+----------+--------------------+----
> >-----------+--------------------------+
> >| 1 | aa8bcc98-3068-11e3-8747-000c2957f30f | system |
> >*0.910423140889428*| 1 | system | cloud | NULL |
> >*enabled * | NULL | NULL | 2013-10-09 03:56:24 | NULL |
> >NULL | NULL | 0 | 0 |
> >| 2 | aa8daff4-3068-11e3-8747-000c2957f30f | admin |*
> >0.811178035858253*| 2 | admin | cloud | NULL |
> >* disabled* | NULL | NULL | 2013-10-09 03:56:24 | NULL |
> >NULL | NULL | 0 | 0 |
> >+----+--------------------------------------+----------+------------------
> >-+------------+-----------+----------+-------+----------+---------+-------
> >-----+---------------------+---------+----------+--------------------+----
> >-----------+--------------------------+
> >
> >For admin user, it is showing *disabled* state.
> >
> >I have no idea on this :(
> >
> >Regards,
> >Karthikeyan
> >
> >
> >
> >
> >On Wed, Oct 9, 2013 at 2:37 AM, Karthi Keyan <ka...@gmail.com>
> >wrote:
> >
> >> Hi All,
> >>
> >> I have installed Cloudstack-4.2 in centOS-6.3. The installation went
> >> successful. But after that i cannot able to LOGIN in UI.
> >>
> >> Username: admin
> >> Password: password
> >>
> >> When i click login button it throws this error,
> >> *
> >> *
> >> *Invalid username or password
> >>
> >> *
> >> If i click the Login button again, then it throws this error,
> >> *
> >> *
> >> *Unable to reach management server.
> >> *
> >> The cloudstack-management service is getting stopped, whenever i try to
> >> login into UI*
> >> *
> >>
> >> Log Entries:
> >> *
> >> *
> >> *$ tail -f /var/log/cloudstack/management/management-server.log*
> >>
> >> 2013-10-09 02:22:40,672 DEBUG [cloud.api.ApiServlet]
> >> (catalina-exec-2:null) ===START=== 10.14.114.205 -- POST
> >> 2013-10-09 02:22:42,832 DEBUG [cloud.user.AccountManagerImpl]
> >> (catalina-exec-2:null) Attempting to log in user: admin in domain 1
> >> 2013-10-09 02:22:42,836 DEBUG
> >>[server.auth.SHA256SaltedUserAuthenticator]
> >> (catalina-exec-2:null) Retrieving user: admin
> >> 2013-10-09 02:22:44,011 WARN
> >>[server.auth.SHA256SaltedUserAuthenticator]
> >> (catalina-exec-2:null) The stored password for admin isn't in the right
> >> format for this authenticator
> >> 2013-10-09 02:22:49,397 DEBUG [server.auth.MD5UserAuthenticator]
> >> (catalina-exec-2:null) Retrieving user: admin
> >> 2013-10-09 02:22:51,501 DEBUG [server.auth.MD5UserAuthenticator]
> >> (catalina-exec-2:null) Password does not match
> >> 2013-10-09 02:22:51,612 DEBUG [server.auth.LDAPUserAuthenticator]
> >> (catalina-exec-2:null) Retrieving user: admin
> >> 2013-10-09 02:22:54,590 DEBUG [server.auth.LDAPUserAuthenticator]
> >> (catalina-exec-2:null) LDAP authenticator is not configured.
> >> 2013-10-09 02:22:54,632 DEBUG [server.auth.PlainTextUserAuthenticator]
> >> (catalina-exec-2:null) Retrieving user: admin
> >> 2013-10-09 02:22:55,698 DEBUG [server.auth.PlainTextUserAuthenticator]
> >> (catalina-exec-2:null) Password does not match
> >> 2013-10-09 02:22:55,717 DEBUG [cloud.user.AccountManagerImpl]
> >> (catalina-exec-2:null) Unable to authenticate user with username admin
> >>in
> >> domain 1
> >> 2013-10-09 02:22:56,736 INFO [cloud.user.AccountManagerImpl]
> >> (catalina-exec-2:null) User admin is disabled/locked
> >> 2013-10-09 02:22:56,741 DEBUG [cloud.user.AccountManagerImpl]
> >> (catalina-exec-2:null) User: admin in domain 1 has failed to log in
> >> 2013-10-09 02:22:57,036 DEBUG [cloud.api.ApiServlet]
> >> (catalina-exec-2:null) ===END=== 10.14.114.205 -- POST
> >>
> >>
> >> I have tried re-installing both *CentOS-6.3* and *CS-4.2* also, but it
> >> didnt work, same errors.
> >>
> >> Can anyone help me to solve this issue ?
> >>
> >> Regards,
> >> Karthikeyan
> >>
> >
>
>
>
Re: Unable to Login into UI in CS-4.2
Posted by Alena Prokharchyk <Al...@citrix.com>.
Sounds like a bug to me. Is it a fresh install, or upgraded? System and
Admin users should be enabled by default.
-Alena.
On 10/8/13 3:52 PM, "Karthi Keyan" <ka...@gmail.com> wrote:
>Hi All,
>
>In management database i found this info,
>
>mysql> use cloud
>mysql> select * from user;
>+----+--------------------------------------+----------+------------------
>-+------------+-----------+----------+-------+----------+---------+-------
>-----+---------------------+---------+----------+--------------------+----
>-----------+--------------------------+
>| id | uuid | username | password
>| account_id | firstname | lastname | email | state | api_key |
>secret_key | created | removed | timezone | registration_token
>| is_registered | incorrect_login_attempts |
>+----+--------------------------------------+----------+------------------
>-+------------+-----------+----------+-------+----------+---------+-------
>-----+---------------------+---------+----------+--------------------+----
>-----------+--------------------------+
>| 1 | aa8bcc98-3068-11e3-8747-000c2957f30f | system |
>*0.910423140889428*| 1 | system | cloud | NULL |
>*enabled * | NULL | NULL | 2013-10-09 03:56:24 | NULL |
>NULL | NULL | 0 | 0 |
>| 2 | aa8daff4-3068-11e3-8747-000c2957f30f | admin |*
>0.811178035858253*| 2 | admin | cloud | NULL |
>* disabled* | NULL | NULL | 2013-10-09 03:56:24 | NULL |
>NULL | NULL | 0 | 0 |
>+----+--------------------------------------+----------+------------------
>-+------------+-----------+----------+-------+----------+---------+-------
>-----+---------------------+---------+----------+--------------------+----
>-----------+--------------------------+
>
>For admin user, it is showing *disabled* state.
>
>I have no idea on this :(
>
>Regards,
>Karthikeyan
>
>
>
>
>On Wed, Oct 9, 2013 at 2:37 AM, Karthi Keyan <ka...@gmail.com>
>wrote:
>
>> Hi All,
>>
>> I have installed Cloudstack-4.2 in centOS-6.3. The installation went
>> successful. But after that i cannot able to LOGIN in UI.
>>
>> Username: admin
>> Password: password
>>
>> When i click login button it throws this error,
>> *
>> *
>> *Invalid username or password
>>
>> *
>> If i click the Login button again, then it throws this error,
>> *
>> *
>> *Unable to reach management server.
>> *
>> The cloudstack-management service is getting stopped, whenever i try to
>> login into UI*
>> *
>>
>> Log Entries:
>> *
>> *
>> *$ tail -f /var/log/cloudstack/management/management-server.log*
>>
>> 2013-10-09 02:22:40,672 DEBUG [cloud.api.ApiServlet]
>> (catalina-exec-2:null) ===START=== 10.14.114.205 -- POST
>> 2013-10-09 02:22:42,832 DEBUG [cloud.user.AccountManagerImpl]
>> (catalina-exec-2:null) Attempting to log in user: admin in domain 1
>> 2013-10-09 02:22:42,836 DEBUG
>>[server.auth.SHA256SaltedUserAuthenticator]
>> (catalina-exec-2:null) Retrieving user: admin
>> 2013-10-09 02:22:44,011 WARN
>>[server.auth.SHA256SaltedUserAuthenticator]
>> (catalina-exec-2:null) The stored password for admin isn't in the right
>> format for this authenticator
>> 2013-10-09 02:22:49,397 DEBUG [server.auth.MD5UserAuthenticator]
>> (catalina-exec-2:null) Retrieving user: admin
>> 2013-10-09 02:22:51,501 DEBUG [server.auth.MD5UserAuthenticator]
>> (catalina-exec-2:null) Password does not match
>> 2013-10-09 02:22:51,612 DEBUG [server.auth.LDAPUserAuthenticator]
>> (catalina-exec-2:null) Retrieving user: admin
>> 2013-10-09 02:22:54,590 DEBUG [server.auth.LDAPUserAuthenticator]
>> (catalina-exec-2:null) LDAP authenticator is not configured.
>> 2013-10-09 02:22:54,632 DEBUG [server.auth.PlainTextUserAuthenticator]
>> (catalina-exec-2:null) Retrieving user: admin
>> 2013-10-09 02:22:55,698 DEBUG [server.auth.PlainTextUserAuthenticator]
>> (catalina-exec-2:null) Password does not match
>> 2013-10-09 02:22:55,717 DEBUG [cloud.user.AccountManagerImpl]
>> (catalina-exec-2:null) Unable to authenticate user with username admin
>>in
>> domain 1
>> 2013-10-09 02:22:56,736 INFO [cloud.user.AccountManagerImpl]
>> (catalina-exec-2:null) User admin is disabled/locked
>> 2013-10-09 02:22:56,741 DEBUG [cloud.user.AccountManagerImpl]
>> (catalina-exec-2:null) User: admin in domain 1 has failed to log in
>> 2013-10-09 02:22:57,036 DEBUG [cloud.api.ApiServlet]
>> (catalina-exec-2:null) ===END=== 10.14.114.205 -- POST
>>
>>
>> I have tried re-installing both *CentOS-6.3* and *CS-4.2* also, but it
>> didnt work, same errors.
>>
>> Can anyone help me to solve this issue ?
>>
>> Regards,
>> Karthikeyan
>>
>
Re: Unable to Login into UI in CS-4.2
Posted by Karthi Keyan <ka...@gmail.com>.
Hi All,
In management database i found this info,
mysql> use cloud
mysql> select * from user;
+----+--------------------------------------+----------+-------------------+------------+-----------+----------+-------+----------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+
| id | uuid | username | password
| account_id | firstname | lastname | email | state | api_key |
secret_key | created | removed | timezone | registration_token
| is_registered | incorrect_login_attempts |
+----+--------------------------------------+----------+-------------------+------------+-----------+----------+-------+----------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+
| 1 | aa8bcc98-3068-11e3-8747-000c2957f30f | system |
*0.910423140889428*| 1 | system | cloud | NULL |
*enabled * | NULL | NULL | 2013-10-09 03:56:24 | NULL |
NULL | NULL | 0 | 0 |
| 2 | aa8daff4-3068-11e3-8747-000c2957f30f | admin |*
0.811178035858253*| 2 | admin | cloud | NULL |
* disabled* | NULL | NULL | 2013-10-09 03:56:24 | NULL |
NULL | NULL | 0 | 0 |
+----+--------------------------------------+----------+-------------------+------------+-----------+----------+-------+----------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+
For admin user, it is showing *disabled* state.
I have no idea on this :(
Regards,
Karthikeyan
On Wed, Oct 9, 2013 at 2:37 AM, Karthi Keyan <ka...@gmail.com> wrote:
> Hi All,
>
> I have installed Cloudstack-4.2 in centOS-6.3. The installation went
> successful. But after that i cannot able to LOGIN in UI.
>
> Username: admin
> Password: password
>
> When i click login button it throws this error,
> *
> *
> *Invalid username or password
>
> *
> If i click the Login button again, then it throws this error,
> *
> *
> *Unable to reach management server.
> *
> The cloudstack-management service is getting stopped, whenever i try to
> login into UI*
> *
>
> Log Entries:
> *
> *
> *$ tail -f /var/log/cloudstack/management/management-server.log*
>
> 2013-10-09 02:22:40,672 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-2:null) ===START=== 10.14.114.205 -- POST
> 2013-10-09 02:22:42,832 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-2:null) Attempting to log in user: admin in domain 1
> 2013-10-09 02:22:42,836 DEBUG [server.auth.SHA256SaltedUserAuthenticator]
> (catalina-exec-2:null) Retrieving user: admin
> 2013-10-09 02:22:44,011 WARN [server.auth.SHA256SaltedUserAuthenticator]
> (catalina-exec-2:null) The stored password for admin isn't in the right
> format for this authenticator
> 2013-10-09 02:22:49,397 DEBUG [server.auth.MD5UserAuthenticator]
> (catalina-exec-2:null) Retrieving user: admin
> 2013-10-09 02:22:51,501 DEBUG [server.auth.MD5UserAuthenticator]
> (catalina-exec-2:null) Password does not match
> 2013-10-09 02:22:51,612 DEBUG [server.auth.LDAPUserAuthenticator]
> (catalina-exec-2:null) Retrieving user: admin
> 2013-10-09 02:22:54,590 DEBUG [server.auth.LDAPUserAuthenticator]
> (catalina-exec-2:null) LDAP authenticator is not configured.
> 2013-10-09 02:22:54,632 DEBUG [server.auth.PlainTextUserAuthenticator]
> (catalina-exec-2:null) Retrieving user: admin
> 2013-10-09 02:22:55,698 DEBUG [server.auth.PlainTextUserAuthenticator]
> (catalina-exec-2:null) Password does not match
> 2013-10-09 02:22:55,717 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-2:null) Unable to authenticate user with username admin in
> domain 1
> 2013-10-09 02:22:56,736 INFO [cloud.user.AccountManagerImpl]
> (catalina-exec-2:null) User admin is disabled/locked
> 2013-10-09 02:22:56,741 DEBUG [cloud.user.AccountManagerImpl]
> (catalina-exec-2:null) User: admin in domain 1 has failed to log in
> 2013-10-09 02:22:57,036 DEBUG [cloud.api.ApiServlet]
> (catalina-exec-2:null) ===END=== 10.14.114.205 -- POST
>
>
> I have tried re-installing both *CentOS-6.3* and *CS-4.2* also, but it
> didnt work, same errors.
>
> Can anyone help me to solve this issue ?
>
> Regards,
> Karthikeyan
>