Ad Widget

Collapse

zabbix.conf - Apache does not reflects on changes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jan Novak
    Junior Member
    • Feb 2015
    • 2

    #1

    zabbix.conf - Apache does not reflects on changes

    Hi,
    I followed installation steps from:
    https://www.zabbix.com/documentation..._from_packages,

    but after connection to the front-end through web browser (Firefox 36.0.1.), I stuck on Check of pre-requisites step. Some PHP options was undersized. If I understood correctly, the problem is, the Apache does not reflect on changes in /etc/apache2/conf-available/zabbix.conf.
    The desired php_value settings are still taken from /etc/php5/apache2/php.ini. Selinux is not presented.
    I presume, the zabbix.conf should be activated via a2enconf tool, thats correct (after command: # sudo s2enconf zabbix and # sudo service apache2 reload, the symlink is presented:

    lrwxrwxrwx 1 root root 29 Mar 19 15:16 zabbix.conf -> ../conf-available/zabbix.conf

    Is it some way how to fix it? I'd like to avoid "hardcode way" solution (edit php.ini file)

    Thanks a lot for any advise.

    Equipment:

    host: Windows 8.1
    platform: VirtualBox 4.3.26
    Zabbix server v2.4.4 (revision 52341)
    Ubuntu 14.04.2 LTS fully updated
    Apache/2.4.7 (Ubuntu)
    Last edited by Jan Novak; 23-03-2015, 09:48.
  • Jan Novak
    Junior Member
    • Feb 2015
    • 2

    #2
    zabbix.conf - Apache does not reflects on changes - SOLVED

    The solution is: Just enable zabbix configuration for apache.
    Apache version 2.4.7 (for Ubuntu) have several configuration files formed to the hierarchy located in /etc/apache2/ directory. After correct zabbix instalation the zabbix.conf file should be in:

    /etc/apache2/conf-available/

    directory and activated via a2enconf tool.

    But I created trap myself by copy all php zabbix files to the apache documentRoot (/var/www/html/) and I always look through browser there... (in my case localhost:2223/setup.php#)

    After activating zabbix config via a2enconf tool I still look at wrong page. But the page which reflect php changes was localhost:2223/zabbix/setup.php#

    So conclusion is:
    Read carefully configuration guide for application.

    Comment

    Working...