Ad Widget

Collapse

Configuration Issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dspoja
    Junior Member
    • May 2015
    • 4

    #1

    Configuration Issue

    Hello,

    I've installed Zabbix server 2.4 and agent (to monitor other services on the server) on AWS EC2 instance designated to be a Zabbix server. I configured it following the instructions in the installation guide on the Zabbix site. When I go to http://mysserver/zabbix, I see the Welcome screen. I click on the Next button, and I see the check of pre-requisites screen. All the options are green and OKed. When I click on Next, it takes me back to the Welcome screen. I can't seem to be get past the 2nd screen where prerequisites are checked. I don't see any errors in the zabbix server or agent logs. Do you have any idea why I might be getting stuck in this configuration loop?

    EDIT: During installation, I did update /etc/httpd/conf.d/zabbix.conf to conform to Apache 2.4 standard. I also commented out the directive for api directory since that directory does not exist in /usr/share/zabbix. I suspect that my issue is Apache related but I am not sure what is causing it. Here is my zabbix.conf file:
    Code:
    #
    # Zabbix monitoring system php web frontend
    #
    
    Alias /zabbix /usr/share/zabbix
    
    <Directory "/usr/share/zabbix">
        Options FollowSymLinks
        Require all granted
    
        php_value max_execution_time 300
        php_value memory_limit 128M
        php_value post_max_size 16M
        php_value upload_max_filesize 2M
        php_value max_input_time 300
        php_value date.timezone America/New_York
    </Directory>
    
    <Directory "/usr/share/zabbix/conf">
        Require all denied
        <Files *.php>
            Require all denied
        </Files>
    </Directory>
    
    #<Directory "/usr/share/zabbix/api">
    #    Require all denied
    #    <Files *.php>
    #        Require all denied
    #    </Files>
    #</Directory>
    
    <Directory "/usr/share/zabbix/include">
        Require all denied
        <Files *.php>
            Require all denied
        </Files>
    </Directory>
    
    <Directory "/usr/share/zabbix/include/classes">
        Require all denied
        <Files *.php>
            Require all denied
        </Files>
    </Directory>
    Thank you very much for your help.
    Last edited by dspoja; 26-05-2015, 18:19. Reason: Added more information
  • dspoja
    Junior Member
    • May 2015
    • 4

    #2
    Issue resolution

    It turns out that the issue was documented for installation from source, but not from package. I installed from package, but I found the solution by stumbling across https://support.zabbix.com/browse/ZBX-9063.
    What I did is update the permissions (770) and user access (root:apache) for /var/lib/php/5.5 directory, and that allowed me to complete the installation.

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      What are you selected for OS distribution and version?
      Amazon Linux? What version?
      What detail version are you selected for Zabbix?

      If you use older version, that problem occured.

      Now, I tried install for Amazon Linux AMI release 2015.03 with update and Zabbix 2.4.5.
      It is able to run normally.

      Comment

      • dspoja
        Junior Member
        • May 2015
        • 4

        #4
        The amazon-linux-ami is 2014.09 and it had already Apache 2.4 installed. I used version 2.4.5 for the Zabbix server.
        Thanks for replying.

        Comment

        Working...