Hi,

After to have install icinga, I've installed icinga-web and I encounter this 
following problem :

======> http://<ip-add>/icinga-web/

A critical exception occured!
Uncaught AgaviDatabaseException thrown:
Couldn't connect to the icinga-web database.
Have entered valid credentials in %icinga_web%/app/config/databases.xml ?
Is the mysql server accessible (Can you access it in from the command line) ?

PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user 
'icinga_web'@'localhost' (using password: YES) 
Fsdf
<======

1)      I can connect to mysql with the user icinga_web!
2)      File : /usr/local/icinga-web/app/config/database.xml are following 
configuration :
                        
        <ae:parameter 
name="dsn">mysql://icinga_web:icinga_web@localhost:3306/icinga_web</ae:parameter>
        
        Is it ok?

Could someone, tell me more about database.xml, databases.site.xml, icinga.xml 
and icinga.site.xml?
Should I configure the credential too? :

        <!-- Generic credentials  -->
        <!--    <ae:parameter name="username">icinga_web</ae:parameter> -->
        <!--    <ae:parameter name="password">icinga</ae:parameter> -->

Thanks for your help!
Freundliche Grüsse
_________________
Jérôme M. Meyer 
Network Engineer
IWB Telekom, Margarethenstrasse 40, 4002 Basel
Telefon 061 275 52 66
Fax 061 275 59 40
E-Mail [email protected] <mailto:[email protected]> 
www.iwbtelekom.ch <http://www.iwbtelekom.ch/>  
Partner von Swisspower
www.swisspower.ch <http://www.swisspower.ch/>  

(Bitte bedenken Sie die Folgen für die Umwelt, bevor Sie diese E-Mail 
ausdrucken.)


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to