Hello --
Thank-you for your reply. I decided to start over and do a scratch installation
with CentOS 6.2 64 bit distribution. Everything appeared to install properly
but I am still having problems accessing the icinga-web interface. The error
message that I am seeing now is the following:
-> 500 internal server error!
=== Error ===
Uncaught exception AgaviDatabaseException thrown!
=== Message ===
Unknown driver driver
=== Stacktrace ===
#0
/usr/local/icinga-web/app/modules/AppKit/lib/database/AppKitDoctrineDatabase.class.php(39):
AgaviDoctrineDatabase->initialize(Object(AgaviDatabaseManager), Array)
#1
/usr/local/icinga-web/app/modules/Api/lib/database/IcingaDoctrineDatabase.class.php(41):
AppKitDoctrineDatabase->initialize(Object(AgaviDatabaseManager), Array)
#2
/usr/local/icinga-web/app/cache/config/databases.xml_production__d456b1c7b5b6f4555af532308cccdc6e4f0d873e.php(49):
IcingaDoctrineDatabase->initialize(Object(AgaviDatabaseManager), Array)
#3
/usr/local/icinga-web/lib/agavi/src/database/AgaviDatabaseManager.class.php(142):
require('/usr/local/icin...')
#4
/usr/local/icinga-web/app/cache/config/factories.xml_production_web_acd19321d1da3485b30f625f8f339c317a2a9ac5.php(52):
AgaviDatabaseManager->initialize(Object(AppKitAgaviContext), Array)
#5
/usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(384):
include('/usr/local/icin...')
#6
/usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(3549):
AgaviContext->initialize()
#7
/usr/local/icinga-web/app/cache/config/compile.xml_production__119920113a175a2dcea22e33a36de83ba298e663.php(370):
AppKitAgaviContext->initialize()
#8 /usr/local/icinga-web/pub/index.php(49): AgaviContext::getInstance('web')
#9 {main}
I did a check of the error_log file for the apache server, and here is what I
found:
[Mon May 21 16:44:44 2012] [error] [client 132.183.12.230] PHP Fatal error:
Uncaught exception 'AgaviCacheException' with message 'Failed to write cache
file
"/usr/local/icinga-web/app/cache/config/config_handlers.xml_production__d98552ff67d2d50d8def4e3ddb970ba8e8e151fc.php"
generated from configuration file
"/usr/local/icinga-web/app/config/config_handlers.xml".\n\nPlease make sure you
have set correct write permissions for directory
"/usr/local/icinga-web/app/cache".' in
/usr/local/icinga-web/lib/agavi/src/config/AgaviConfigCache.class.php:544\nStack
trace:\n#0
/usr/local/icinga-web/lib/agavi/src/config/AgaviConfigCache.class.php(95):
AgaviConfigCache::writeCacheFile('/usr/local/icin...', '/usr/local/icin...',
'<?php??// This ...', false)\n#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)\n#2
/usr/local/icinga-web/lib/agavi/src/config/AgaviConfigCache.class.php(475):
AgaviConfigCache::checkConfig('/usr/local/icin...')\n#3
/usr/local/icinga-web/lib/agavi/src/co in
/usr/local/icinga-web/lib/agavi/src/config/AgaviConfigCache.class.php on line
544
I verified the timezone setting on the php.ini file was set to my location as
opposed to the Default setting. Additionally, I did a search for all instances
of php.ini
on the server, and the only one that came up was at the /etc directory. The
icinga and icinga-web databases are present, and both are populated with tables.
The icinga and icinga-web directories are both owned by the root user and
group, but have 777 permissions on them, and all their respective
subdirectories.
What do I need to do now?
________________________________
From: Markus Frosch [mailto:mar...@lazyfrosch.de]
Sent: Monday, May 21, 2012 4:37 PM
To: icinga-users@lists.sourceforge.net
Subject: Re: [icinga-users] Problem installing the new icinga-web interface
Hello Andrew,
One thought that came to me was whether or not the IDOutils software was
installed in the first place. The system in question
is a running Nagios 3.3.1 installation that is being migrated to the Icinga 1.7
standard. The procedure that I am following to do
the migration includes downloading the icinga-1.7.0.tar.gz file from the
sourceforge website.
This brought several questions to mind:
1. Does the file in question include the idoutils software?
2. How can I determine if the IDOutils software has been installed on the
server?
3. If the answer to the first question is no, what steps can I take to install
the appropriate software on the server?
The IDOutils are distributed with the Icinga Core software and yes, that means
the 1.7.0 release tarball.
For beginners with Icinga I strongly recommend to have a look on the
Debian/Ubuntu packages. Afaik there are no official releases of 1.7.0 for
Ubuntu yet. But there are nightly builds of the newest packages on the Icinga
Buildserver. For Debian itself 1.7.0 is available via backports and the newest
unstable tree (since last weekend).
IDO consists of serveral components, a plugin in Icinga, a daemon to handle the
data, and the database to store it.
Software like Icinga Web accesses this database to evaluate the status of your
monitoring system.
Useful resources should be:
http://docs.icinga.org/latest/en/quickstart-idoutils.html
http://icingabuild.dus.dg-i.net/ (The nightly buildserver with builds for lucid)
Regards
Markus
--
Markus Frosch
mar...@lazyfrosch.de<mailto:mar...@lazyfrosch.de>
http://www.lazyfrosch.de
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users