Community
 
 
 

CloudPlatform 4.x

284 abonnés
 
Avatar
Pankaj Paliwal

Unable to Login in UI on CCP-4.2 Trial version

Avatar

Unable to Login in UI on CCP-4.2 Trial version

Hi All,

I have installed Citrix Cloudplatform - 4.2 Trial version on CentOS 6.3.
The installation went successful but i cannot able to login in UI,

Username: admin
Password: password

When i click the "Login" button, it shows this error,

Invalid username or password

After some workaround also i cannot able to fix this issue, even i tried reinstalling the OS(CentOS 6.3) as well CCP-4.2. But it didn't work, same error.

Log Entries:

/var/log/cloudstack/management/management-server.log

root@server CloudPlatform-4.2.0-2-rhel6.4# tail -f /var/log/cloudstack/management/management-server.log
2013-10-05 08:59:44,546 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-17:null) Retrieving user: admin
2013-10-05 08:59:44,560 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-17:null) Password does not match
2013-10-05 08:59:44,568 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-17:null) Retrieving user: admin
2013-10-05 08:59:44,597 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-17:null) LDAP authenticator is not configured.
2013-10-05 08:59:44,597 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-17:null) Retrieving user: admin
2013-10-05 08:59:44,604 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-17:null) Password does not match
2013-10-05 08:59:44,605 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-17:null) Unable to authenticate user with username admin in domain 1
2013-10-05 08:59:44,620 INFO [cloud.user.AccountManagerImpl] (catalina-exec-17:null) User admin is disabled/locked
2013-10-05 08:59:44,626 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-17:null) User: admin in domain 1 has failed to log in
2013-10-05 08:59:44,643 DEBUG [cloud.api.ApiServlet] (catalina-exec-17:null) ===END=== 64.103.232.147 -- POST
2013-10-05 09:00:28,313 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===START=== 64.103.232.147 -- POST
2013-10-05 09:00:28,321 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-21:null) Attempting to log in user: admin in domain 1
2013-10-05 09:00:28,322 DEBUG [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-21:null) Retrieving user: admin
2013-10-05 09:00:28,329 WARN [server.auth.SHA256SaltedUserAuthenticator] (catalina-exec-21:null) The stored password for admin isn't in the right format for this authenticator
2013-10-05 09:00:28,335 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-21:null) Retrieving user: admin
2013-10-05 09:00:28,339 DEBUG [server.auth.MD5UserAuthenticator] (catalina-exec-21:null) Password does not match
2013-10-05 09:00:28,340 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-21:null) Retrieving user: admin
2013-10-05 09:00:28,349 DEBUG [server.auth.LDAPUserAuthenticator] (catalina-exec-21:null) LDAP authenticator is not configured.
2013-10-05 09:00:28,349 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-21:null) Retrieving user: admin
2013-10-05 09:00:28,353 DEBUG [server.auth.PlainTextUserAuthenticator] (catalina-exec-21:null) Password does not match
2013-10-05 09:00:28,354 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-21:null) Unable to authenticate user with username admin in domain 1
2013-10-05 09:00:28,362 INFO [cloud.user.AccountManagerImpl] (catalina-exec-21:null) User admin is disabled/locked
2013-10-05 09:00:28,363 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-21:null) User: admin in domain 1 has failed to log in
2013-10-05 09:00:28,369 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===END=== 64.103.232.147 -- POST

Can anyone help me to fix this issue?

Regards,
Karthikeyan


karthikeyan k MEMBERS
3 commentaires
0

Vous devez vous connecter pour laisser un commentaire.

 
 

Previous 3 commentaires

Avatar
Pankaj Paliwal
Avatar

Unable to Login in UI on CCP-4.2 Trial version

Can you share the whole management server log created when the management server was installed? I have seen a similar issue ( only once) when I was trying to install it on Rhel 6.2 , but didn't get a chance to troubleshoot ( at that time the issue was related to some permissions to systemvm.iso in /tmp directory. Go through the logs to see if you see any errors related to systemvm.iso

A look at the log might be useful.

Also share the output of the following mysql query

mysql> select * from cloud.user\G


Prashanth Reddy Mandadi CITRIX EMPLOYEES
Actions pour les commentaires Permalien
Avatar
Pankaj Paliwal
Avatar

I met the same issue too. Output of mysql query:

 

mysql> select * from cloud.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 | default |
+----+--------------------------------------+----------+-------------------+------------+-----------+----------+-------+----------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+---------+
|  1 | cc913b80-7842-11e3-948a-00505695de05 | system   | 0.977909114191224 |          1 | system    | cloud    | NULL  | enabled  | NULL    | NULL       | 2014-01-08 08:56:44 | NULL    | NULL     | NULL               |             0 |                        0 |       1 |
|  2 | cc96dedc-7842-11e3-948a-00505695de05 | admin    | 0.882428930031535 |          2 | admin     | cloud    | NULL  | disabled | NULL    | NULL       | 2014-01-08 08:56:44 | NULL    | NULL     | NULL               |             0 |                        0 |       1 |
+----+--------------------------------------+----------+-------------------+------------+-----------+----------+-------+----------+---------+------------+---------------------+---------+----------+--------------------+---------------+--------------------------+---------+
2 rows in set (0.00 sec)
 

What is the problem here? Why admin user disabled and password is weird?


Yongjun Tan MEMBERS
Actions pour les commentaires Permalien
Avatar
Pankaj Paliwal
Avatar

I am not sure why the user 'admin' has been disabled (it happened in my install as well), but after changing it to 'enabled' and creating a new password, I was able to get the login to work. 


Rafael Possamai MEMBERS
Actions pour les commentaires Permalien

Top Contributors