Страница 1 из 1

Проблема с Nagios

Добавлено: 2013-12-07 19:16:03
Kessyx
Есть 9.1 release, на ней стоит apache24.
Поставил Nagios, главная страница открывается, но при попытке войти на любую вкладку отображаются кракозябры из кириллицы и еще каких-то символов (сама панель меню отображается нормально).
В логе следующая вещь:
[pid 91966] [client xxx.xxx.xxx.xxx:47656] Failed to load PHP's XML Extension. http://www.php.net/manual/en/ref.xml.php, referer: http://xxx.xxx.xxx.xxx/nagios/main.php

PHP5 переустанавливал с FPM и Apache.

В http.conf прописано следующее:

*****************************************************************************************************************************************
#LoadModule rewrite_module libexec/apache24/mod_rewrite.so
LoadModule php5_module libexec/apache24/libphp5.so

*****************************************************************************************************************************************
<Directory />
AllowOverride none
Require all denied
</Directory>

ScriptAlias /nagios/cgi-bin /usr/local/www/nagios/cgi-bin/

<Directory "/usr/local/www/nagios">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/etc/nagios/htpasswd.users
Require valid-user
</Directory>

Alias /nagios /usr/local/www/nagios/

<Directory "/usr/local/www/nagios/cgi-bin">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/etc/nagios/htpasswd.users
Require valid-user
</Directory>

*****************************************************************************************************************************************

<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>

В чем может быть дело?

Re: Проблема с Nagios

Добавлено: 2013-12-07 23:50:27
BlitzKrieg

Код: Выделить всё

cat /usr/local/etc/php/extensions.ini | grep '=xml.so'
extension=xml.so

Re: Проблема с Nagios

Добавлено: 2013-12-09 19:55:59
Kessyx
Спасибо!
Установил php-extensions, плюс раскомментировал строчку:
LoadModule cgi_module libexec/apache24/mod_cgi.so
Теперь все работает!