Ad Widget

Collapse

When I install Zabbix, I can't select the initialization interface

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kcw294196204
    Junior Member
    • Aug 2020
    • 15

    #1

    When I install Zabbix, I can't select the initialization interface

    My operating system is CentoS7.3 and I compiled and installed Zabbix6.2
    Click image for larger version

Name:	2.png
Views:	139
Size:	36.1 KB
ID:	449050
    Last edited by kcw294196204; 02-08-2022, 03:00.
  • kcw294196204
    Junior Member
    • Aug 2020
    • 15

    #2
    Can someone help me? What's the reason for this?

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Have you installed MySQL server? And is the service started? Also, have you created the database and connection account and populated the initial data?

      Comment

      • vladimir_lv
        Senior Member
        • May 2022
        • 240

        #4
        Is the SELinux enabled on the server?
        Code:
        getenforce

        Comment


        • kcw294196204
          kcw294196204 commented
          Editing a comment
          selinux is disable.
      • kcw294196204
        Junior Member
        • Aug 2020
        • 15

        #5
        Originally posted by vladimir_lv
        Is the SELinux enabled on the server?
        Code:
        getenforce
        selinux is disable.

        Comment

        • kcw294196204
          Junior Member
          • Aug 2020
          • 15

          #6
          Originally posted by Atsushi
          Have you installed MySQL server? And is the service started? Also, have you created the database and connection account and populated the initial data?
          The database is fine. I tested the connection manually

          Comment

          • vladimir_lv
            Senior Member
            • May 2022
            • 240

            #7
            What is the PHP version on the server?

            Comment

            • kcw294196204
              Junior Member
              • Aug 2020
              • 15

              #8
              Originally posted by vladimir_lv
              What is the PHP version on the server?
              php version is PHP7.4.30

              Comment


              • Atsushi
                Atsushi commented
                Editing a comment
                If you are building a PHP environment using packages, have you installed packages such as php-mysqlnd for access the database?
            • kcw294196204
              Junior Member
              • Aug 2020
              • 15

              #9
              Originally posted by kcw294196204

              php version is PHP7.4.30
              Do you have any problems looking at this information in PHP output?
              Click image for larger version

Name:	22.jpg
Views:	99
Size:	246.2 KB
ID:	449100
              Attached Files

              Comment

              • cyber
                Senior Member
                Zabbix Certified SpecialistZabbix Certified Professional
                • Dec 2006
                • 4807

                #10
                Is that DB listening on localhost? What happens if you try to connect to real IP/hostname ?

                Comment

                • kcw294196204
                  Junior Member
                  • Aug 2020
                  • 15

                  #11
                  Originally posted by cyber
                  Is that DB listening on localhost? What happens if you try to connect to real IP/hostname ?
                  • I tried both IP and real host names

                  Comment

                  • tim.mooney
                    Senior Member
                    • Dec 2012
                    • 1427

                    #12
                    Originally posted by kcw294196204
                    My operating system is CentoS7.3 and I compiled and installed Zabbix6.2
                    The pre-built server packages aren't available for CentOS 7.3 because Zabbix 5.2 and later want newer versions of some software (including OpenSSL), so I'm a bit impressed that you were able to get it to compile. Something like AlmaLinux 8.x would have been an easier path, but your install should still work.

                    You don't say anything about what database flavor and version (MySQL 8.0? MariaDB 10.X.Y?) and how you installed them (SCL packages for MariaDB?). Have you verified that the place that your database server is creating its socket is the same place that the PHP mysql config is looking for it? Does mysqli.default_socket_path match where mysqld actually created it?

                    Comment

                    • kcw294196204
                      Junior Member
                      • Aug 2020
                      • 15

                      #13
                      Originally posted by tim.mooney

                      The pre-built server packages aren't available for CentOS 7.3 because Zabbix 5.2 and later want newer versions of some software (including OpenSSL), so I'm a bit impressed that you were able to get it to compile. Something like AlmaLinux 8.x would have been an easier path, but your install should still work.

                      You don't say anything about what database flavor and version (MySQL 8.0? MariaDB 10.X.Y?) and how you installed them (SCL packages for MariaDB?). Have you verified that the place that your database server is creating its socket is the same place that the PHP mysql config is looking for it? Does mysqli.default_socket_path match where mysqld actually created it?
                      hi,Say hello to you! I have checked php.ini and specified mysqL. sock and restarted PHP74, but the problem still exists

                      Comment

                      • kcw294196204
                        Junior Member
                        • Aug 2020
                        • 15

                        #14
                        Originally posted by kcw294196204

                        hi,Say hello to you! I have checked php.ini and specified mysqL. sock and restarted PHP74, but the problem still exists
                        Where can I see the error log?

                        Comment

                        Working...