On 22.05.2012 01:27, Kaplan, Andrew H. wrote:
When I ran the configure script for the application, there was a
series of options that were used to complete the process. The
following is taken from the config.status file from the installation
directory:
ac_cs_config="'--prefix=/usr/local/icinga-web'
'--with-web-user=apache' '--with-web-group=apache'
'--with-web-path=/icinga-web'
'--with-web-apache-path=/etc/httpd/conf.d' '--with-db-type=mysql'
'--with-db-host=localhost' '--with-db-port=3306'
'--with-db-name=icinga_web' '--with-db-user=icinga_web'
'--with-db-pass=icinga_web' '--with-conf-dir=etc/conf.d'
'--with-log-folder=log' '--with-api-subtype=driver'
'--with-api-host=localhost' '--with-api-port=3306'
'--with-api-socket-path=none'"
--with-api-type=driver sounds funny. why did you set that? that goes
hand in hand with your first connection exception based on the driver. i
bet a beer that this is the reason your icinga-web can't connect to the
database.
btw - post the databases.xml where you configure your db access for
further verification.
ehm. this is a joke right? 777 for _all_ dirs plus recursive? why did
you do that dangerous setting?
This change was made in attempt to allow the necessary write access to
the /usr/local/icinga-web/app/cache directory. If this problem can be
solved, I will readily
change the permissions back to 644 on both directories.
well i would rather wipe the install again and start from scratch. first
777 now 644 - something for thedailywtf.com - sorry. that makes the
situation to debug more critical - what if application expects specific
dir permissions you have now overridden? there's a reason why there's a
make install option ....
The decision to make the directory permissions 777 is simply part of
the troubleshooting process that I conducted on my end. I do not
intend to keep the
permissions as such when the server goes into production.
whoever told you this to troubleshoot, simply forget it. you won't see
such hints neither in the icinga docs nor the wiki entries we write
ourselves.
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: michael.friedr...@univie.ac.at
phone: +43 1 4277 14359
mobile: +43 664 60277 14359
fax: +43 1 4277 14338
web: http://www.univie.ac.at/zid
http://www.aco.net
Lead Icinga Core Developer
http://www.icinga.org
------------------------------------------------------------------------------
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