From owner-freebsd-ports@freebsd.org Mon Jan 23 11:44:47 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2995FCBD549 for ; Mon, 23 Jan 2017 11:44:47 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9023C285 for ; Mon, 23 Jan 2017 11:44:45 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from freyja.zeit4.iv.bundesimmobilien.de ([87.138.105.249]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LvzF3-1cRooI2kcX-017kxm for ; Mon, 23 Jan 2017 12:44:35 +0100 Date: Mon, 23 Jan 2017 12:44:34 +0100 From: "O. Hartmann" To: freebsd-ports Subject: net-mgmt/nagvis: Uncaught Error: (0) require(CoreAuthModIcingaweb2.php): failed ... Message-ID: <20170123124434.606a4770@freyja.zeit4.iv.bundesimmobilien.de> Organization: Walstatt X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:YD/iWqNS/eBIR8STtyHOWakEEjX7Hfk4vqh9A+k+030br8LN3P3 B3BULOBnl53fG/egUNd23b0xWkZVR+lA8Fn4uGMXTLZWldef5Ek9ORxyZxi764BQYqgKAlk JAaPOu07AlbNo6Se46IlkZm52CHqyPYQHojcEZuzw/sG64O2p9AS/jEUSt9OHAJC0kgqO9S DiXf5mhXX8+ogqe/debqQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:obl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ONptoTtU+MO+Kcb7nh45nd84A== X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2017 11:44:47 -0000 First of all: please CC me, I'm not a subscriber to this specific list. Thank you. I have a problem with net-mgmt/nagvis and it seems to be a problem with some php issues. I'm running 12-CURRENT (most recent) with a ports collection also up to date, I have a jail running net-mgmt/icingaweb2 (icingaweb2-2.4.1) in addition to the module which can be found here: https://github.com/Icinga/icingaweb2-module-nagvis as well as ist requisite net-mgmt/nagvis. With the basic config of nagvis and icingaweb2-nagvis, there is a "Maps" tag lefthand on the icingaweb2 dashboard, but by clicking it, the error below pops up. This is without any further patching. [...] Warning: Uncaught Error: (0) require(CoreAuthModIcingaweb2.php): failed to open stream: No such file or directory (/usr/local/www/nagvis/share/server/core/functions/autoload.php:40) #0 /usr/local/www/nagvis/share/server/core/functions/autoload.php(40): nagvisExceptionErrorHandler(2, 'require(CoreAut...', '/usr/local/www/...', 40, Array) #1 /usr/local/www/nagvis/share/server/core/functions/autoload.php(40): NagVisAutoload() #2 [internal function]: NagVisAutoload('CoreAuthModIcin...') #3 /usr/local/www/nagvis/share/server/core/classes/CoreAuthHandler.php(47): spl_autoload_call('CoreAuthModIcin...') #4 /usr/local/www/nagvis/share/server/core/functions/index.php(44): CoreAuthHandler->__construct() #5 /usr/local/www/nagvis/share/frontend/nagvis-js/index.php(53): require('/usr/local/www/...') #6 {main} thrown in /usr/local/www/nagvis/share/server/core/functions/autoload.php on line 40 Fatal error: NagVisAutoload(): Failed opening required 'CoreAuthModIcingaweb2.php' (include_path='.:/usr/local/share/pear:../../server/core/classes:../../server/core/classes/objects:../../server/core/ext/php-gettext-1.0.9:../../frontend/nagvis-js/classes/') in /usr/local/www/nagvis/share/server/core/functions/autoload.php on line 40 [...] With the instructions taken from https://github.com/Icinga/icingaweb2-module-nagvis, especially the very last part which injects some PHP code at /share/server/core/functions/index.php, one receive this error: [...] Warning: Uncaught Error: (0) require_once(Icinga/Application/EmbeddedWeb.php): failed to open stream: No such file or directory (/usr/local/www/nagvis/share/server/core/functions/index.php:33) #0 /usr/local/www/nagvis/share/server/core/functions/index.php(33): nagvisExceptionErrorHandler(2, 'require_once(Ic...', '/usr/local/www/...', 33, Array) #1 /usr/local/www/nagvis/share/server/core/functions/index.php(33): require_once() #2 /usr/local/www/nagvis/share/frontend/nagvis-js/index.php(53): require('/usr/local/www/...') #3 {main} thrown in /usr/local/www/nagvis/share/server/core/functions/index.php on line 33 Fatal error: main(): Failed opening required 'Icinga/Application/EmbeddedWeb.php' (include_path='.:/usr/local/share/pear:../../server/core/classes:../../server/core/classes/objects:../../server/core/ext/php-gettext-1.0.9:../../frontend/nagvis-js/classes/') in /usr/local/www/nagvis/share/server/core/functions/index.php on line 33 [...] The latter one indicates to me that PHP does not know the path, which is supposed to start with [/usr/local/www/icingaweb2/library]/Icinga/Application/EmbeddedWeb.php Well, I'm lost here :-( Thanks for your patience, Regards Oliver