Ad Widget

Collapse

The requested URL /zabbix was not found on this server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • phoeneous
    Member
    • Nov 2010
    • 32

    #1

    The requested URL /zabbix was not found on this server

    Was running Zabbix 2.4 on Centos 6.7 and instead of upgrading I decided to just install from scratch. So I removed all zabbix packages, dropped the database, and deleted /etc/zabbix/*. I followed installation instructions here and when I go to access http://localhost/zabbix I get The requested URL /zabbix was not found on this server. I'm able to browse http://localhost/phpmyadmin so I know httpd is working. When I look at apache logs I see:

    Code:
    [Mon May 30 15:15:41 2016] [error] [client 192.168.1.10] File does not exist: /var/www/html/zabbix
    When I browse to /var/www/html/ it is completely empty!

    I verified that service zabbix-server has been started.

    Here are my installed packages:

    Code:
    [root@rmon zabbix]# yum list installed | grep zabbix
    fping.x86_64          2.4b2-16.el6      @zabbix-non-supported
    zabbix-agent.x86_64   3.0.3-1.el6       @zabbix
    zabbix-release.noarch 3.0-1.el6         installed
    zabbix-server-mysql.x86_64
                          3.0.3-1.el6       @zabbix
    zabbix-web.noarch     3.0.3-1.el6       @zabbix
    zabbix-web-mysql.noarch
                          3.0.3-1.el6       @zabbix
    How can I fix this?
    Last edited by phoeneous; 30-05-2016, 21:52.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    I think that zabbix-web packages for RHEL/CentOS 6 is deprecated package.
    Package is located in the deprecated directory.




    And, Zabbix 3.0 requires PHP 5.4 or later. (PHP 7 is not supported yet.)
    It Is Installed?

    Manual : Requirements


    If you are installed PHP 5.4 or later, please restart the httpd after you copy the configuration file.

    For Apache HTTP Server 2.2 :
    /usr/share/doc/zabbix-web-3.0.3/httpd22-example.conf
    For Apache HTTP Server 2.4 :
    /usr/share/doc/zabbix-web-3.0.3/httpd24-example.conf

    ex.
    If you are using the httpd-2.2, and execute the operation as follows.
    Code:
    # cp /usr/share/doc/zabbix-web-3.0.3/httpd22-example.conf /etc/httpd/conf.d/zabbix.conf
    # service httpd restart

    Comment

    • phoeneous
      Member
      • Nov 2010
      • 32

      #3
      Thank you! Looks like the issue was because I was missing /etc/httpd/conf.d/zabbix.conf. I didn't need to install the packages from the depracated repo, I was able to install them from http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/. Also when I browsed localhost/zabbix it defaulted to dashboard.conf which failed, so I browsed to dashconf.php instead and it brought to installation page up. Thank you!

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #4
        Please check carefully.
        Function of SMTP authentication is not available.
        And, Server module for the RHEL/CentOS 6 is located in the deprecated directory.

        ex.
        zabbix-server-mysql, zabbix-server-pgsql, zabbix-web, zabbix-web-mysql, zabbix-web-pgsql

        Comment

        Working...