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

    #16
    I checked the status of firewall selinux and zabbix still the problem is there
    systemctl status firewalld
    ● firewalld.service - firewalld - dynamic firewall daemon
    Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
    Active: inactive (dead)
    Docs: man:firewalld(1)

    [root@localhost ~]# systemctl status zabbix-server.service
    ● zabbix-server.service - Zabbix Server
    Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
    Active: active (running) since Fri 2017-11-10 15:27:29 PKT; 6min ago
    Process: 1017 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
    Main PID: 1257 (zabbix_server)
    CGroup: /system.slice/zabbix-server.service
    └─1257 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf

    Nov 10 15:27:25 localhost.localdomain systemd[1]: Starting Zabbix Server...
    Nov 10 15:27:29 localhost.localdomain systemd[1]: Started Zabbix Server.
    [root@localhost ~]# sestatus
    SELinux status: enabled
    SELinuxfs mount: /sys/fs/selinux
    SELinux root directory: /etc/selinux
    Loaded policy name: targeted
    Current mode: permissive
    Mode from config file: permissive
    Policy MLS status: enabled
    Policy deny_unknown status: allowed
    Max kernel policy version: 28

    Comment

    • netofficer
      Junior Member
      • Nov 2017
      • 15

      #17
      Zabbix disables core dumps if compiled with encryption.....

      @Astushi
      Isaw documentation of zabbix it says "Zabbix disables core dumps if compiled with encryption and does not start if system does not allow disabling of core dumps". kindly tell me how to compile it with encryption.

      Comment

      • Atsushi
        Senior Member
        • Aug 2013
        • 2028

        #18
        It is not necessary to solve the problem that is occurring now.
        Please restart the Zabbix server again and show the latest log of the Zabbix server.

        Code:
        # systemctl stop zabbix-server
        # systemctl start zabbix-server

        Comment

        • netofficer
          Junior Member
          • Nov 2017
          • 15

          #19
          log file output

          @Atsushi
          the log file output:
          75325:20171115:110632.139 [Z3001] connection to database 'zabbixdb' failed: [1045] Access denied for user 'zabbixuser'@'localhost' (using password: NO

          Comment

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

            #20
            You must specify the correct password for zabbix mysql user in /etc/zabbix/zabbix_server.conf.
            Don't forget to remove the # before the line

            Code:
            ### Option: DBPassword
            # DBPassword=

            This password was created with your zabbix DB, more info in the link



            Regards,
            Kaspars

            Comment

            • netofficer
              Junior Member
              • Nov 2017
              • 15

              #21
              problem solved
              I disabled selinux
              recheck the sql settings
              and restarted the system....now zabbix server is running

              Comment

              • mcolisi
                Junior Member
                • Nov 2021
                • 1

                #22
                Hi team,

                Please assist ,zabbix is nolonger running ,i ave followed the cache size solution bt still issue persist......i have changed cache size from 8 to 24M ,restarted zabbix but issue remains the same...see below log

                19072:20211114:001024.488 __mem_malloc: skipped 2 asked 1152 skip_min 696 skip_max 848
                19072:20211114:001024.488 [file:dbconfig.c,line:94] __zbx_mem_realloc(): out of memory (requested 1152 bytes)
                19072:20211114:001024.488 [file:dbconfig.c,line:94] __zbx_mem_realloc(): please increase CacheSize configuration parameter
                19072:20211114:001024.488 === memory statistics for configuration cache ===
                19072:20211114:001024.488 free chunks of size 64 bytes: 2
                19072:20211114:001024.488 free chunks of size 72 bytes: 1
                19072:20211114:001024.488 free chunks of size >= 256 bytes: 2
                19072:20211114:001024.488 min chunk size: 64 bytes
                19072:20211114:001024.488 max chunk size: 848 bytes
                19072:20211114:001024.488 memory of total size 83885704 bytes fragmented into 732376 chunks
                19072:20211114:001024.488 of those, 1744 bytes are in 5 free chunks
                19072:20211114:001024.488 of those, 72165960 bytes are in 732371 used chunks
                19072:20211114:001024.488 ================================
                19072:20211114:001024.488 === Backtrace: ===
                19072:20211114:001024.488 15: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](zbx_backtrace+0x4e) [0x564b57c5c464]
                19072:20211114:001024.488 14: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](__zbx_mem_realloc+0x16b) [0x564b57c577bf]
                19072:20211114:001024.488 13: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](+0xd2ea8) [0x564b57c1fea8]
                19072:20211114:001024.488 12: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](+0x111605) [0x564b57c5e605]
                19072:20211114:001024.488 11: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](zbx_binary_heap_insert+0x73) [0x564b57c5eb76]
                19072:20211114:001024.488 10: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](+0xd3d0f) [0x564b57c20d0f]
                19072:20211114:001024.488 9: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](+0xe842c) [0x564b57c3542c]
                19072:20211114:001024.488 8: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](DCconfig_get_poller_items+0x2c6) [0x564b57c3575f]
                19072:20211114:001024.488 7: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](+0x4f9d4) [0x564b57b9c9d4]
                19072:20211114:001024.488 6: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](poller_thread+0x1b0) [0x564b57b9faec]
                19072:20211114:001024.488 5: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](zbx_thread_start+0x37) [0x564b57c6a6a6]
                19072:20211114:001024.488 4: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](MAIN_ZABBIX_ENTRY+0xa7f) [0x564b57b8824e]
                19072:20211114:001024.488 3: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](daemon_start+0x2ff) [0x564b57c5bbc5]
                19072:20211114:001024.488 2: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](main+0x305) [0x564b57b877b9]
                19072:20211114:001024.488 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xe7) [0x7f3f34342b97]
                19072:20211114:001024.488 0: /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000008 sec, getting values](_start+0x2a) [0x564b57b868ca]
                19056:20211114:001024.521 One child process died (PID:19072,exitcode/signal:1). Exiting ...
                19056:20211114:001024.587 syncing history data...
                19056:20211114:001024.613 syncing history data... 100.000000%
                19056:20211114:001024.613 syncing history data done
                19056:20211114:001024.613 syncing trend data...
                19056:20211114:001024.629 syncing trend data done
                19056:20211114:001024.629 Zabbix Server stopped. Zabbix 4.0.19 (revision a566532084).
                19131:20211114:001035.124 Starting Zabbix Server. Zabbix 4.0.19 (revision a566532084).
                19131:20211114:001035.124 ****** Enabled features ******
                19131:20211114:001035.124 SNMP monitoring: YES
                19131:20211114:001035.124 IPMI monitoring: YES
                19131:20211114:001035.124 Web monitoring: YES
                19131:20211114:001035.124 VMware monitoring: YES

                Comment

                Working...