You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Ravi Shankar <ra...@gmail.com> on 2013/02/08 03:19:36 UTC

Unable to login into UI after successful installation and start

Hi All,

I have successfully installed CloudStack 4.0 following the steps given in
the documentation. All the services are also started smoothly. But I am
unable to login into the UI. As per the log files, there's no error except
in the log file lcoalhost.-date.log which I am attaching with this mail.

I used the command cloud-setup-databases to set up the database and I can
connect to the database using the same password and find all the
databases(cloud,cloudbridge,cloud_usage) & tables there.

Please find attached the log file.

Any help is appreciated.

Thanks
Ravi

Re: Unable to login into UI after successful installation and start

Posted by Marcus Sorensen <sh...@gmail.com>.
This issue has the same root cause as CLOUDSTACK-1201, user cloud's
home directory doesn't exist. Once the home directory is fixed, admin
password is changed on management server startup.

On Wed, Feb 13, 2013 at 11:01 AM, Marcus Sorensen <sh...@gmail.com> wrote:
> Ok, here's something. On a recent fresh install of management
> server/database from 4.1 RPMs, I am unable to log in and see this in
> the database:
>
> mysql> select id,username,password from user;
> +----+----------+-------------------+
> | id | username | password          |
> +----+----------+-------------------+
> |  1 | system   | 0.153965784380181 |
> |  2 | admin    | 0.99450573883439  |
> +----+----------+-------------------+
> 2 rows in set (0.00 sec)
>
> Seems like the wrong values are being inserted... I don't know how
> this works but I'll see if I can track it down.
>
> On Tue, Feb 12, 2013 at 9:06 AM, Ravi Shankar <ra...@gmail.com> wrote:
>> Hi,
>> I am using Centos 6.3 64 bit on a VM hosted on ESX.
>>
>> I have followed the steps provided in the document and build the rpms as per
>> the guidelines. Even I have installed it earlier on Centos 6.0 64 bit and it
>> worked fine, but after that environment was down, I tried installing it on
>> Centos 6.3 but it failed.
>> As I said there is no error in any of the log files except the
>> localhost-date.log.
>> The only reason that I can make out is there is some servlet error which was
>> also a bug in CloudStack 3.0.2 mentioned here.. But the mentioned package is
>> present in my case.
>>
>>
>> Let me know if you guys need more detail.
>>
>> Thanks in advance
>> Ravi
>>
>>
>> On Sun, Feb 10, 2013 at 1:08 PM, Marcus Sorensen <sh...@gmail.com>
>> wrote:
>>>
>>> Yes, please provide more info. Devcloud-kvm is centos 6.3 and it worked
>>> fine with the 4.0.1 that was recently cut.
>>>
>>> On Feb 10, 2013 12:08 AM, "Pranav Saxena" <pr...@citrix.com>
>>> wrote:
>>>>
>>>> Can you give some more details about your environment ? I think , few
>>>> people had tried using Centos 6.3 from the latest 4.0 code and it was
>>>> building fine for them . After looking at the logs , what I can understand
>>>> is that this error comes -
>>>> If CloudStack has included an older version of commons.codec where the
>>>> base64  class methods are undefined  , but I am not very sure . You need to
>>>> explain what steps have you followed to build deploy the server.
>>>>
>>>> Thanks,
>>>> Pranav
>>>>
>>>> -----Original Message-----
>>>> From: Ravi Shankar [mailto:ravi.iiitm06@gmail.com]
>>>> Sent: Sunday, February 10, 2013 12:16 PM
>>>> To: David Nalley
>>>> Cc: cloudstack-dev@incubator.apache.org
>>>> Subject: Re: Unable to login into UI after successful installation and
>>>> start
>>>>
>>>> Hi,
>>>> I am using Centos 6.3 64 bit OS VM.
>>>> Yes, I am building from source.
>>>> The link to the log file is log error.log <http://pastebin.com/E5C2EkKZ>.
>>>> The Management server and the DB is on the same machine.
>>>> I have tried reinstalling the packages with Mysql, but of no use.
>>>> I have followed the same steps a while ago and it installed successfully.
>>>>
>>>>
>>>> Thanks in Advance
>>>> Ravi Shankar
>>>>
>>>>
>>>> On Fri, Feb 8, 2013 at 7:55 AM, David Nalley <da...@gnsa.us> wrote:
>>>>
>>>> > On Thu, Feb 7, 2013 at 9:19 PM, Ravi Shankar <ra...@gmail.com>
>>>> > wrote:
>>>> > > Hi All,
>>>> > >
>>>> > > I have successfully installed CloudStack 4.0 following the steps
>>>> > > given in the documentation. All the services are also started
>>>> > > smoothly. But I am unable to login into the UI. As per the log
>>>> > > files, there's no error
>>>> > except
>>>> > > in the log file lcoalhost.-date.log which I am attaching with this
>>>> > > mail.
>>>> > >
>>>> > > I used the command cloud-setup-databases to set up the database and
>>>> > > I can connect to the database using the same password and find all
>>>> > > the
>>>> > > databases(cloud,cloudbridge,cloud_usage) & tables there.
>>>> > >
>>>> > > Please find attached the log file.
>>>> > >
>>>> > > Any help is appreciated.
>>>> > >
>>>> > > Thanks
>>>> > > Ravi
>>>> >
>>>> > The list strips attachments - so use pastebin instead.
>>>> > What platform are you using?
>>>> > Are you using packages or building from source?
>>>> >
>>>> > --David
>>>> >
>>
>>

