Hello --

I was able to do the the import, and this a time it appears to have worked. The 
database is populated with tables.

I continued with the installation of both the new and classic web interfaces. 
After verifying the installation and configuration
were successful, I stared the application.

The connection to the icinga-web interface resulted in the following:

A critical exception occured!
Uncaught Doctrine_Connection_Exception thrown:
PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user 
'icinga_web'@'localhost' (using password: YES)
Stacktrace:
#0 /usr/local/icinga-web/lib/doctrine/lib/Doctrine/Connection/Mysql.php(101): 
Doctrine_Connection->connect()
#1 /usr/local/icinga-web/lib/doctrine/lib/Doctrine/Connection.php(1009): 
Doctrine_Connection_Mysql->connect()
#2 /usr/local/icinga-web/lib/doctrine/lib/Doctrine/Query/Abstract.php(976): 
Doctrine_Connection->execute('SELECT n.sessio...', Array)
#3 /usr/local/icinga-web/lib/doctrine/lib/Doctrine/Query/Abstract.php(1026): 
Doctrine_Query_Abstract->_execute(Array)
#4 
/usr/local/icinga-web/app/modules/AppKit/lib/storage/AppKitDoctrineSessionStorage.class.php(130):
 Doctrine_Query_Abstract->execute()
#5 [internal function]: 
AppKitDoctrineSessionStorage->sessionRead('jtfu44ljgbv7l9l...')
#6 
/usr/local/icinga-web/lib/agavi/src/storage/AgaviSessionStorage.class.php(132): 
session_start()
#7 
/usr/local/icinga-web/app/cache/config/factories.xml_production_web_acd19321d1da3485b30f625f8f339c317a2a9ac5.php(76):
 AgaviSessionStorage->startup()
#8 
/usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(384):
 include('/usr/local/icin...')
#9 
/usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(3549):
 AgaviContext->initialize()
#10 
/usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(370):
 AppKitAgaviContext->initialize()
#11 /usr/local/icinga-web/pub/index.php(49): AgaviContext::getInstance('web')
#12 {main}

The connection to the classic web interface worked without issue.

________________________________
From: Michael Friedrich [mailto:michael.friedr...@univie.ac.at]
Sent: Friday, May 18, 2012 3:15 PM
To: icinga-users@lists.sourceforge.net
Subject: Re: [icinga-users] Problem installing the new icinga-web interface

On 18.05.2012 20:57, Kaplan, Andrew H. wrote:
Hello --

I took a look at the page in question, and admittedly it has me confused. Can 
you provide a more simplified set of instructions?

uhm. that's simply a db schema import as you do with idoutils as well. what's 
the problem with that?

----


 # mysql -u root -p
 mysql> CREATE DATABASE icinga_web;
        GRANT USAGE ON *.* TO 'icinga_web'@'localhost' IDENTIFIED BY 
'icinga_web' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 
MAX_UPDATES_PER_HOUR 0;
        GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER, INDEX ON 
icinga_web.* TO 'icinga_web'@'localhost';
        quit

# mysql -u root -p icinga_web < /usr/src/icinga-web/etc/schema/mysql.sql

Thanks.

________________________________
From: Michael Friedrich [mailto:michael.friedr...@univie.ac.at]
Sent: Friday, May 18, 2012 1:13 PM
To: 
icinga-users@lists.sourceforge.net<mailto:icinga-users@lists.sourceforge.net>
Subject: Re: [icinga-users] Problem installing the new icinga-web interface

On 18.05.2012 18:56, Kaplan, Andrew H. wrote:

When I check the database, it is shown there are no tables within it. What 
steps do I need to take in order to correct this problem,
and get the database installed onto the system?

i normally do it manually, as described here.

https://wiki.icinga.org/display/howtos/Setting+up+Icinga+Web+on+RHEL



--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:     michael.friedr...@univie.ac.at<mailto:michael.friedr...@univie.ac.at>
phone:     +43 1 4277 14359
mobile:    +43 664 60277 14359
fax:       +43 1 4277 14338
web:       http://www.univie.ac.at/zid
           http://www.aco.net

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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.



------------------------------------------------------------------------------
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<mailto:icinga-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/icinga-users




--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:     michael.friedr...@univie.ac.at<mailto:michael.friedr...@univie.ac.at>
phone:     +43 1 4277 14359
mobile:    +43 664 60277 14359
fax:       +43 1 4277 14338
web:       http://www.univie.ac.at/zid
           http://www.aco.net

Lead Icinga Core Developer
http://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