Ad Widget

Collapse

zabbix server not running web interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andrey123987456
    Member
    • Apr 2019
    • 44

    #1

    zabbix server not running web interface

    Good afternoon everyone, please help me with the error, I'm new to this business. I installed everything without errors, the zabbix server and the agent are running and active, but when I go to the web interface, he writes that the server is not active, he has climbed the entire Internet and tried many things, but the error did not go away. thanks in advance for your reply
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Have you enabled SELinux?
    If you have enabled it, please check the settings. You need to allow network access from the web server to the Zabbix server process.

    Comment

    • Andrey123987456
      Member
      • Apr 2019
      • 44

      #3

      I turned it on and off, at the moment it's off

      # This file controls the state of SELinux on the system.
      # SELINUX= can take one of these three values:
      # enforcing - SELinux security policy is enforced.
      # permissive - SELinux prints warnings instead of enforcing.
      # disabled - No SELinux policy is loaded.
      SELINUX=enforcing
      # SELINUXTYPE= can take one of three values:
      # targeted - Targeted processes are protected,
      # minimum - Modification of targeted policy. Only selected processes are protected.
      # mls - Multi Level Security protection.
      SELINUX=disabled
      ~

      setenforce 0

      Comment

      • Andrey123987456
        Member
        • Apr 2019
        • 44

        #4

        I looked at how to configure if it is enabled, but it still did not help, the fact is that the zabbix server zabbix agent installed without a single error

        Comment


        • Atsushi
          Atsushi commented
          Editing a comment
          It is important not to say that the installation did not give an error, but to have the proper permissions set when it works.
          Use the getenforce command to check if SELinux is disabled.

          # getenforce
          Disabled
          #
      • Andrey123987456
        Member
        • Apr 2019
        • 44

        #5

        I entered the command getenforce is written Permissive

        Comment

        • Andrey123987456
          Member
          • Apr 2019
          • 44

          #6
          it turns out it's on

          Comment

          • Andrey123987456
            Member
            • Apr 2019
            • 44

            #7
            then please tell me how best to configure it, leave it on or off

            Comment

            • Andrey123987456
              Member
              • Apr 2019
              • 44

              #8
              [root@localhost ~]# getenforce
              Enforcing
              [root@localhost ~]# sestatus
              SELinux status: enabled
              SELinuxfs mount: /sys/fs/selinux
              SELinux root directory: /etc/selinux
              Loaded policy name: targeted
              Current mode: enforcing
              Mode from config file: enforcing
              Policy MLS status: enabled
              Policy deny_unknown status: allowed
              Max kernel policy version: 31

              Comment

              • Andrey123987456
                Member
                • Apr 2019
                • 44

                #9
                I turned off Selinux

                Comment

                • Andrey123987456
                  Member
                  • Apr 2019
                  • 44

                  #10
                  but still a mistake

                  Comment

                  • Andrey123987456
                    Member
                    • Apr 2019
                    • 44

                    #11
                    [root@localhost ~]# getenforce
                    Disabled
                    Attached Files

                    Comment

                    • Andrey123987456
                      Member
                      • Apr 2019
                      • 44

                      #12
                      Is this a mistake?
                      Attached Files

                      Comment

                      • Andrey123987456
                        Member
                        • Apr 2019
                        • 44

                        #13
                        this is problem ?
                        Attached Files

                        Comment

                        Working...