Re: Unable to login into UI after successful installation and start

Posted by Marcus Sorensen <sh...@gmail.com>.
Ok, here's something. On a recent fresh install of management
server/database from 4.1 RPMs, I am unable to log in and see this in
the database:

mysql> select id,username,password from user;
+----+----------+-------------------+
| id | username | password          |
+----+----------+-------------------+
|  1 | system   | 0.153965784380181 |
|  2 | admin    | 0.99450573883439  |
+----+----------+-------------------+
2 rows in set (0.00 sec)

Seems like the wrong values are being inserted... I don't know how
this works but I'll see if I can track it down.

On Tue, Feb 12, 2013 at 9:06 AM, Ravi Shankar <ra...@gmail.com> wrote:
> Hi,
> I am using Centos 6.3 64 bit on a VM hosted on ESX.
>
> I have followed the steps provided in the document and build the rpms as per
> the guidelines. Even I have installed it earlier on Centos 6.0 64 bit and it
> worked fine, but after that environment was down, I tried installing it on
> Centos 6.3 but it failed.
> As I said there is no error in any of the log files except the
> localhost-date.log.
> The only reason that I can make out is there is some servlet error which was
> also a bug in CloudStack 3.0.2 mentioned here.. But the mentioned package is
> present in my case.
>
>
> Let me know if you guys need more detail.
>
> Thanks in advance
> Ravi
>
>
> On Sun, Feb 10, 2013 at 1:08 PM, Marcus Sorensen <sh...@gmail.com>
> wrote:
>>
>> Yes, please provide more info. Devcloud-kvm is centos 6.3 and it worked
>> fine with the 4.0.1 that was recently cut.
>>
>> On Feb 10, 2013 12:08 AM, "Pranav Saxena" <pr...@citrix.com>
>> wrote:
>>>
>>> Can you give some more details about your environment ? I think , few
>>> people had tried using Centos 6.3 from the latest 4.0 code and it was
>>> building fine for them . After looking at the logs , what I can understand
>>> is that this error comes -
>>> If CloudStack has included an older version of commons.codec where the
>>> base64  class methods are undefined  , but I am not very sure . You need to
>>> explain what steps have you followed to build deploy the server.
>>>
>>> Thanks,
>>> Pranav
>>>
>>> -----Original Message-----
>>> From: Ravi Shankar [mailto:ravi.iiitm06@gmail.com]
>>> Sent: Sunday, February 10, 2013 12:16 PM
>>> To: David Nalley
>>> Cc: cloudstack-dev@incubator.apache.org
>>> Subject: Re: Unable to login into UI after successful installation and
>>> start
>>>
>>> Hi,
>>> I am using Centos 6.3 64 bit OS VM.
>>> Yes, I am building from source.
>>> The link to the log file is log error.log <http://pastebin.com/E5C2EkKZ>.
>>> The Management server and the DB is on the same machine.
>>> I have tried reinstalling the packages with Mysql, but of no use.
>>> I have followed the same steps a while ago and it installed successfully.
>>>
>>>
>>> Thanks in Advance
>>> Ravi Shankar
>>>
>>>
>>> On Fri, Feb 8, 2013 at 7:55 AM, David Nalley <da...@gnsa.us> wrote:
>>>
>>> > On Thu, Feb 7, 2013 at 9:19 PM, Ravi Shankar <ra...@gmail.com>
>>> > wrote:
>>> > > Hi All,
>>> > >
>>> > > I have successfully installed CloudStack 4.0 following the steps
>>> > > given in the documentation. All the services are also started
>>> > > smoothly. But I am unable to login into the UI. As per the log
>>> > > files, there's no error
>>> > except
>>> > > in the log file lcoalhost.-date.log which I am attaching with this
>>> > > mail.
>>> > >
>>> > > I used the command cloud-setup-databases to set up the database and
>>> > > I can connect to the database using the same password and find all
>>> > > the
>>> > > databases(cloud,cloudbridge,cloud_usage) & tables there.
>>> > >
>>> > > Please find attached the log file.
>>> > >
>>> > > Any help is appreciated.
>>> > >
>>> > > Thanks
>>> > > Ravi
>>> >
>>> > The list strips attachments - so use pastebin instead.
>>> > What platform are you using?
>>> > Are you using packages or building from source?
>>> >
>>> > --David
>>> >
>
>

