Hi,

thanks for your response. Yes, the symlink is created (by the configure and
make procedure).

And the file "/usr/local/icinga-web/lib/icinga-api/IcingaApi.php" does
exist, even though it is stated as "nonexistent or unreadable" in the PHP
log:
-rw-rw-r-- 1 icinga icinga 4459 Jul 26 09:29
/usr/local/icinga-web/lib/icinga-api/IcingaApi.php

Maybe I am missing some PHP modules ? But I have checked the PHP
prerequisites and "make testdeps" results in:
------------------
/usr/bin/php bin/testdeps.php
Icinga-web dependencies (running 20 test)

PHP (core) tests
 1/20 Test php version >= 5.2.3 (REQUIRED) ... (version 5.3.2 >= 5.2.3) OK
 2/20 Test for PEAR (REQUIRED) ... OK

PHP extensions
 3/20 Test php5-xsl (REQUIRED) ... (xsl found v0.1) OK
 4/20 Test php5-ldap ... (ldap found) OK
 5/20 Test php5-pdo (REQUIRED) ... (PDO found v1.0.4dev) OK
 6/20 Test php5-dom (REQUIRED) ... (dom found v20031129) OK
 7/20 Test php5-session (REQUIRED) ... (session found) OK
 8/20 Test php5-spl (REQUIRED) ... (SPL found v0.2) OK
 9/20 Test php5-pcre (REQUIRED) ... (pcre found) OK
 10/20 Test php5-tokenizer (REQUIRED) ... (tokenizer found v0.1) OK
 11/20 Test php5-libxml (REQUIRED) ... (libxml found) OK
 12/20 Test php5-reflection (REQUIRED) ... (Reflection found v$Revision:
293036 $) OK
 13/20 Test php5-gettext (REQUIRED) ... (gettext found) OK

Optional pdo drivers
 14/20 Test php5-pdo-mysql ... (pdo_mysql found v1.0.2) OK
 15/20 Test php5-pdo-pgsql ... (pdo_pgsql found v1.0.2) OK

Optional php extension
 16/20 Test php5-soap ... (soap found) OK
 17/20 Test php5-xmlrpc ... (xmlrpc found v0.51) OK
 18/20 Test php5-iconv ... (iconv found) OK
 19/20 Test php5-gd ... (gd found) OK
 20/20 Test php.ini memory_limit ... (memory_limit='268435456') OK

All over result: PASS (required 12/12, optional 8/8, all 20/20, time 0.00s)

Exit (status=0)
------------------

Cheers
Ralf


----------------ursprüngliche Nachricht-----------------
Von: "Jannis Moßhammmer" [email protected]
An: [email protected]
Datum: Mon, 26 Jul 2010 09:14:45 +0200
-------------------------------------------------
 
 
> Hello,
> 
> you have to create a symlink to your icinga-api path at 
> %icinga-web%/lib/icinga-api
> 
> Regards,
> 
> Jannis
> 
> On 25.07.2010 14:09, [email protected] wrote:
>> Hi there,
>>
>> i have followed the icinga-web 1.0.1 installation instruction (the only 
>> diff
>> was another DB password defined with ./configure), but after accessing
>> http://localhost/icinga-web/ I always get HTTP error 500 and the 
>> following
>> error message in my php log:
>>
>> -----------------------------------------
>> [25-Jul-2010 13:40:39] PHP Fatal error: Uncaught exception
>> 'AgaviParseException' with message 'Compilation of configuration file
>> '/usr/local/icinga-web/app/modules/Web/config/autoload.xml' failed 
>> for the
>> following reason(s):
>>
>> Configuration file 
>> "/usr/local/icinga-web/app/modules/Web/config/autoload.xml"
>> specifies class "IcingaApi" with nonexistent or unreadable file 
>> "/usr/local
>> /icinga-web/lib/icinga-api/IcingaApi.php"' in /usr/local/icinga-
>> web/lib/agavi/src/config/AgaviConfigCache.class.php:194
>> Stack trace:
>> #0 
>> /usr/local/icinga-web/lib/agavi/src/config/AgaviConfigCache.class.
>> php(94):
>> AgaviConfigCache::executeHandler('/usr/local/icin...', NULL, 
>> Array)
>> #1 
>> /usr/local/icinga-web/lib/agavi/src/config/AgaviConfigCache.class.
>> php(243):
>> AgaviConfigCache::callHandler('/usr/local/icin...', 
>> '/usr/local/icin...', '
>> /usr/local/icin...', NULL)
>> #2 /usr/local/icinga-
>> 
>> web/app/cache/config/compile.xml_development__033d402eaeb08f42e4e3
>> d5f8474e444805e2c7c6.php(529):
>> AgaviConfigCache::checkConfig('/usr/
>> local/icin...')
>> #3 /usr/local/icinga-web/pub/index.php(26): AgaviContr in 
>> /usr/local/icinga-
>> web/lib/agavi/src/config/AgaviConfigCache.class.php on line 194
>> -----------------------------------------
>>
>> The files in app/cache/config:
>>
>> -rwxrwxr-x 1 wwwrun www 27020 25. Jul 13:54
>> 
>> autoload.xml_development__c2fd0f5665928d0033fbdc7f9a16420325a4ecea
>> .php*
>> -rwxrwxr-x 1 wwwrun www 101086 25. Jul 13:54
>> 
>> compile.xml_development__033d402eaeb08f42e4e3d5f8474e444805e2c7c6.
>> php*
>> -rwxrwxr-x 1 wwwrun www 34796 25. Jul 13:54
>> 
>> config_handlers.xml_development__419f03744eed62a654b45009595fa179a
>> a37f817.php*
>> -rwxrwxr-x 1 wwwrun www 5001 25. Jul 13:54
>> 
>> module.xml_development__3afc45669f91f6bfdbef26044c38f0422dd3e78b.p
>> hp*
>> -rwxrwxr-x 1 wwwrun www 5669 25. Jul 13:54
>> 
>> settings.xml_development__349922c64332d101cbf780ca7353a191a1b86863
>> .php
>>
>> It's also strange that running etc/tests/icingaWebTesting.php gives 
>> some
>> errors complaining about not fulfilled permissions for wwwrun user
(and/or 
>> www
>> group). But all the cache dirs have 775 permissions and owner is
wwwrun:www.
>> Which user should run icingaWebTesting.php? Root or wwwrun?
>>
>> My System:
>> Linux (openSUSE 11.3)
>> mysql 5.1.46
>> PHP 5.3.2
>> icinga 1.0.2 (successfully installed and working with the classic web
>> interface)
>>
>> Thanks in advance for any feedback
>> Ralf
>>
>> 
>> ------------------------------------------------------------------
>> ------------
>> 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
>> 
> 
> 
> -- 
> 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 **
> 
> 
> 
> --------------------------------------------------------------------
> ----------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://ad.doubleclick.net/clk;226879339;13503038;l?
> http://clk.atdmt.com/CRS/go/247765532/direct/01/
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
> 



------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to