Wednesday, May 22nd 2013, 6:03pm UTC+2

You are not logged in.

  • Login
  • Register

Kassad

Beginner

Posts: 2

Number of monitoring servers: 1

Nagios Version: 3.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 50

Number of services: 3000

OS: HPUX, Linux, Sun Solars, Windows, OS 2200

Plugin Version: N/A

NDO Version: 1

1

Wednesday, September 9th 2009, 5:27pm

AgaviConfigurationException

Hallo,

ich habe NagiosgrapherV2 installiert (war ja ziemlich einfach) und erhalte beim Aufruf der Webseite dann folgenden Fehler:

The XSL extension for PHP is used by Agavi for performing transformations in the configuration system; this may be disabled by setting

AgaviConfig::set('core.skip_config_transformations', true);

before calling

Agavi::bootstrap();

in index.php (app/config.php is not the right place for this).



As a result, you *will* have to use the latest configuration file formats and namespaces as backwards compatibility is implemented through XSLT. Also, certain additional configuration file validations implemented via Schematron will not be performed.

Stacktrace:

1. t exception origin
in core.agavi_dir/config/AgaviConfigCache.class.php line 408

2. at AgaviConfigCache::loadConfigHandlers()
in core.agavi_dir/config/AgaviConfigCache.class.php line 102

3. at AgaviConfigCache::setupHandlers()
in core.agavi_dir/config/AgaviConfigCache.class.php line 80

4. at AgaviConfigCache::callHandler('/usr/local/NETWAYSGrapher … t/app/config/settings.xml', '/usr/local/NETWAYSGrapher … t/app/config/settings.xml', '/usr/local/NETWAYSGrapher … bbad724eaa627c9cc1af1.php', NULL)
in core.agavi_dir/config/AgaviConfigCache.class.php line 243

5. at AgaviConfigCache::checkConfig('/usr/local/NETWAYSGrapher … t/app/config/settings.xml', NULL)
in core.agavi_dir/config/AgaviConfigCache.class.php line 339

6. at AgaviConfigCache::load('/usr/local/NETWAYSGrapher … t/app/config/settings.xml')
in core.agavi_dir/core/Agavi.class.php line 146

7. at Agavi::bootstrap('development')
in _/usr/local/NETWAYSGrapher/appkit/pub/index.php line 18

Kann mir irgendjemand hierbei helfen?

Vielen Dank im voraus,

Thomas Kube

mxhash

Intermediate

Posts: 244

Gender: male

Number of monitoring servers: 4

Nagios Version: v3

Distributed monitoring: Ja

Redundant monitoring: Ja

Number of hosts: 300

Number of services: 4000

OS: Debian

Plugin Version: 1.4.11

2

Thursday, September 10th 2009, 9:27am

Hi Thomas.

Die PHP Erweiterung php5-xsl fehlt. Damit sollte es laufen.

LG Marius.
NETWAYS GmbH http://www.netways.de
NETWAYS Blog http://blog.netways.de

Kassad

Beginner

Posts: 2

Number of monitoring servers: 1

Nagios Version: 3.x

Distributed monitoring: Nein

Redundant monitoring: Nein

Number of hosts: 50

Number of services: 3000

OS: HPUX, Linux, Sun Solars, Windows, OS 2200

Plugin Version: N/A

NDO Version: 1

3

Friday, September 11th 2009, 10:38am

Hallo Marius,

es war eher ein Problem mit meinem Gehirn - nun bekomme ich die Startseite angzeigt, erhalte jedoch beim Login einen leeren Bildschirm.
Im error_log von Apache bekomme ich die Fehlermeldung:

Call to undefined function hash_hmac() in /usr/local/NETWAYSGrapher/appkit/lib/appkit/auth/AppKitAuthProviderDatabase.class.php

Betriebssystem: SLES10 SP1, 64bit

Folgende Module sind installiert:

root@ottonag:/etc/php5/apache2# ll /usr/lib64/php5/extensions/
insgesamt 2852
-rw-r--r-- 1 root root 13280 2008-04-24 04:56 ctype.so
-rw-r--r-- 1 root root 163752 2008-04-24 04:56 dom.so
-rw-r--r-- 1 root root 371368 2008-04-24 04:56 gd.so
-rw-r--r-- 1 root root 38800 2008-04-24 04:56 iconv.so
-rw-r--r-- 1 root root 50512 2008-04-24 04:56 ldap.so
-rw-r--r-- 1 root root 37872 2008-04-24 04:56 mcrypt.so
-rw-r--r-- 1 root root 11440 2008-04-24 04:56 mhash.so
-rw-r--r-- 1 root root 118304 2008-04-24 04:56 mysqli.so
-rw-r--r-- 1 root root 55888 2008-04-24 04:56 mysql.so
-rw-r--r-- 1 root root 83520 2008-04-24 04:56 ncurses.so
-rw-r--r-- 1 root root 67920 2008-04-24 04:56 odbc.so
-rw-r--r-- 1 root root 93120 2008-04-24 04:56 openssl.so
-rw-r--r-- 1 root root 29208 2008-04-24 04:56 pdo_mysql.so
-rw-r--r-- 1 root root 24280 2008-04-24 04:56 pdo_odbc.so
-rw-r--r-- 1 root root 102832 2008-04-24 04:56 pdo.so
-rw-r--r-- 1 root root 424560 2008-04-24 04:56 pdo_sqlite.so
-rw-r--r-- 1 root root 29232 2008-04-24 04:56 snmp.so
-rw-r--r-- 1 root root 315328 2008-04-24 04:56 soap.so
-rw-r--r-- 1 root root 41744 2008-04-24 04:56 sockets.so
-rw-r--r-- 1 root root 364488 2008-04-24 04:56 sqlite.so
-rwxr-xr-x 1 root root 284608 2008-04-24 05:07 timezonedb.so
-rw-r--r-- 1 root root 15480 2008-04-24 04:56 tokenizer.so
-rw-r--r-- 1 root root 33456 2008-04-24 04:56 wddx.so
-rw-r--r-- 1 root root 32976 2008-04-24 04:56 xmlreader.so
-rw-r--r-- 1 root root 29688 2008-04-24 04:56 xsl.so
-rw-r--r-- 1 root root 33720 2008-04-24 04:56 zlib.so
root@ottonag:/etc/php5/apache2#

Version von php5 ist:
PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 24 2008 02:47:36)

Irgendeine Idee?

Danke und Gruß,

Thomas

This post has been edited 1 times, last edit by "Kassad" (Sep 11th 2009, 1:28pm)