Re: Unable to login into UI after successful installation and start

Posted by Ravi Shankar <ra...@gmail.com>.
Hi,
I am using Centos 6.3 64 bit on a VM hosted on ESX.

I have followed the steps provided in the document and build the rpms as
per the guidelines. Even I have installed it earlier on Centos 6.0 64 bit
and it worked fine, but after that environment was down, I tried installing
it on Centos 6.3 but it failed.
As I said there is no error in any of the log files except the
localhost-date.log.
The only reason that I can make out is there is some servlet error which
was also a bug in CloudStack 3.0.2 mentioned
here<https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CDMQFjAA&url=http%3A%2F%2Fbugs.cloudstack.org%2Fbrowse%2FCS-12797%3Fpage%3Dcom.atlassian.jira.plugin.system.issuetabpanels%3Aworklog-tabpanel&ei=5WcaUcHsHYWHrAez0oHIDQ&usg=AFQjCNG90rvRSV-tiTzZTenKo-36r-bRKw&sig2=6LFTS8TIlFB1DLBJT1W2Qg&bvm=bv.42261806,d.bmk>..
But the mentioned package is present in my case.


Let me know if you guys need more detail.

Thanks in advance
Ravi


On Sun, Feb 10, 2013 at 1:08 PM, Marcus Sorensen <sh...@gmail.com>wrote:

