Hello again,

I guess I've got a installation of Icinga Web for testing purposes now running. 
(I can log into the web GUI now. More tests to be done...). My test machine is 
now running with Ubuntu 9.10. 

But in parts it was a hard way, so I want to give some hints for update of the 
documentation so that it would be less hard for others.
I'm talking about icinga-1.0.2 with IDO, nagios-plugins-1.4.14 and 
icinga-web-1.0.1.
I worked with http://docs.icinga.org/latest/de/icinga-web-scratch.html

This documentation tells to install (among others) the package php5-pdo. This 
is not available in the repositories. So I left it out. 
Running
        make testdeps
looks fine, only the tests about pdo fail. But they are marked as optional, the 
docu tells this would be no problem. So I did continue. But very soon after 
this I was stopped:
  make db-initialize
does not work. Complains about missing mysql module.
Solution: After searching quite some time I found out installation of the 
package php5-mysql helps...

Next thing I noticed was, when calling http://localhost/icinga-web/ the 
webserver did deliver the php code, not the page itself.
This one was more easy to find: the package php5 did miss. After installing 
this I got the login page and could login...
:-)))

Maybe someone could include these two hints into the documentation. The same 
problems do not need to be searched for twice!

Bye,
  Berny

----- original message --------

Subject: Re: [icinga-users] Problem setting up icinga-web
Sent: Tue, 29 Jun 2010
From: Michael Friedrich<[email protected]>

> Hi,
> 
> [email protected] wrote:
> > This one works. I can use the classic CGI interface in my broswer. The
> state information is written into the icinga database actually.
> >    
> That's fine.
> 
> Sorry for the inconvenience - the current git master of the docs is not 
> yet uptodate regarding the given information on the icinga projects. 
> I'll explain below.
> 
> > I also included the Icinga-API:
> http://docs.icinga.org/latest/de/icinga-api.html
> >    
> 
> this information is deprecated and will be replaced in 1.0.2 - the 
> automated docs generation is currently on hold in order to prepare the 
> latest docs for the relase.
> please consider this issue for further information on the api docs: 
> https://dev.icinga.org/issues/368
> 
> > Next thing to try is to get the new Icinga Web (directly from GIT,
> 2010-06-23) working according to this link:
> > http://docs.icinga.org/latest/de/icinga-web-scratch.html
> >    
> This is also not uptodate, tomorrow it will be. please refer to 
> https://dev.icinga.org/issues/513
> 
> > When I come to section 5 it tells me to edit settings in
> /usr/local/icinga-web/app/config/icinga.xml section appkit.factories to edit
> some database relevant settings. But in my installation icinga.xml contains
> no appkit.factories and no database parameters at all.
> >    
> 
> There was a major core write on Icinga Web regarding the integration of 
> modules. The web is handled now as a module too which causes the config 
> locations to be changed. This will be described and updated in the 
> upcoming docs too.
> 
> > The other steps described seem to be successfully finished. I have a
> icinga_web database with some content and an icinga_web database user. I can
> call the web frontend at http://localhost/icinga-web and get the login
> screen. But when trying to login as root, it only tells me "Login failed".
> The message in Apache's error log at this time is:
> >
> > [Mon Jun 28 15:03:17 2010] [error] [client 10.6.xx.xx] PHP Warning: 
> preg_match() [<a href='function.preg-match'>function.preg-match</a>]:
> Compilation failed: unrecognized character after (? at offset 2 in
> /usr/local/icinga-web/lib/agavi/src/util/AgaviDecimalFormatter.class.php on
> line 715, referer: http://dunno4/icinga-web/
> >    
> 
> This is a known issue on RHEL based distributions. RHEL ships with PCRE 
> 6.6 which is normally compiled into PHP 5.1.6 - Icinga Web requires at 
> least PHP 5.2.3 and updated PCRE version >= 7.6. The reason for that can 
> be found in the agavi framework using extensive regular expressions for 
> checking user input.
> There are bug reports and RHEL/CentOS tracker on updating PCRE (current 
> version is 8.0.2, Debian uses 7.6) but since this is a major systems 
> library, they insist on not changing that in the 5.x release.
> You might consider get precompiled package of PHP and PCRE from
> 
> http://www.jasonlitka.com/category/yum-repo-news/
> 
> (use at your own risk). Over here, we compile and build PHP and PCRE
> ourselves on RHEL 5.5 since we require newer versions ourselves.
> 
> The upcoming docs will mention that too. Tomorrow at 12:00 GMT+1 Icinga
> 1.0.2 / Icinga Web 1.0.1 will be released.
> 
> Kind regards,
> Michael
> 
> -- 
> DI (FH) Michael Friedrich
> [email protected]
> Tel: +43 1 4277 14359
> 
> Vienna University Computer Center
> Universitaetsstrasse 7 A-1010 Vienna, Austria
> 
> 
> ----------------------------------------------------------------------------
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
> 

--- original message end ----


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to