Hi James,

Which version of Icinga Web 2 are you using? Did you import the database schema 
for Icinga Web 2 before running the setup wizard? Did you choose two different 
databases; one for Icinga 2 and one for Icinga Web 2? A detailed explanation of 
all steps you’ve run through would be helpful.

Cheers,
Eric

On 14 Jul 2015, at 23:57, James Jelinek 
<[email protected]<mailto:[email protected]>>
 wrote:

I am new to icinga and have followed the instructions to a T on the icinga 
website to get inciga2 installed.  Then I went to the web piece and got that 
installed and did the server/incingaweb2/setup and had problems below.


problem #1

On the monitoring IDO Resource page I get the following:

IDO Instance validation failed, because there is no IDO instance available.

I contacted icinga via Twitter and they said to skip the validation so I did.  
I continued through the prompts, setting up my admin user/etc and on the finish 
page I get the below results.




Unable to create account "admin". An error occured:

SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "icingaweb_user" does not 
exist LINE 1: SELECT COUNT(*) AS cnt FROM icingaweb_user WHERE (name = 'ad... 
^, query was: SELECT COUNT(*) AS cnt FROM icingaweb_user WHERE (name = 'admin')


—full message—


Successfully connected to existing database "icinga"...

Database schema already exists...

Login "icinga" already exists...

Required privileges were already granted to login "icinga".

The database has been fully set up!

General configuration has been successfully written to: 
/etc/icingaweb2/config.ini

Authentication configuration has been successfully written to: 
/etc/icingaweb2/authentication.ini

Unable to create account "admin". An error occured:

SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "icingaweb_user" does not 
exist LINE 1: SELECT COUNT(*) AS cnt FROM icingaweb_user WHERE (name = 'ad... 
^, query was: SELECT COUNT(*) AS cnt FROM icingaweb_user WHERE (name = 'admin')

Account "admin" has been successfully defined as initial administrator.

Resource configuration has been successfully written to: 
/etc/icingaweb2/resources.ini

Monitoring backend configuration has been successfully written to: 
/etc/icingaweb2/modules/monitoring/backends.ini

Resource configuration has been successfully updated: 
/etc/icingaweb2/resources.ini

Monitoring instance configuration has been successfully created: 
/etc/icingaweb2/modules/monitoring/instances.ini

Monitoring security configuration has been successfully created: 
/etc/icingaweb2/modules/monitoring/config.ini

Module "monitoring" has been successfully enabled.

_______________________________________________
icinga-users mailing list
[email protected]<mailto:[email protected]>
https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
Eric Lippmann
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | [email protected]

** OSBConf 2015 - September - osbconf.org **
** OSMC 2015 - November - netways.de/osmc **
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to