> Yes, please provide more info. Devcloud-kvm is centos 6.3 and it worked
> fine with the 4.0.1 that was recently cut.
> On Feb 10, 2013 12:08 AM, "Pranav Saxena" <pr...@citrix.com>
> wrote:
>
>> Can you give some more details about your environment ? I think , few
>> people had tried using Centos 6.3 from the latest 4.0 code and it was
>> building fine for them . After looking at the logs , what I can understand
>> is that this error comes -
>> If CloudStack has included an older version of commons.codec where the
>> base64  class methods are undefined  , but I am not very sure . You need to
>> explain what steps have you followed to build deploy the server.
>>
>> Thanks,
>> Pranav
>>
>> -----Original Message-----
>> From: Ravi Shankar [mailto:ravi.iiitm06@gmail.com]
>> Sent: Sunday, February 10, 2013 12:16 PM
>> To: David Nalley
>> Cc: cloudstack-dev@incubator.apache.org
>> Subject: Re: Unable to login into UI after successful installation and
>> start
>>
>> Hi,
>> I am using Centos 6.3 64 bit OS VM.
>> Yes, I am building from source.
>> The link to the log file is log error.log <http://pastebin.com/E5C2EkKZ>.
>> The Management server and the DB is on the same machine.
>> I have tried reinstalling the packages with Mysql, but of no use.
>> I have followed the same steps a while ago and it installed successfully.
>>
>>
>> Thanks in Advance
>> Ravi Shankar
>>
>>
>> On Fri, Feb 8, 2013 at 7:55 AM, David Nalley <da...@gnsa.us> wrote:
>>
>> > On Thu, Feb 7, 2013 at 9:19 PM, Ravi Shankar <ra...@gmail.com>
>> > wrote:
>> > > Hi All,
>> > >
>> > > I have successfully installed CloudStack 4.0 following the steps
>> > > given in the documentation. All the services are also started
>> > > smoothly. But I am unable to login into the UI. As per the log
>> > > files, there's no error
>> > except
>> > > in the log file lcoalhost.-date.log which I am attaching with this
>> mail.
>> > >
>> > > I used the command cloud-setup-databases to set up the database and
>> > > I can connect to the database using the same password and find all
>> > > the
>> > > databases(cloud,cloudbridge,cloud_usage) & tables there.
>> > >
>> > > Please find attached the log file.
>> > >
>> > > Any help is appreciated.
>> > >
>> > > Thanks
>> > > Ravi
>> >
>> > The list strips attachments - so use pastebin instead.
>> > What platform are you using?
>> > Are you using packages or building from source?
>> >
>> > --David
>> >
>>
>

RE: Unable to login into UI after successful installation and start

Posted by Marcus Sorensen <sh...@gmail.com>.
Yes, please provide more info. Devcloud-kvm is centos 6.3 and it worked
fine with the 4.0.1 that was recently cut.
On Feb 10, 2013 12:08 AM, "Pranav Saxena" <pr...@citrix.com> wrote:

> Can you give some more details about your environment ? I think , few
> people had tried using Centos 6.3 from the latest 4.0 code and it was
> building fine for them . After looking at the logs , what I can understand
> is that this error comes -
> If CloudStack has included an older version of commons.codec where the
> base64  class methods are undefined  , but I am not very sure . You need to
> explain what steps have you followed to build deploy the server.
>
> Thanks,
> Pranav
>
> -----Original Message-----
> From: Ravi Shankar [mailto:ravi.iiitm06@gmail.com]
> Sent: Sunday, February 10, 2013 12:16 PM
> To: David Nalley
> Cc: cloudstack-dev@incubator.apache.org
> Subject: Re: Unable to login into UI after successful installation and
> start
>
> Hi,
> I am using Centos 6.3 64 bit OS VM.
> Yes, I am building from source.
> The link to the log file is log error.log <http://pastebin.com/E5C2EkKZ>.
> The Management server and the DB is on the same machine.
> I have tried reinstalling the packages with Mysql, but of no use.
> I have followed the same steps a while ago and it installed successfully.
>
>
> Thanks in Advance
> Ravi Shankar
>
>
> On Fri, Feb 8, 2013 at 7:55 AM, David Nalley <da...@gnsa.us> wrote:
>
> > On Thu, Feb 7, 2013 at 9:19 PM, Ravi Shankar <ra...@gmail.com>
> > wrote:
> > > Hi All,
> > >
> > > I have successfully installed CloudStack 4.0 following the steps
> > > given in the documentation. All the services are also started
> > > smoothly. But I am unable to login into the UI. As per the log
> > > files, there's no error
> > except
> > > in the log file lcoalhost.-date.log which I am attaching with this
> mail.
> > >
> > > I used the command cloud-setup-databases to set up the database and
> > > I can connect to the database using the same password and find all
> > > the
> > > databases(cloud,cloudbridge,cloud_usage) & tables there.
> > >
> > > Please find attached the log file.
> > >
> > > Any help is appreciated.
> > >
> > > Thanks
> > > Ravi
> >
> > The list strips attachments - so use pastebin instead.
> > What platform are you using?
> > Are you using packages or building from source?
> >
> > --David
> >
>

RE: Unable to login into UI after successful installation and start

Posted by Pranav Saxena <pr...@citrix.com>.
Can you give some more details about your environment ? I think , few people had tried using Centos 6.3 from the latest 4.0 code and it was building fine for them . After looking at the logs , what I can understand is that this error comes - 
If CloudStack has included an older version of commons.codec where the base64  class methods are undefined  , but I am not very sure . You need to explain what steps have you followed to build deploy the server. 

