You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Nikolay Kabadjov <ni...@yahoo.com> on 2013/09/19 08:40:12 UTC
Usage Server is running but DB is empty
Hello,
we've built a deb package for the usage server cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
installed it and started the cloudstack-usage service.
But it seems it is not working, I mean there are no logs in /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
Any ideas, how to troubleshoot it?
Thanks and best regards,
Niki
RE: Usage Server is running but DB is empty
Posted by Vadim Kimlaychuk <Va...@Elion.ee>.
I got the point analyzing db.properties file till the end. There are several database connection configurations and I have changed only the first one (# CloudStack database settings).
If you scroll down this file till the end there are more user/password-s like # usage database settings, # awsapi database settings. These lines must also be changed.
So it was my mistake not to mention these settings.
No I got raw in usage_job table
Thanks,
Vadim
From: Nikolay Kabadjov [mailto:nikikab@yahoo.com]
Sent: Friday, September 20, 2013 9:47 AM
To: Vadim Kimlaychuk; users@cloudstack.apache.org
Subject: Re: Usage Server is running but DB is empty
Hello Vadim,
do you have the usage_job table empty as well?
What I did in addition to setting DB properties is changing the following global
usage.sanity.check.interval = 1
according to http://www.mail-archive.com/users@cloudstack.apache.org/msg01342.html
Best Regards,
Niki
________________________________
From: Vadim Kimlaychuk <Va...@Elion.ee>>
To: "users@cloudstack.apache.org<ma...@cloudstack.apache.org>" <us...@cloudstack.apache.org>>; Nikolay Kabadjov <ni...@yahoo.com>>
Sent: Friday, September 20, 2013 8:53 AM
Subject: RE: Usage Server is running but DB is empty
The same issue for me. Usage server installed without errors, I have checked /etc/cloudstack/usage/db.properties file and it has correct connection properties, but database is empty. No errors in error log either. Actually I have no log files under /var/log/cloudstack/usage. It is strange isn't it?
Vadim
-----Original Message-----
From: Steven Liang [mailto:stevenliang2011@gmail.com<ma...@gmail.com>]
Sent: Thursday, September 19, 2013 5:57 PM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>; Nikolay Kabadjov
Subject: Re: Usage Server is running but DB is empty
Hi Niki,
I have the same issue. Could you share how to solve it?
Thank you.
Steven
On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov <ni...@yahoo.com>> wrote:
> Thanks Stanislav!
> The issue is solved.
>
> It was a matter of missing DB properties configuration.
>
> Regards,
> Niki
>
>
> ________________________________
> From: Stanislav Petrov <de...@gmail.com>>
> To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
> Cc: Nikolay Kabadjov <ni...@yahoo.com>>
> Sent: Thursday, September 19, 2013 2:44 PM
> Subject: Re: Usage Server is running but DB is empty
>
>
> Hi,
>
> Check your db.properties file for access user credentials. This file
> is located at /etc/cloudstack/usage/db.properties.
>
>
> On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
> harikrishna.patnala@citrix.com<ma...@citrix.com>> wrote:
>
> > Hi,
> > Did you set the global configuration parameters related to this.
> > Link:
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/A
> dmin_Guide/configure-usage-server.html
> >
> > -Harikrishna
> >
> > On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov <ni...@yahoo.com>> wrote:
> >
> > > Hello,
> > > we've built a deb package for the usage server
> > cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > > installed it and started the cloudstack-usage service.
> > > But it seems it is not working, I mean there are no logs in
> > /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> > >
> > > Any ideas, how to troubleshoot it?
> > >
> > > Thanks and best regards,
> > > Niki
> >
> >
>
>
> --
> Поздрави,
> Станислав Петров
>
Re: Usage Server is running but DB is empty
Posted by Nikolay Kabadjov <ni...@yahoo.com>.
Hello Vadim,
do you have the usage_job table empty as well?
What I did in addition to setting DB properties is changing the following global
usage.sanity.check.interval= 1
according to http://www.mail-archive.com/users@cloudstack.apache.org/msg01342.html
Best Regards,
Niki
________________________________
From: Vadim Kimlaychuk <Va...@Elion.ee>
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>; Nikolay Kabadjov <ni...@yahoo.com>
Sent: Friday, September 20, 2013 8:53 AM
Subject: RE: Usage Server is running but DB is empty
The same issue for me. Usage server installed without errors, I have checked /etc/cloudstack/usage/db.properties file and it has correct connection properties, but database is empty. No errors in error log either. Actually I have no log files under /var/log/cloudstack/usage. It is strange isn't it?
Vadim
-----Original Message-----
From: Steven Liang [mailto:stevenliang2011@gmail.com]
Sent: Thursday, September 19, 2013 5:57 PM
To: users@cloudstack.apache.org; Nikolay Kabadjov
Subject: Re: Usage Server is running but DB is empty
Hi Niki,
I have the same issue. Could you share how to solve it?
Thank you.
Steven
On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
> Thanks Stanislav!
> The issue is solved.
>
> It was a matter of missing DB properties configuration.
>
> Regards,
> Niki
>
>
> ________________________________
> From: Stanislav Petrov <de...@gmail.com>
> To: users@cloudstack.apache.org
> Cc: Nikolay Kabadjov <ni...@yahoo.com>
> Sent: Thursday, September 19, 2013 2:44 PM
> Subject: Re: Usage Server is running but DB is empty
>
>
> Hi,
>
> Check your db.properties file for access user credentials. This file
> is located at /etc/cloudstack/usage/db.properties.
>
>
> On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
> harikrishna.patnala@citrix.com> wrote:
>
> > Hi,
> > Did you set the global configuration parameters related to this.
> > Link:
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/A
> dmin_Guide/configure-usage-server.html
> >
> > -Harikrishna
> >
> > On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
> >
> > > Hello,
> > > we've built a deb package for the usage server
> > cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > > installed it and started the cloudstack-usage service.
> > > But it seems it is not working, I mean there are no logs in
> > /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> > >
> > > Any ideas, how to troubleshoot it?
> > >
> > > Thanks and best regards,
> > > Niki
> >
> >
>
>
> --
> Поздрави,
> Станислав Петров
>
RE: Usage Server is running but DB is empty
Posted by Vadim Kimlaychuk <Va...@Elion.ee>.
The same issue for me. Usage server installed without errors, I have checked /etc/cloudstack/usage/db.properties file and it has correct connection properties, but database is empty. No errors in error log either. Actually I have no log files under /var/log/cloudstack/usage. It is strange isn't it?
Vadim
-----Original Message-----
From: Steven Liang [mailto:stevenliang2011@gmail.com]
Sent: Thursday, September 19, 2013 5:57 PM
To: users@cloudstack.apache.org; Nikolay Kabadjov
Subject: Re: Usage Server is running but DB is empty
Hi Niki,
I have the same issue. Could you share how to solve it?
Thank you.
Steven
On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
> Thanks Stanislav!
> The issue is solved.
>
> It was a matter of missing DB properties configuration.
>
> Regards,
> Niki
>
>
> ________________________________
> From: Stanislav Petrov <de...@gmail.com>
> To: users@cloudstack.apache.org
> Cc: Nikolay Kabadjov <ni...@yahoo.com>
> Sent: Thursday, September 19, 2013 2:44 PM
> Subject: Re: Usage Server is running but DB is empty
>
>
> Hi,
>
> Check your db.properties file for access user credentials. This file
> is located at /etc/cloudstack/usage/db.properties.
>
>
> On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
> harikrishna.patnala@citrix.com> wrote:
>
> > Hi,
> > Did you set the global configuration parameters related to this.
> > Link:
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/A
> dmin_Guide/configure-usage-server.html
> >
> > -Harikrishna
> >
> > On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
> >
> > > Hello,
> > > we've built a deb package for the usage server
> > cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > > installed it and started the cloudstack-usage service.
> > > But it seems it is not working, I mean there are no logs in
> > /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> > >
> > > Any ideas, how to troubleshoot it?
> > >
> > > Thanks and best regards,
> > > Niki
> >
> >
>
>
> --
> Поздрави,
> Станислав Петров
>
Re: Usage Server is running but DB is empty
Posted by Nikolay Kabadjov <ni...@yahoo.com>.
Hello Steven,
in our case it was a matter of missing DB credentials set in the config file:
db.cloud.username=
db.cloud.password=
Regards,
Niki
________________________________
From: Steven Liang <st...@gmail.com>
To: users@cloudstack.apache.org; Nikolay Kabadjov <ni...@yahoo.com>
Sent: Thursday, September 19, 2013 4:51 PM
Subject: Re: Usage Server is running but DB is empty
Hi Niki,
I have the same issue. Could you share how to solve it?
Thank you.
Steven
On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
Thanks Stanislav!
>The issue is solved.
>
>It was a matter of missing DB properties configuration.
>
>Regards,
>Niki
>
>
>
>________________________________
> From: Stanislav Petrov <de...@gmail.com>
>To: users@cloudstack.apache.org
>Cc: Nikolay Kabadjov <ni...@yahoo.com>
>Sent: Thursday, September 19, 2013 2:44 PM
>Subject: Re: Usage Server is running but DB is empty
>
>
>
>Hi,
>
>Check your db.properties file for access user credentials. This file is
>located at /etc/cloudstack/usage/db.properties.
>
>
>On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
>harikrishna.patnala@citrix.com> wrote:
>
>> Hi,
>> Did you set the global configuration parameters related to this.
>> Link:
>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
>>
>> -Harikrishna
>>
>> On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
>>
>> > Hello,
>> > we've built a deb package for the usage server
>> cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
>> > installed it and started the cloudstack-usage service.
>> > But it seems it is not working, I mean there are no logs in
>> /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
>> >
>> > Any ideas, how to troubleshoot it?
>> >
>> > Thanks and best regards,
>> > Niki
>>
>>
>
>
>--
>Поздрави,
>Станислав Петров
Re: Usage Server is running but DB is empty
Posted by Steven Liang <st...@gmail.com>.
Hi Niki,
I have the same issue. Could you share how to solve it?
Thank you.
Steven
On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
> Thanks Stanislav!
> The issue is solved.
>
> It was a matter of missing DB properties configuration.
>
> Regards,
> Niki
>
>
> ________________________________
> From: Stanislav Petrov <de...@gmail.com>
> To: users@cloudstack.apache.org
> Cc: Nikolay Kabadjov <ni...@yahoo.com>
> Sent: Thursday, September 19, 2013 2:44 PM
> Subject: Re: Usage Server is running but DB is empty
>
>
> Hi,
>
> Check your db.properties file for access user credentials. This file is
> located at /etc/cloudstack/usage/db.properties.
>
>
> On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
> harikrishna.patnala@citrix.com> wrote:
>
> > Hi,
> > Did you set the global configuration parameters related to this.
> > Link:
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
> >
> > -Harikrishna
> >
> > On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
> >
> > > Hello,
> > > we've built a deb package for the usage server
> > cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > > installed it and started the cloudstack-usage service.
> > > But it seems it is not working, I mean there are no logs in
> > /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> > >
> > > Any ideas, how to troubleshoot it?
> > >
> > > Thanks and best regards,
> > > Niki
> >
> >
>
>
> --
> Поздрави,
> Станислав Петров
>
Re: Usage Server is running but DB is empty
Posted by Nikolay Kabadjov <ni...@yahoo.com>.
Thanks Stanislav!
The issue is solved.
It was a matter of missing DB properties configuration.
Regards,
Niki
________________________________
From: Stanislav Petrov <de...@gmail.com>
To: users@cloudstack.apache.org
Cc: Nikolay Kabadjov <ni...@yahoo.com>
Sent: Thursday, September 19, 2013 2:44 PM
Subject: Re: Usage Server is running but DB is empty
Hi,
Check your db.properties file for access user credentials. This file is
located at /etc/cloudstack/usage/db.properties.
On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
harikrishna.patnala@citrix.com> wrote:
> Hi,
> Did you set the global configuration parameters related to this.
> Link:
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
>
> -Harikrishna
>
> On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
>
> > Hello,
> > we've built a deb package for the usage server
> cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > installed it and started the cloudstack-usage service.
> > But it seems it is not working, I mean there are no logs in
> /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> >
> > Any ideas, how to troubleshoot it?
> >
> > Thanks and best regards,
> > Niki
>
>
--
Поздрави,
Станислав Петров
Re: Usage Server is running but DB is empty
Posted by Stanislav Petrov <de...@gmail.com>.
Hi,
Check your db.properties file for access user credentials. This file is
located at /etc/cloudstack/usage/db.properties.
On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
harikrishna.patnala@citrix.com> wrote:
> Hi,
> Did you set the global configuration parameters related to this.
> Link:
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
>
> -Harikrishna
>
> On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
>
> > Hello,
> > we've built a deb package for the usage server
> cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > installed it and started the cloudstack-usage service.
> > But it seems it is not working, I mean there are no logs in
> /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> >
> > Any ideas, how to troubleshoot it?
> >
> > Thanks and best regards,
> > Niki
>
>
--
Поздрави,
Станислав Петров
Re: Usage Server is running but DB is empty
Posted by Harikrishna Patnala <ha...@citrix.com>.
Hi,
Did you set the global configuration parameters related to this.
Link: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
-Harikrishna
On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov <ni...@yahoo.com> wrote:
> Hello,
> we've built a deb package for the usage server cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> installed it and started the cloudstack-usage service.
> But it seems it is not working, I mean there are no logs in /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
>
> Any ideas, how to troubleshoot it?
>
> Thanks and best regards,
> Niki