Ad Widget

Collapse

GUI doesn't appear when zabbix installed from source

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Akansha123
    Member
    • Jun 2016
    • 54

    #1

    GUI doesn't appear when zabbix installed from source

    Hi All,

    I am facing issue in zabbix GUI when zabbix is installed from source

    1) GUI display showing below error :-
    Not Found

    The requested URL /zabbix was not found on this server.
    Apache/2.4.7 (Ubuntu) Server at 10.0.4.39 Port 80

    2) I have followed below links :-



    Please help me in debugging this issue.
  • Sunghost
    Junior Member
    • Sep 2016
    • 16

    #2
    A Solution

    Hi,
    i am new with zabbix but have today, with first install, the same problem. Under debian the frontend and zabbix dir at all is under /usr/share/zabbix. i copied all to my web folder /var/www/ and set permissions to www-data:www-data. since that i can call the webfrontend.

    Perhaps this helps

    Comment

    • asteroidyorkton
      Member
      • Aug 2016
      • 53

      #3
      404 not found? Apache issue nothing to do with zabbix.

      Check the apache logs, Where did you copy zabbix frontend directory to? Check its permission, see if your apache.conf file data directory is correct. etc, Google 404 not found.

      Comment

      • Sunghost
        Junior Member
        • Sep 2016
        • 16

        #4
        re

        I am not sure. I think it depends on server config, but with default setup from source in debian and using the howto from zabbix for package installation, it dosnt work. I have, as i wrote, to copy all files from mentioned folder to webfolder. Now after run web installation, zabbix.php was missing and i got again 404, so i copied from /usr/share/zabbix/ the missing file. I think thats not well explained if this occures or doesnt work 100% out of the box.

        Comment

        • tritsako
          Member
          • Dec 2014
          • 46

          #5
          Hello Akansha123,

          I have installed Zabbix on Centos 6.7 and the below permission definitions work fine for me:

          Create a new directory for web frontend files.
          mkdir /var/www/html/zabbix

          Move to the downloaded web interface sources.
          cd /home/zabbix/downloads/zabbix-3.0.0beta1/frontends/php/

          Copy all files to the server web directory.
          cp -a . /var/www/html/zabbix/

          Set Apache user as owner of the web interface files.
          chown -R apache:apache /var/www/html/zabbix

          Add permissions to execute files for Zabbix web interface.
          chmod +x /var/www/html/zabbix/conf/

          Add Zabbix server and Zabbix agent to startup scripts.
          cp /home/zabbix/downloads/yoursourcezabbixfolder/misc/init.d/fedora/core/zabbix_server /etc/init.d/zabbix_server
          cp /home/zabbix/downloads/yoursourcezabbixfolder/misc/init.d/fedora/core/zabbix_agentd /etc/init.d/zabbix_agentd


          restart httpd
          start zabbix server
          start zabbix agent

          You must give permissions on apache on Ubuntu OS too.


          Thank you.
          Costas
          Last edited by tritsako; 10-09-2016, 17:23.

          Comment

          Working...