The web ui that you see is served by /client, while all api calls are sent to 
the /api server. Please telnet to check if there is any process blocking port 
8080, and after running the mgmt server, can you check if the API server is 
running on 8080.
When you try to login, check the mgmt logs in /var/log/cloud/management which 
will say something like API server not started at port 8080 when you try to 
make a call. Error 404 suggests that. Can you try with tomcat 6.0.33?

Regards.
________________________________________
From: Mir Islam [[email protected]]
Sent: Tuesday, November 13, 2012 8:08 PM
To: [email protected]
Subject: Re: Admin user can't login

Hi Prasanna, my answers below

On Nov 12, 2012, at 11:30 PM, Prasanna Santhanam wrote:

> On Mon, Nov 12, 2012 at 07:39:11PM -0500, Mir Islam wrote:
>> Tried a completely different browser. Did not work.
>>
>> But here is some more info. I looked into
>> /usr/share/cloud/management/webapps/client/WEB-INF folder and the
>> lib folder has no jars. classes folder similarly has no classes.
>> There is a resources folders with some properties though. So I am
>> missing the jar files or things are getting loaded from some other
>> directory. By looking at the java process I can't tell which one
>> maybe CloudStack specific since all of them are in /usr/share/java.
>>
>
> From your pastebin [0] it appears that the Api server didn't startup. When
> the management server starts up successfully, you will see something
> to the effect of:
>
> "Notifying server startup took xxxxx ms"
>
> 1) Is your server listening for connections on :8080?

Yes and the console comes up. Just that when I hit "login" button I get user 
password invalid error message box and in the access_log I see a 404.

> 2) What is the tomcat version in this machine?

I think it is 6.0.24

> 3) There are several transaction rollbacks in the logs when management
> server is saving default config values.
>       a) Are you using encryption (/etc/cloud/management/db.properties has
>       passwd ENC(=afkldsjadsfu8)?)

I do see ENC(=encryptedpass) in the db.properties

>       b) What are you exact cloud-setup-databases arguments?

I did not give optional argument -k and -e and -m.


>
> [0] http://pastebin.com/JhSTLdTQ
>
> --
> Prasanna.,
>

Reply via email to