Ad Widget

Collapse

Erreur lancement service Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aroullier
    Junior Member
    • Jan 2019
    • 7

    #1

    Erreur lancement service Zabbix

    Bonjour,

    Je viens d'installer zabbix sur un serveur Linux, j'arrive bien à acceder à l'interface de Zabbix, par contre en bas de page je vois ce message

    Le serveur Zabbix n'est pas en cours d’exécution les information affiché peuvent ne pas être actuel"

    Dans mon phpmyadmin je vois bien mon utilisateur Zabbix avec l'ensemble des droits, je ne vois pas d'ou vient le problème. Une idée ?

    Merci
  • Mathieu.T
    Junior Member
    • Jan 2019
    • 21

    #2
    Bonjour,

    Que dit les logs Zabbix ?

    Comment

    • aroullier
      Junior Member
      • Jan 2019
      • 7

      #3
      Bonjour, ou puise je les trouver ?

      Comment

      • Mathieu.T
        Junior Member
        • Jan 2019
        • 21

        #4
        /var/log/zabbix/zabbix_server.log

        Comment

        • aroullier
          Junior Member
          • Jan 2019
          • 7

          #5
          Les voicis

          Code:
            6749:20190113:083646.282 Starting Zabbix Server. Zabbix 4.0.3 (revision 87993).
            6749:20190113:083646.282 ****** Enabled features ******
            6749:20190113:083646.282 SNMP monitoring:           YES
            6749:20190113:083646.282 IPMI monitoring:           YES
            6749:20190113:083646.282 Web monitoring:            YES
            6749:20190113:083646.282 VMware monitoring:         YES
            6749:20190113:083646.282 SMTP authentication:       YES
            6749:20190113:083646.283 Jabber notifications:      YES
            6749:20190113:083646.283 Ez Texting notifications:  YES
            6749:20190113:083646.283 ODBC:                      YES
            6749:20190113:083646.283 SSH2 support:              YES
            6749:20190113:083646.283 IPv6 support:              YES
            6749:20190113:083646.283 TLS support:               YES
            6749:20190113:083646.283 ******************************
            6749:20190113:083646.283 using configuration file: /etc/zabbix/zabbix_server.conf
            6749:20190113:083646.287 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
            6749:20190113:083646.287 database is down: reconnecting in 10 seconds
            6749:20190113:083656.288 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
            6749:20190113:083656.288 database is down: reconnecting in 10 seconds
            6749:20190113:083706.289 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
            6749:20190113:083706.289 database is down: reconnecting in 10 seconds
            6749:20190113:083716.289 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
            6749:20190113:083716.289 database is down: reconnecting in 10 seconds
            6749:20190113:083726.290 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)
            6749:20190113:083726.290 database is down: reconnecting in 10 seconds

          Comment

          • Mathieu.T
            Junior Member
            • Jan 2019
            • 21

            #6
            Problème d'accès à la base. La base est installé localement ? Avez vous bien renseigner le mot de passe dans le fichier "/etc/zabbix/zabbix_server.conf"?

            Comment

            • aroullier
              Junior Member
              • Jan 2019
              • 7

              #7
              Normalement la base est installé quand je lance phpmyadmin je la voi bien ainssi que les tables, pour le mot de passe une idée de la ligne ou il doit être renseigné ?

              Comment

              • Mathieu.T
                Junior Member
                • Jan 2019
                • 21

                #8
                Dans "/etc/zabbix/zabbix_server.conf", il faut mettre à jour les lignes suivantes si cela n'a pas été fait.

                HTML Code:
                # Default:
                 DBHost=hostnamedelabase
                
                ### Option: DBName
                #       Database name.
                #       For SQLite3 path to database file must be provided. DBUser and DBPassword are ignored.
                #
                # Mandatory: yes
                # Default:
                # DBName=
                
                DBName=zabbix
                
                ### Option: DBSchema
                #       Schema name. Used for IBM DB2 and PostgreSQL.
                #
                # Mandatory: no
                # Default:
                # DBSchema=
                
                ### Option: DBUser
                #       Database user. Ignored for SQLite.
                #
                # Mandatory: no
                # Default:
                # DBUser=
                
                DBUser=zabbix
                
                ### Option: DBPassword
                #       Database password. Ignored for SQLite.
                #       Comment this line if no password is used.
                #
                # Mandatory: no
                # Default:
                DBPassword=passwordamettreici

                Comment

                • aroullier
                  Junior Member
                  • Jan 2019
                  • 7

                  #9
                  Voici ce que j'obtient c'est moi il y a Option: DPPasseword et le mot de passe

                  Code:
                  DBUser=zabbix
                  
                  ### Option: DBPassword=****
                  #    Database password.
                  #    Comment this line if no password is used.
                  #
                  # Mandatory: no
                  # Default:
                  # DBPassword=****

                  Comment

                  • Mathieu.T
                    Junior Member
                    • Jan 2019
                    • 21

                    #10
                    Faut enlever le hashtag avant DBPassword.

                    Comment

                    • aroullier
                      Junior Member
                      • Jan 2019
                      • 7

                      #11
                      Super, un grand merci pour ton aide, çà fonctionne reste plus qu'a apprivoisé la bête.

                      Comment

                      • Mathieu.T
                        Junior Member
                        • Jan 2019
                        • 21

                        #12
                        De rien, bonne continuation.

                        Comment

                        Working...