Ad Widget

Collapse

zabbix server not running the info displayed may not be current

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • netofficer
    Junior Member
    • Nov 2017
    • 15

    #1

    zabbix server not running the info displayed may not be current

    i have installed zabbix 3.4.3 on centos 7 using maria db as data baes n having the same ptoblem zabbix server is not running the information displayed may not be current. I have disable the firewall and selinux. Upon typing command systemctl status zabbix-server I got following output:
    systemctl status zabbix-server
    ● zabbix-server.service – Zabbix Server
    Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
    Active: active (running) since Wed 2017-11-08 15:31:45 PKT; 26min ago
    Process: 79711 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=0/SUCCESS)
    Process: 79718 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
    Main PID: 79720 (zabbix_server)
    CGroup: /system.slice/zabbix-server.service
    └─79720 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
    Nov 08 15:31:45 localhost.localdomain systemd[1]: zabbix-server.service: main process exited, code=exited, status=1/FAILURE
    Nov 08 15:31:45 localhost.localdomain systemd[1]: Unit zabbix-server.service entered failed state.
    Nov 08 15:31:45 localhost.localdomain systemd[1]: zabbix-server.service failed.
    Nov 08 15:31:45 localhost.localdomain systemd[1]: Starting Zabbix Server…
    Nov 08 15:31:45 localhost.localdomain systemd[1]: PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start.
    Nov 08 15:31:45 localhost.localdomain systemd[1]: Started Zabbix Server


    kindly help me out
  • kaspars.mednis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2017
    • 349

    #2
    If Zabbix server could not start, i suggest first looking at /var/log/zabbix/zabbix_server.log
    There may be some error message pointing to the problem

    Regards,
    Kaspars

    Comment


    • alejo.ge11
      alejo.ge11 commented
      Editing a comment
      It works for me. Thank You... I could watch the real problem!
  • netofficer
    Junior Member
    • Nov 2017
    • 15

    #3
    thank you for your response can you please tell which type of log are most relevant the most recent one or the last ones. here are the most recent log scripts of zabbix server. have a look
    68207:20171018:234701.564 Starting Zabbix Server. Zabbix 3.4.3 (revision 73588).
    68207:20171018:234701.564 ****** Enabled features ******
    68207:20171018:234701.564 SNMP monitoring: YES
    68207:20171018:234701.564 IPMI monitoring: YES
    68207:20171018:234701.565 Web monitoring: YES
    68207:20171018:234701.565 VMware monitoring: YES
    68207:20171018:234701.565 SMTP authentication: YES
    68207:20171018:234701.565 Jabber notifications: YES
    68207:20171018:234701.565 Ez Texting notifications: YES
    68207:20171018:234701.565 ODBC: YES
    68207:20171018:234701.565 SSH2 support: YES
    68207:20171018:234701.565 IPv6 support: YES
    68207:20171018:234701.565 TLS support: YES
    68207:20171018:234701.565 ******************************
    68207:20171018:234701.565 using configuration file: /etc/zabbix/zabbix_server.conf
    68207:20171018:234701.565 cannot set resource limit: [13] Permission denied
    68207:20171018:234701.565 cannot disable core dump, exiting...
    Last edited by netofficer; 08-11-2017, 17:31.

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #4
      Please refer to the comments in the URL below and set up SELinux.

      Comment

      • netofficer
        Junior Member
        • Nov 2017
        • 15

        #5
        already disabled selinux but still the issue is there

        Comment

        • Atsushi
          Senior Member
          • Aug 2013
          • 2028

          #6
          How did you set it to disabled?
          Have you restarted the OS after setting?

          Please check the current state of SELinux with getenforce command.

          Comment

          • netofficer
            Junior Member
            • Nov 2017
            • 15

            #7
            I check but its again saying enforcing....kindly tell me where to enter the code

            Comment

            • kaspars.mednis
              Senior Member
              Zabbix Certified Trainer
              Zabbix Certified SpecialistZabbix Certified Professional
              • Oct 2017
              • 349

              #8
              I think here is everything about disabling SELINUX on Centos



              regards,
              Kaspars

              Comment

              • netofficer
                Junior Member
                • Nov 2017
                • 15

                #9
                thanks for your reply i disabled it one but still problem was there

                Comment

                • Atsushi
                  Senior Member
                  • Aug 2013
                  • 2028

                  #10
                  To temporarily set it to Permissive and make it executable, use the setenforce command.

                  Code:
                  # setenforce 0
                  If you want to permanently set it to Disabled, change the SELINUX line in /etc/selinux/config.

                  Code:
                  SELINUX=disabled
                  Restarting the OS is necessary to enable this setting.

                  Comment

                  • netofficer
                    Junior Member
                    • Nov 2017
                    • 15

                    #11
                    i set core dump= no
                    selinux status permissive
                    still the server is not running zabbix home page is attached
                    Attached Files

                    Comment

                    • Atsushi
                      Senior Member
                      • Aug 2013
                      • 2028

                      #12
                      Has the zabbix_server process been started?

                      Code:
                      # ps -ef|grep zabbix_server
                      Is something outputted in the log?
                      (/var/log/zabbix/zabbix_server.log)

                      If the zabbix_server process is running, did you set firewalld?

                      Comment

                      • netofficer
                        Junior Member
                        • Nov 2017
                        • 15

                        #13
                        out put of above command
                        zabbix 2986 1 0 13:12 ? 00:00:00 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
                        root 3297 2839 0 13:15 pts/0 00:00:00 grep --color=auto zabbix_server

                        Comment

                        • netofficer
                          Junior Member
                          • Nov 2017
                          • 15

                          #14
                          i just set selinux to permissive set coredump to 0 log file contents are listed below yes i disabled firewalld:
                          68207:20171018:234701.564 Starting Zabbix Server. Zabbix 3.4.3 (revision 73588).
                          68207:20171018:234701.564 ****** Enabled features ******
                          68207:20171018:234701.564 SNMP monitoring: YES
                          68207:20171018:234701.564 IPMI monitoring: YES
                          68207:20171018:234701.565 Web monitoring: YES
                          68207:20171018:234701.565 VMware monitoring: YES
                          68207:20171018:234701.565 SMTP authentication: YES
                          68207:20171018:234701.565 Jabber notifications: YES
                          68207:20171018:234701.565 Ez Texting notifications: YES
                          68207:20171018:234701.565 ODBC: YES
                          68207:20171018:234701.565 SSH2 support: YES
                          68207:20171018:234701.565 IPv6 support: YES
                          68207:20171018:234701.565 TLS support: YES
                          68207:20171018:234701.565 ******************************
                          68207:20171018:234701.565 using configuration file: /etc/zabbix/zabbix_server.conf
                          68207:20171018:234701.565 cannot set resource limit: [13] Permission denied
                          68207:20171018:234701.565 cannot disable core dump, exiting...

                          Comment

                          • Atsushi
                            Senior Member
                            • Aug 2013
                            • 2028

                            #15
                            Please check the setting of SELinux.

                            Comment

                            Working...