On 10/8/13 6:39 PM, "Karthi Keyan" <[email protected]> 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 < >[email protected]> 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" <[email protected]> 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 <[email protected]> >> >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 >> >> >> > >> >> >> >
