Fruity: Call to undefined function preg_match() Error when adding data or importing configs

Stover, Beth BStover at NorcalMutual.com
Wed Apr 11 03:15:53 CEST 2007


Hi,

I'm hoping to get a little help in troubleshooting Fruity errors when I
attempt to make certain changes or import the basic Nagios config files:

1.  When I try to modify a contact group, I get this error:

Fatal error: Call to undefined function preg_match() in
/usr/local/www/apache22/data/fruity/includes/adodb/adodb-lib.inc.php on
line 596

2.  When I try to import nagios.cfg, cgi.cfg or resource.cfg, I get this
error:

Fatal error: Call to undefined function preg_match() in
/usr/local/www/apache22/data/fruity/includes/tangelo.inc.php on line 85


Here are some basics on my setup:

Fruity version -- fruity-1.0-rc2
OS -- FreeBSD 6.2
Nagios 2.8 -- it's up and running fine and monitoring 1 host so far.
MySQL 5 -- it's up and running. Fruity database is created, nagios
tables created, I confirmed that new hosts are added to the database
when entered from Fruity
PHP5 -- Installed and working
PHP Extensions for MySQL -- Installed -- database is being updated
Config Files -- www can write to the configs

Because PHP, MySQL and Nagios are running fine, I wonder if I didn't
install a necessary PHP Extension.  Fruity can write to the database, so
that doesn't seem to be the problem.

Does anyone have any ideas?

Anyone out there using Fruity successfully who could lend some advice?

Thanks for any help you can give.

Beth Stover
Systems Administrator
415.395.8768


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070410/b0069595/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list