[Pkg-nagios-devel] Bug#599555: Bug#599555: [icinga] Apache2 "Internal Server Error"
Roman V. Nikolaev
rshadow at rambler.ru
Mon Oct 11 06:55:52 UTC 2010
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: rshadow at rambler.ru
icq: 198-364-657
jabber: rshadow at jabber.org
site: http://www.rshadow.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20101011/d12532cd/attachment.pgp>
More information about the Pkg-nagios-devel
mailing list