Yes, this problem seem to occur when PCRE is not compiled with utf and 
unicode
See:
https://dev.icinga.org/issues/466

We would like to avoid the patterns that cause this error to occur, but 
unfortunately they occur in the framework icinga-web is build upon, not 
in icinga-web itself :(


On 13.09.2010 10:17, Chris Cowley wrote:
> I had exactly that error message and it turned out that my version of PCRE 
> was too old. :ook at the "Utter Ramblings" repo. That will get you a newer 
> version of PHP than is in Centos without having to fiddle around. If you 
> prefer to build from source (like me) then I can make my SRPMS available to 
> you (and everyone else).
>
> -----Original Message-----
> From: Tim Adamec [mailto:[email protected]]
> Sent: 12 September 2010 19:06
> To: [email protected]
> Subject: Re: [icinga-users] Problems getting Icinga Web Working
>
> Thanks for the response, Jannis.
>
> I'm using the 1.0.3 release; I'll pull down the git master and see if that 
> makes any difference.
>
> The only error I'm seeing in the error_log is the following:
>
>   PHP Warning:  preg_match() [<a 
> href='function.preg-match'>function.preg-match</a>]: Compilation failed: 
> unrecognized character after (? at offset 2 in 
> /x/icinga-web/lib/agavi/src/util/AgaviDecimalFormatter.class.php on line 715, 
> referer: http://d-scf-tadamec/icinga-web/
>
> That's the message that led me to the postings about custom compilation of 
> PHP.
>
>
>
>
> On Sep 10, 2010, at 12:45 AM, Jannis Moßhammmer wrote:
>
>    
>> Hi,
>>
>> first of all - which version are you using? The current git master or
>> the 1.0.3 release?
>> If you're using 1.0.3 i'd recommend you to switch to the current git
>> master, as we fixed a lot of bug, and - more important - improved error
>> logging.
>>
>> Do you receive any messages in the httpd error log?
>>
>> Regards,
>>
>> Jannis
>>
>>
>> On 09.09.2010 22:21, Adamec, Tim wrote:
>>      
>>> Hello,
>>>
>>> I tweeted yesterday about a problem I was having getting icinga-web up and 
>>> running for a project and was directed here for some help. I have to say, 
>>> great response idea with Twitter; I never would have thought of it.
>>>
>>> Anyway, I have a project I'm working on and have specced Icinga as a 
>>> monitoring end-point in our environment. Our standard build is Red Hat 
>>> Enterprise Linux 5.4 with minimal packages installed in the production 
>>> environment. I'm building my proof-of-concept on my development machine 
>>> running CentOS 5.4 with a base set of packages to match, plus development 
>>> tools and assorted other packages that won't be on the regular production 
>>> machines.
>>>
>>> I've been successful in getting the base Icinga suite running, including 
>>> the CGI-based interface, but the Web package is giving me fits. Everything 
>>> appears to install correctly, I can get the login page, but the stock 
>>> "root/password" login refuses to authenticate. I've tried doing the "make 
>>> icinga-reset-password" from the build directory several times, and even 
>>> tried to insert a password manually using a salted SHA256 HMAC; nothing 
>>> seems to work.
>>>
>>> I've found a couple of notes on the web stating that PCRE 7.2 is a minimum 
>>> requirement. I've installed PHP 5.2.x from the EPEL testing repository, and 
>>> tried compiling PHP from source into my own directory with a 
>>> statically-linked PCRE 8.x build and that didn't seem to work either.
>>>
>>> Any hints?
>>>
>>> Thanks!
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net Dev2Dev email is sponsored by:
>>>
>>> Show off your parallel programming skills.
>>> Enter the Intel(R) Threading Challenge 2010.
>>> http://p.sf.net/sfu/intel-thread-sfd
>>> _______________________________________________
>>> icinga-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>>>
>>>        
>>
>> -- 
>> Jannis Moßhammer
>> Application Developer
>>
>> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nürnberg
>> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
>> GF: Julian Hein | AG Nürnberg HRB18461
>>
>> http://www.netways.de | [email protected]
>>
>> ** NETWAYS Open Source Monitoring Conference 2010 | Nürnberg, 06. und 07. 
>> Oktober 2010 | http://www.netways.de/osmc **
>>
>>
>> ------------------------------------------------------------------------------
>> Automate Storage Tiering Simply
>> Optimize IT performance and efficiency through flexible, powerful,
>> automated storage tiering capabilities. View this brief to learn how
>> you can reduce costs and improve performance.
>> http://p.sf.net/sfu/dell-sfdev2dev
>> _______________________________________________
>> icinga-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>>
>>      
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
> Visit Snell at IBC 2010 Booth 8.B60 www.snellgroup.com/ibc-2010
>
> This email and any attachments are confidential, may be legally privileged 
> and are intended for the use of the addressee only. If you are not the 
> intended recipient, please note that any use, disclosure, printing or copying 
> of this email is strictly prohibited and may be unlawful. If received in 
> error, please delete this email and any attachments and confirm this to the 
> sender.
>
> Snell Limited, registered number 1160119
> Registered in England, registered office at Hartman House, Danehill, Lower 
> Earley, Reading, Berkshire RG6 4PB
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
>    


-- 
Jannis Moßhammer
Application Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nürnberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein | AG Nürnberg HRB18461

http://www.netways.de | [email protected]

** NETWAYS Open Source Monitoring Conference 2010 | Nürnberg, 06. und 07. 
Oktober 2010 | http://www.netways.de/osmc **


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to