Ad Widget

Collapse

zabbix server is not running:the information displayed may not be current

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • martinta
    Junior Member
    • Sep 2018
    • 1

    #16
    Originally posted by alk
    You should set proper database password in /etc/zabbix/zabbix_server.conf

    find DBPassword in the configuration file, uncomment it, and set it to your password, like:

    Code:
    DBPassword=mypassword
    And, for the first time users like me, this was the solution.

    thanks.

    Comment

    • speculatrix
      Junior Member
      • Jan 2018
      • 7

      #17
      I had this problem with a fresh zabbix 4.0.4 instance on centos7
      the log said zabbix server couldn't write to /var/run/zabbix
      it turned out to be selinux, I did "sudo setenforce permissive" and restarted zabbix-server and everything is now fine, so I made it permanent by setting that in the /etc/selinux/config file
      Last edited by speculatrix; 19-02-2019, 18:12. Reason: was /var/run/zabbix not /var/log/zabbix it couldn't write to

      Comment

      • BamBooo
        Banned
        • Sep 2019
        • 1

        #18
        $ DB ["TYPE"] = "MYSQL";
        $ DB ["SERVER"] = "localhost";
        $ DB ["PORT"] = "0";
        $ DB ["DATABASE"] = "zabbix";
        $ DB ["NGƯỜI DÙNG"] = "zabbix";
        $ DB ["PASSWORD"] = "";
        $ ZBX_SERVER = "localhost";
        $ ZBX_SERVER_PORT = "10051";
        $ ZBX_SERVER_NAME = "";


        * The system reported an error somewhere in this code ??

        Comment


        • zabbix_noobie
          zabbix_noobie commented
          Editing a comment
          $ DB ["TYPE"] = "MYSQL";
          $ DB ["SERVER"] = "IP of the DB if not running on localhost";
          $ DB ["PORT"] = "0";
          $ DB ["DATABASE"] = "zabbix";
          $ DB ["NGƯỜI DÙNG"] = "zabbix";
          $ DB ["PASSWORD"] = "password of DB user";
          $ ZBX_SERVER = "localhost";
          $ ZBX_SERVER_PORT = "10051";
          $ ZBX_SERVER_NAME = "";
      • takai_sama
        Junior Member
        • Jan 2021
        • 6

        #19
        Originally posted by alesantana7
        Just increase Cache_Size

        I have face the same trouble with my Zabbix Server. I just increase Cache_Size on /etc/zabbix/zabbix_server.conf to 32M
        this is solved my problem, thanks

        Comment

        • m!k3yn
          Junior Member
          • Feb 2021
          • 1

          #20
          Hie guys, so this is what my log file is showing, how can I deal with this?

          472645:20210228:032602.038 cannot connect to alert manager service: Cannot connect to service "alerter": [13] Permission denied.
          472652:20210228:032602.040 cannot connect to lld manager service: Cannot connect to service "lld": [13] Permission denied.
          472649:20210228:032602.042 cannot connect to preprocessing service: Cannot connect to service "preprocessing": [13] Permission denied.
          472644:20210228:032602.044 cannot connect to alert manager service: Cannot connect to service "alerter": [13] Permission denied.
          472647:20210228:032602.046 cannot connect to preprocessing service: Cannot connect to service "preprocessing": [13] Permission denied.
          472643:20210228:032602.048 cannot connect to alert manager service: Cannot connect to service "alerter": [13] Permission denied.
          472648:20210228:032602.050 cannot connect to preprocessing service: Cannot connect to service "preprocessing": [13] Permission denied.
          472651:20210228:032602.051 cannot connect to lld manager service: Cannot connect to service "lld": [13] Permission denied.
          472653:20210228:032602.052 cannot initialize alert loader: Cannot connect to service "alerter": [13] Permission denied.
          472616:20210228:032602.062 One child process died (PID:472653,exitcode/signal:1). Exiting ...
          zabbix_server [472616]: Error waiting for process with PID 472653: [10] No child processes
          472616:20210228:032602.074 syncing trend data...
          472616:20210228:032602.074 syncing trend data done
          472616:20210228:032602.074 Zabbix Server stopped. Zabbix 5.2.5 (revision 1afd0ded11).

          Comment

          Working...