Ad Widget

Collapse

Zabbix web UI is not responding while server is up and running

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Serge229
    Junior Member
    • Nov 2023
    • 8

    #1

    Zabbix web UI is not responding while server is up and running

    Hello,

    I am running Zabbix 6.4.8 on an Oracle Linux 9.3 server.
    The server is still running but the web UI has suddenly stopped responding (connection closed).
    Obviously I made no change on any firewall (and no change at all).
    Netstat shows that Zabbix is not listening at port TCP/443.
    Restarting Zabbix service had no effect.
    I assume there may be an issue on frontend config, but I am unsure.
    Could someone help ?
    Thanks in advance
    ================================================== =====================
    Click image for larger version

Name:	image.png
Views:	4872
Size:	8.6 KB
ID:	474610

    Click image for larger version

Name:	image.png
Views:	4763
Size:	38.1 KB
ID:	474611
    Click image for larger version

Name:	image.png
Views:	4785
Size:	158.2 KB
ID:	474612
    [root@VMLPZABIX01 adminuser]# cat /etc/os-release
    NAME="Oracle Linux Server"
    VERSION="9.3"
    ID="ol"
    ID_LIKE="fedora"
    VARIANT="Server"
    VARIANT_ID="server"
    VERSION_ID="9.3"
    PLATFORM_ID="platform:el9"
    PRETTY_NAME="Oracle Linux Server 9.3"
    ANSI_COLOR="0;31"
    CPE_NAME="cpe:/oracle:linux:9:3:server"
    HOME_URL="https://linux.oracle.com/"
    BUG_REPORT_URL="https://github.com/oracle/oracle-linux"

    ORACLE_BUGZILLA_PRODUCT="Oracle Linux 9"
    ORACLE_BUGZILLA_PRODUCT_VERSION=9.3
    ORACLE_SUPPORT_PRODUCT="Oracle Linux"
    ORACLE_SUPPORT_PRODUCT_VERSION=9.3
    ​​​
  • Answer selected by Serge229 at 24-11-2023, 00:16.
    solution
    Senior Member
    • Jun 2020
    • 269

    1 - Rename or delete the zabbix.conf.php file
    2 - access the web-gui to restart the config wizard.


    Wellington

    Comment

    • solution
      Senior Member
      • Jun 2020
      • 269

      #2
      Install the frontend

      For Apache and Mysql

      dnf install zabbix-web-mysql zabbix-apache-conf

      For Nginx and Mysql

      dnf install zabbix-web-mysql zabbix-nginx-conf

      links:
      https://www.zabbix.com/download?zabb...oracle_linux&o s_version=9&components=server_frontend_agent&db=my sql&ws=apache



      Wellington​

      Comment

      • Serge229
        Junior Member
        • Nov 2023
        • 8

        #3
        Hello and thanks for your answer.

        For the moment it doesn't work yet (I installed fronted, tested and reloaded nginx, restarted zabbix).
        I also used the links you provided to reinstall frontend (modified command #dnf install zabbix-web-mysql zabbix-nginx-conf zabbix-sql-scripts zabbix-selinux-policy).
        Server is OK but frontend web UI still not working

        Comment

        • Serge229
          Junior Member
          • Nov 2023
          • 8

          #4
          Below are extracts of my Zabbix GUI conf file (zabbix.conf.php) and server conf file (zabbix_server.conf). I already changed values of $ZBX_SERVER and $ZBX_SERVER_PORT to web UI's IP (the one I used to connect) and 443 respectively, but nothing changed

          ================================================== ================================================== ================================================== ============
          Click image for larger version

Name:	image.png
Views:	4731
Size:	96.1 KB
ID:	474638

          Click image for larger version

Name:	image.png
Views:	4740
Size:	52.9 KB
ID:	474639​​

          Comment

          • Serge229
            Junior Member
            • Nov 2023
            • 8

            #5
            Hello,

            Few progresses made :
            1. I re-installed nginx
            2. Encountered errors about "invalid PID number", "permission denied for /etc/nginx.conf"
            3. Solved the errors by changing listen to 80, server name to my web UI's IP and adding "index zabbix.php" just below server_name line
            4. Then web UI shows again, but with an error : "Configuration file error. DB type is not set."
            ================================================== ================================================== ==================
            ​​ Click image for larger version

Name:	image.png
Views:	5199
Size:	18.4 KB
ID:	474650
            Attached Files

            Comment

            • solution
              Senior Member
              • Jun 2020
              • 269

              #6
              1 - Rename or delete the zabbix.conf.php file
              2 - access the web-gui to restart the config wizard.


              Wellington

              Comment

              • Serge229
                Junior Member
                • Nov 2023
                • 8

                #7
                Hello Wellington,

                I've just followed your advice and the web UI is back.
                Many thanks !

                Serge
                ========================================
                Click image for larger version

Name:	image.png
Views:	4684
Size:	88.8 KB
ID:	474661

                Comment

                Working...