09.10.2010 11:20, Alexander Wirt пишет: > tag 599555 moreinfo unreproducible > thanks > > Roman V. Nikolaev schrieb am Saturday, den 09. October 2010: > >> Package: icinga >> Version: 1.0.2-1 >> Severity: important >> >> --- Please enter the report below this line. --- >> >> Hello. >> I try to install icinga from testing. All config files by default. >> And when I open http://mysite.org/icinga i see web interface. >> I see menu, but in right frame i see "Internal Server Error". >> >> I check all files rights for execution - all right. >> Next I try to add: >> >> <DirectoryMatch >> (/usr/share/icinga/htdocs|/usr/lib/cgi-bin/icinga|/etc/icinga/stylesheets)> >> Options FollowSymLinks >> >> DirectoryIndex index.html >> >> + Options ExecCGI >> + AddHandler cgi-script .cgi .php > This is done by the config in the package. > > I tried to reproduce your problem, but on a squeeze system everything worked > fine (I tried amd64 and i386) . >> [Fri Oct 08 23:56:11 2010] [error] Unrecognized character \\x7F in >> column 177 at /usr/lib/cgi-bin/icinga/tac.cgi line 1.\n >> [Fri Oct 08 23:56:13 2010] [error] Unrecognized character \\x7F in >> column 186 at /usr/lib/cgi-bin/icinga/status.cgi line 1.\n > This is strage if you try to execute /usr/lib/cgi-bin/icinga/status.cgi, what > >> Debian Release: squeeze/sid >> 990 testing www.debian-multimedia.org >> 990 testing ftp.de.debian.org >> 500 unstable www.debian-multimedia.org >> 500 unstable ftp.de.debian.org >> 500 stable www.debian-multimedia.org >> 500 stable volatile.debian.org >> 500 stable security.debian.org >> 500 stable ftp.de.debian.org > You shouldn't mix stable and testing. What exact versions of all icinga > related packages do you have installed? > > Alex >
I run icinga on my system. Problem was in apache config.
By default icinga (as an nagios) setup as alias:
Alias /icinga /usr/share/icinga/htdocs
But apache`s config of my main site block normal work of icinga (and
nagios). I write new one config for subdomain (icinga.mysite.com), and
this resolve my problems:
<VirtualHost *:80>
ServerName icinga.mydomain.com
ServerAlias www.icinga.mydomain.com
DocumentRoot /usr/share/icinga/htdocs
ScriptAlias /cgi-bin/icinga /usr/lib/cgi-bin/icinga
# Where the stylesheets (config files) reside
Alias /stylesheets /etc/icinga/stylesheets
<Directory /usr/share/icinga/htdocs>
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/icinga.error.log
CustomLog ${APACHE_LOG_DIR}/icinga.access.log combined
</VirtualHost>
Thanks.
P.S. Maybe you add config for subdomain in examples.
--
Roman V. Nikolaev
mail: [email protected]
icq: 198-364-657
jabber: [email protected]
site: http://www.rshadow.ru
signature.asc
Description: OpenPGP digital signature

