On 08.09.2012 06:35, Alban Dani wrote:
> I have installed both icinga and icinga-web.
> The first one work fine, while the second show "No data"
>
> I am running version 1.7.2 for both.
> Have looked around and ran some of diagnostics suggested but am still lost 
> for an answer.
> Starting ido2db and icinga gives me this log:
>
> Sep  8 04:13:53 i ido2db: IDO2DB 1.7.2 (08-27-2012) Copyright(c) 2005-2008 
> Ethan Galstad, Copyright(c) 2009-2012 Icinga Development Team 
> (https://www.icinga.org)
> Sep  8 04:13:53 i ido2db: IDO2DB 1.7.2 starting... (PID=31496)
> Sep  8 04:13:53 i ido2db: Finished daemonizing... (New PID=31498)
> Sep  8 04:13:59 i icinga: idomod: IDOMOD 1.7.2 (08-27-2012) Copyright(c) 
> 2005-2008 Ethan Galstad, Copyright(c) 2009-2012 Icinga Development Team 
> (https://www.icinga.org)
> Sep  8 04:13:59 i ido2db: Client connected, data available.
> Sep  8 04:13:59 i icinga: idomod: Successfully connected to data sink.  0 
> queued items to flush.
> Sep  8 04:13:59 i icinga: Event broker module 'IDOMOD' version '1.7.2' from 
> '/usr/local/icinga/lib/idomod.so' initialized successfully.
> Sep  8 04:13:59 i ido2db: Handling client connection...
> Sep  8 04:13:59 i ido2db: Successfully connected to mysql database
> Sep  8 04:13:59 i ido2db: Error: DB Version 1.8.0 does not match needed 
> schema version 1.7.0. Please check the upgrade docs!
> Sep  8 04:13:59 i ido2db: Error: DB Version Check against mysql database 
> query failed! Please check mysql database configuration and schema!
> Sep  8 04:13:59 i ido2db: Exiting ...
>
>
> After which as I said icinga (classic) works fine.
> I am obviously worried about:
> Sep  8 04:13:59 i ido2db: Error: DB Version 1.8.0 does not match needed 
> schema version 1.7.0. Please check the upgrade docs!

possibly a git version, since 1.8.0 will be released in october.
which install guide were you following?

>
>
> my checks give me:
>
> mysql>  use icinga_web;
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Database changed
>
> mysql>  SELECT * FROM nsm_db_version;
> +----+-------------------+---------------------+---------------------+
> | id | version           | modified            | created             |
> +----+-------------------+---------------------+---------------------+
> |  1 | icinga-web/v1.7.2 | 2012-09-08 04:12:23 | 2012-09-08 04:12:23 |
> +----+-------------------+---------------------+---------------------+
> 1 row in set (0.00 sec)
>
> mysql>  use icinga;
> Reading table information for completion of table and column names
> You can turn off this feature to get a quicker startup with -A
>
> Database changed
> mysql>  SELECT * FROM icinga_dbversion;
> +--------------+----------+---------+---------------------+---------------------+
> | dbversion_id | name     | version | create_time         | modify_time       
>   |
> +--------------+----------+---------+---------------------+---------------------+
> |            1 | idoutils | 1.8.0   | 2012-09-06 22:03:46 | 2012-09-06 
> 22:03:46 |
> +--------------+----------+---------+---------------------+---------------------+
> 1 row in set (0.00 sec)
>
> mysql>  quit

that's sort of a git clone from the past. and not yet released.

show us on your git src the following

$ git log -1

other than that, i'd highly advise you to use released packages, instead 
of git pulls - use those for testing only. or if a dev asked you to test 
your reported issue.

the released dbversion in 1.7.2 is still 1.7.0 as there were no db 
schema changes between 1.7.0 and 1.7.2.

kind regards,
michael

>
>
>
> Thanks in advance,
>
> Alban
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/icinga-users


-- 
DI (FH) Michael Friedrich

Lead Icinga Core Developer
https://www.icinga.org


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to