Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5408F6A7 for ; Mon, 26 May 2014 12:33:53 +0000 (UTC) Received: (qmail 55064 invoked by uid 500); 26 May 2014 12:33:53 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 55018 invoked by uid 500); 26 May 2014 12:33:53 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 55010 invoked by uid 99); 26 May 2014 12:33:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2014 12:33:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of saulozimbaro@gmail.com designates 209.85.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 May 2014 12:33:50 +0000 Received: by mail-oa0-f48.google.com with SMTP id i4so8216955oah.35 for ; Mon, 26 May 2014 05:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=ehADCUqHUOZEHFbH7NYIHdlMRrNkhgMVlvp5+/oqbCA=; b=ITKetlJN1S+nL2Pzum3CkOkZT5idN4aKwaNYJ6Cz5PSA+LGSA2lutREdDPOiLCaln4 +CBCxFsQCQH0h2kN5wPBHbiVCqyO2c4DyOtJt9923/o/4kfZbF0+bDrohBxWi+TBGnov uvZ4AOcFTpxKfJhkGLx+BujqoZzb4/8gOqVELmGUqhpJWUNDy7xTKrJU+bLr+WXSi8vI Pk1irxkBSMKTRJ5gY5+C/BaHNNpVfu9Ta1DSPOZSzgOuvXAyYTDVFFNq17AhNl3ayVs6 /om4SEyvovfum+wND3vM48bftohgr/QIj0I6MQVaMa+TtnQJMb5Z6Z8uVeGpfJmFFyPc w2aQ== MIME-Version: 1.0 X-Received: by 10.182.165.73 with SMTP id yw9mr24983450obb.39.1401107605105; Mon, 26 May 2014 05:33:25 -0700 (PDT) Sender: saulozimbaro@gmail.com Received: by 10.76.170.103 with HTTP; Mon, 26 May 2014 05:33:24 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 May 2014 09:33:24 -0300 X-Google-Sender-Auth: b_OH9RYHXhkMtqQmYzAqRKygVRw Message-ID: Subject: Re: Cloudstack:: cloud_usage table empty From: Saulo Zimbaro To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary=001a11c3164c1865cb04fa4cc9b3 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c3164c1865cb04fa4cc9b3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Fabrice, After create link I got another error: 2014-05-26 12:30:00,003 INFO [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) starting usage job... 2014-05-26 12:30:00,009 DEBUG [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) Not owner of usage job, skipping... 2014-05-26 12:30:00,010 INFO [cloud.usage.UsageManagerImpl] (Usage-Job-1:null) usage job complete How can I fix this? -- *Saulo Zimbaro* Mobile ) (+55) 21 99800-0100 *saulozimbaro@gmail.com *saulo@zimbaro.com 2014-05-25 14:30 GMT-03:00 Diego Spinola Castro : > i have a similar issue but only network usage is empty (types 4 and 5). > does anybody have seen that? > > > 2014-05-23 23:53 GMT-03:00 Pierre-Luc Dion : > > > I've fixed this issue on centos by installing java-1.6.0 > > > > yum install java-1.6.0 > > > > Le vendredi 23 mai 2014, Hollman Enciso R. a > > =C3=A9crit : > > > > > Any idea with this error ? > > > > > > Starting CloudStack Usage Monitor cloudstack-usage23/05/2014 15:15:22 > > 22227 > > > jsvc error: Cannot locate Java Home > > > cat: /var/run/cloudstack-usage.pid: No such file or directory > > > [FAILED] > > > > > > It's show starting the daemon cloudstack-usage. > > > > > > > > > > > > > > > On Thu, May 22, 2014 at 11:37 PM, Rajani Karuturi < > > > Rajani.Karuturi@citrix.com > wrote: > > > > > > > you might want to look at > > > > https://issues.apache.org/jira/browse/CLOUDSTACK-6360 and the > commits. > > > > > > > > > > > > ~Rajani > > > > > > > > > > > > > > > > On 23-May-2014, at 3:49 am, Fabrice Brazier < > > fabrice.brazier@apalia.net > > > > >> wrote: > > > > > > > > Hi Saulo, > > > > > > > > There was an issue with mysql connector. Starting 4.3 mysql connect= or > > is > > > no > > > > longer bundled with ACS. > > > > I created a symbolic link to make it available to usage server: > > > > ln -s /usr/share/java/mysql-connector-java.jar > > > > /usr/share/cloudstack-usage/lib/mysql-connector-java.jar > > > > > > > > This issue is being added to 4.3 release docs. > > > > > > > > Usage server is working fine now. > > > > > > > > Regards, > > > > Fabrice Brazier > > > > Le 23 mai 2014 00:14, "Saulo Zimbaro" > > > > > > > saulozimbaro@gmail.com >> a =C3=A9crit : > > > > > > > > My cloud_usage table still empty. When I start cloudstack-usage I g= ot > > > error > > > > bellow: > > > > > > > > > > > > Caused by: java.sql.SQLException: No suitable driver found for > > > > > > > > > > > > > > > > > > jdbc:mysql://localhost:3306/cloud?autoReconnect=3Dtrue&prepStmtCacheSize= =3D517&cachePrepStmts=3Dtrue > > > > at > java.sql.DriverManager.getConnection(DriverManager.java:635) > > > > at > java.sql.DriverManager.getConnection(DriverManager.java:195) > > > > at > > > > > > > > > > > > > > > > > > org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(D= riverManagerConnectionFactory.java:75) > > > > at > > > > > > > > > > > > > > > > > > org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConn= ectionFactory.java:582) > > > > at > > > > > > > > > > > > > > > > > > org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObject= Pool.java:1188) > > > > at > > > > > > > > > > > > > > > > > > org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource= .java:106) > > > > at > > > > > > > > > > > > > > > > > > com.cloud.utils.db.TransactionLegacy.getConnection(TransactionLegacy.java= :556) > > > > at > > > > > > > > > > > > > > > > > > com.cloud.utils.db.TransactionLegacy.prepareStatement(TransactionLegacy.j= ava:467) > > > > at > > > > > > > > > > > > > > > > > > com.cloud.utils.db.TransactionLegacy.prepareAutoCloseStatement(Transactio= nLegacy.java:460) > > > > at > > > > > > > > > > > > > > > > > > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.j= ava:394) > > > > > > > > > > > > I use cloudstack 4.3 and works fine. > > > > > > > > > > > > -- > > > > *Saulo Zimbaro* > > > > > > > > Mobile ) (+55) 21 99800-0100 > > > > > > > > *saulozimbaro@gmail.com > > > > > > > > > > > > > *saulo@zimbaro.com > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Hollman Eduardo Enciso R. > > > http://nexxuz.com > > > http://algolibre.com > > > @hollman > > > > > > > > > -- > > > > Pierre-Luc Dion > > Architecte de Solution Cloud | Cloud Solutions Architect > > 855-OK-CLOUD (855-652-5683) x1101 > > - - - > > > > *CloudOps*420 rue Guy > > Montr=C3=A9al QC H3J 1S6 > > www.cloudops.com > > @CloudOps_ > > > --001a11c3164c1865cb04fa4cc9b3--