Thanks,
Pranav

-----Original Message-----
From: Ravi Shankar [mailto:ravi.iiitm06@gmail.com] 
Sent: Sunday, February 10, 2013 12:16 PM
To: David Nalley
Cc: cloudstack-dev@incubator.apache.org
Subject: Re: Unable to login into UI after successful installation and start

Hi,
I am using Centos 6.3 64 bit OS VM.
Yes, I am building from source.
The link to the log file is log error.log <http://pastebin.com/E5C2EkKZ>.
The Management server and the DB is on the same machine.
I have tried reinstalling the packages with Mysql, but of no use.
I have followed the same steps a while ago and it installed successfully.


Thanks in Advance
Ravi Shankar


On Fri, Feb 8, 2013 at 7:55 AM, David Nalley <da...@gnsa.us> wrote:

> On Thu, Feb 7, 2013 at 9:19 PM, Ravi Shankar <ra...@gmail.com>
> wrote:
> > Hi All,
> >
> > I have successfully installed CloudStack 4.0 following the steps 
> > given in the documentation. All the services are also started 
> > smoothly. But I am unable to login into the UI. As per the log 
> > files, there's no error
> except
> > in the log file lcoalhost.-date.log which I am attaching with this mail.
> >
> > I used the command cloud-setup-databases to set up the database and 
> > I can connect to the database using the same password and find all 
> > the
> > databases(cloud,cloudbridge,cloud_usage) & tables there.
> >
> > Please find attached the log file.
> >
> > Any help is appreciated.
> >
> > Thanks
> > Ravi
>
> The list strips attachments - so use pastebin instead.
> What platform are you using?
> Are you using packages or building from source?
>
> --David
>

Re: Unable to login into UI after successful installation and start

Posted by Ravi Shankar <ra...@gmail.com>.
Hi,
I am using Centos 6.3 64 bit OS VM.
Yes, I am building from source.
The link to the log file is log error.log <http://pastebin.com/E5C2EkKZ>.
The Management server and the DB is on the same machine.
I have tried reinstalling the packages with Mysql, but of no use.
I have followed the same steps a while ago and it installed successfully.


Thanks in Advance
Ravi Shankar


On Fri, Feb 8, 2013 at 7:55 AM, David Nalley <da...@gnsa.us> wrote:

> On Thu, Feb 7, 2013 at 9:19 PM, Ravi Shankar <ra...@gmail.com>
> wrote:
> > Hi All,
> >
> > I have successfully installed CloudStack 4.0 following the steps given in
> > the documentation. All the services are also started smoothly. But I am
> > unable to login into the UI. As per the log files, there's no error
> except
> > in the log file lcoalhost.-date.log which I am attaching with this mail.
> >
> > I used the command cloud-setup-databases to set up the database and I can
> > connect to the database using the same password and find all the
> > databases(cloud,cloudbridge,cloud_usage) & tables there.
> >
> > Please find attached the log file.
> >
> > Any help is appreciated.
> >
> > Thanks
> > Ravi
>
> The list strips attachments - so use pastebin instead.
> What platform are you using?
> Are you using packages or building from source?
>
> --David
>

Re: Unable to login into UI after successful installation and start

Posted by David Nalley <da...@gnsa.us>.
On Thu, Feb 7, 2013 at 9:19 PM, Ravi Shankar <ra...@gmail.com> wrote:
> Hi All,
>
> I have successfully installed CloudStack 4.0 following the steps given in
> the documentation. All the services are also started smoothly. But I am
> unable to login into the UI. As per the log files, there's no error except
> in the log file lcoalhost.-date.log which I am attaching with this mail.
>
> I used the command cloud-setup-databases to set up the database and I can
> connect to the database using the same password and find all the
> databases(cloud,cloudbridge,cloud_usage) & tables there.
>
> Please find attached the log file.
>
> Any help is appreciated.
>
> Thanks
> Ravi

The list strips attachments - so use pastebin instead.
What platform are you using?
Are you using packages or building from source?

--David