On 07.06.2012 15:33, Arnau Bria wrote: > Hi all, > > My name is Arnau Bria and I work as a sysadmin at PIC, in Barcelona. > We're running a nice combo of icinga 1.6 + nagiosql + thruk but I'd > like to upgrade to icinga/icinga-web 1.7 . > > I'm following the official doc : > http://docs.icinga.org/1.7/en/* > > I've installed my new icinga + icinga-web and logged as root user. Now, > I've created a new user but I'm seeing an annoying error message : > > Request failed > The server encountered an error: > Internal Exception, check your logs! > > On a quick search, I've found > http://www.mail-archive.com/icinga-users@lists.sourceforge.net/msg01690.html > which was solved by modifying the DB passwd for idoutils part. > > In my case I'm not configuring iodutils, so I have that part commented, > and the other DB (icinga_web) i well configured:
why don't you configure the idoutils backend? if that is not done right, the web won't be able to read any data ... > > > # grep dsn /etc/icinga-web/conf.d/databases.xml > <ae:parameter > name="dsn">mysql://icinga_web:icinga_web@localhost:3306/icinga_web</ae:parameter> > # mysql -u icinga_web -picinga_web -h localhost > Welcome to the MySQL monitor. Commands end with ; or \g. > [...] > > Icinga log only says that I'm logged: > /var/log/icinga-web/debug-2012-06-07.log > [Thu Jun 7 13:16:46 2012] [debug] Auth.Provider: Object (name=internal) > initialized > [Thu Jun 7 13:16:46 2012] [debug] Auth.Provider: Object (name=auth_key) > initialized > [Thu Jun 7 13:16:46 2012] [debug] Auth.Provider: Object > (name=http-basic-authentication) initialized > [Thu Jun 7 13:16:46 2012] [debug] Auth.Provider.HTTPBasicAuthentification: > Got data (auth_name=, auth_type=) > [Thu Jun 7 13:16:54 2012] [debug] Auth.Dispatch: Starting authenticate > (username=MoD) > [Thu Jun 7 13:16:54 2012] [info] Auth.Dispatch: Converting username to > lowercase > [Thu Jun 7 13:16:54 2012] [debug] Auth.Dispatch: Userdata found in db (uid=2) > [Thu Jun 7 13:16:54 2012] [debug] Auth.Provider: Object (name=auth_key) > initialized > [Thu Jun 7 13:16:54 2012] [info] Auth.Dispatch: Delegate authentication > (not_authoritative=auth_key,user=MoD) > [Thu Jun 7 13:16:54 2012] [debug] Auth.Provider: Object (name=internal) > initialized > [Thu Jun 7 13:16:54 2012] [debug] Auth.Dispatch: Delegate authentication, > try internal (not_authoritative=auth_key,user=MoD) > [Thu Jun 7 13:16:54 2012] [debug] Auth.Provider.Database: > HASH(091256abcf2682fcaa1360633ef1fe4fd857d9e60eb9d83fe645646298d1f0a6) > [Thu Jun 7 13:16:54 2012] [info] Auth.Dispatch: Delegate authentication, > internal successfully authenticate MoD > [Thu Jun 7 13:16:54 2012] [info] User MoD (MoD, Pic) logged in! > > So, at this point ans as a icinga newbie, I don't know hot to proceed. > Could anyone with more experience help me to debug this issue? provide the full databases.xml as well as configure the idoutils backend correctly - either with a readonly user created for that purpose, or using the (hopefully) sane credentials from ido2db.cfg for further instructions on web testing and debugging, please refer to https://wiki.icinga.org within the Testing space, where you will find some instructions for the web as well. > > > > Many thanks in advance, > Arnau > > ------------------------------------------------------------------------------ > 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 Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: 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