Ad Widget

Collapse

Zabbix сервер не запущен. Отображаемая информация может быть не актуальной.

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Saltoon
    Junior Member
    • Oct 2021
    • 5

    #1

    Zabbix сервер не запущен. Отображаемая информация может быть не актуальной.

    Здравствуйте, друзья!
    Подскажите, в чем может быть дело?
    Все работало и вдруг "Zabbix сервер не запущен. Отображаемая информация может быть не актуальной.".
    Куда посмотреть? Что прислать?
    В линуксе не силен, сразу извиняюсь за это.

    root@zabbix-srv:/home/user# uname -a
    Linux zabbix-srv 5.10.0-8-amd64 #1 SMP Debian 5.10.46-5 (2021-09-23) x86_64 GNU/Linux
    root@zabbix-srv:/home/user# php -v
    PHP 7.4.21 (cli) (built: Jul 2 2021 03:59:48) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.21, Copyright (c), by Zend Technologies
    root@zabbix-srv:/home/user# psql -V
    psql (PostgreSQL) 14.0 (Debian 14.0-1.pgdg110+1)

    log

    18182:20211011:111549.694 Starting Zabbix Server. Zabbix 5.4.5 (revision 7d6ebba1ba).
    18182:20211011:111549.694 ****** Enabled features ******
    18182:20211011:111549.694 SNMP monitoring: YES
    18182:20211011:111549.694 IPMI monitoring: YES
    18182:20211011:111549.694 Web monitoring: YES
    18182:20211011:111549.694 VMware monitoring: YES
    18182:20211011:111549.694 SMTP authentication: YES
    18182:20211011:111549.694 ODBC: YES
    18182:20211011:111549.694 SSH support: YES
    18182:20211011:111549.695 IPv6 support: YES
    18182:20211011:111549.695 TLS support: YES
    18182:20211011:111549.695 ******************************
    18182:20211011:111549.695 using configuration file: /etc/zabbix/zabbix_server.conf
    18182:20211011:111549.745 current database version (mandatory/optional): 05040000/05040000
    18182:20211011:111549.745 required mandatory version: 05040000
    18182:20211011:111549.799 server #0 started [main process]
    18191:20211011:111549.800 server #1 started [configuration syncer #1]
    18191:20211011:111550.096 __mem_malloc: skipped 0 asked 256 skip_min 18446744073709551615 skip_max 0
    18191:20211011:111550.096 [file:dbconfig.c,line:102] __zbx_mem_malloc(): out of memory (requested 256 bytes)
    18191:20211011:111550.096 [file:dbconfig.c,line:102] __zbx_mem_malloc(): please increase CacheSize configuration parameter
    18191:20211011:111550.096 === memory statistics for configuration cache ===
    18191:20211011:111550.096 free chunks of size 24 bytes: 27
    18191:20211011:111550.096 free chunks of size 32 bytes: 3
    18191:20211011:111550.096 min chunk size: 24 bytes
    18191:20211011:111550.096 max chunk size: 32 bytes
    18191:20211011:111550.096 memory of total size 7321192 bytes fragmented into 66691 chunks
    18191:20211011:111550.096 of those, 744 bytes are in 30 free chunks
    18191:20211011:111550.096 of those, 7320448 bytes are in 66661 used chunks
    18191:20211011:111550.096 of those, 1067040 bytes are used by allocation overhead
    18191:20211011:111550.096 ================================
    18191:20211011:111550.096 === Backtrace: ===
    18191:20211011:111550.097 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x56346773984e]
    18191:20211011:111550.097 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_mem_malloc+0x180) [0x563467734393]
    18191:20211011:111550.097 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x19ec6f) [0x5634676bec6f]
    18191:20211011:111550.097 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x2269fe) [0x5634677469fe]
    18191:20211011:111550.097 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_vector_ptr_append+0x1c) [0x563467746bb9]
    18191:20211011:111550.097 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1ab391) [0x5634676cb391]
    18191:20211011:111550.097 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x1368) [0x5634676cdcf8]
    18191:20211011:111550.097 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x122) [0x56346758736a]
    18191:20211011:111550.097 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x563467749bd1]
    18191:20211011:111550.097 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0xb3b) [0x5634675759ee]
    18191:20211011:111550.097 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](daemon_start+0x2ff) [0x56346773945c]
    18191:20211011:111550.097 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x2f5) [0x563467574ddd]
    18191:20211011:111550.097 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7fbd027efd0a]
    18191:20211011:111550.097 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2a) [0x563467573cba]
    18182:20211011:111550.100 One child process died (PID:18191,exitcode/signal:1). Exiting ...
    18182:20211011:111550.110 syncing trend data...
    18182:20211011:111550.110 syncing trend data done
    18182:20211011:111550.110 Zabbix Server stopped. Zabbix 5.4.5 (revision 7d6ebba1ba).

    Last edited by Saltoon; 11-10-2021, 12:58.
  • Answer selected by Kos at 09-11-2021, 13:04.
    wins
    Senior Member
    • Sep 2014
    • 307

    "please increase CacheSize configuration parameter"

    Comment

    • Glencoe
      Zabbix developer
      • Oct 2019
      • 152

      #2
      Смотреть прежде всего в лог сервера zabbix_server.log. Обычно находится с /var/log/zabbix.

      Comment

      • Saltoon
        Junior Member
        • Oct 2021
        • 5

        #3
        Originally posted by Glencoe
        Смотреть прежде всего в лог сервера zabbix_server.log. Обычно находится с /var/log/zabbix.
        18182:20211011:111549.694 Starting Zabbix Server. Zabbix 5.4.5 (revision 7d6ebba1ba).
        18182:20211011:111549.694 ****** Enabled features ******
        18182:20211011:111549.694 SNMP monitoring: YES
        18182:20211011:111549.694 IPMI monitoring: YES
        18182:20211011:111549.694 Web monitoring: YES
        18182:20211011:111549.694 VMware monitoring: YES
        18182:20211011:111549.694 SMTP authentication: YES
        18182:20211011:111549.694 ODBC: YES
        18182:20211011:111549.694 SSH support: YES
        18182:20211011:111549.695 IPv6 support: YES
        18182:20211011:111549.695 TLS support: YES
        18182:20211011:111549.695 ******************************
        18182:20211011:111549.695 using configuration file: /etc/zabbix/zabbix_server.conf
        18182:20211011:111549.745 current database version (mandatory/optional): 05040000/05040000
        18182:20211011:111549.745 required mandatory version: 05040000
        18182:20211011:111549.799 server #0 started [main process]
        18191:20211011:111549.800 server #1 started [configuration syncer #1]
        18191:20211011:111550.096 __mem_malloc: skipped 0 asked 256 skip_min 18446744073709551615 skip_max 0
        18191:20211011:111550.096 [file:dbconfig.c,line:102] __zbx_mem_malloc(): out of memory (requested 256 bytes)
        18191:20211011:111550.096 [file:dbconfig.c,line:102] __zbx_mem_malloc(): please increase CacheSize configuration parameter
        18191:20211011:111550.096 === memory statistics for configuration cache ===
        18191:20211011:111550.096 free chunks of size 24 bytes: 27
        18191:20211011:111550.096 free chunks of size 32 bytes: 3
        18191:20211011:111550.096 min chunk size: 24 bytes
        18191:20211011:111550.096 max chunk size: 32 bytes
        18191:20211011:111550.096 memory of total size 7321192 bytes fragmented into 66691 chunks
        18191:20211011:111550.096 of those, 744 bytes are in 30 free chunks
        18191:20211011:111550.096 of those, 7320448 bytes are in 66661 used chunks
        18191:20211011:111550.096 of those, 1067040 bytes are used by allocation overhead
        18191:20211011:111550.096 ================================
        18191:20211011:111550.096 === Backtrace: ===
        18191:20211011:111550.097 13: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_backtrace+0x3f) [0x56346773984e]
        18191:20211011:111550.097 12: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](__zbx_mem_malloc+0x180) [0x563467734393]
        18191:20211011:111550.097 11: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x19ec6f) [0x5634676bec6f]
        18191:20211011:111550.097 10: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x2269fe) [0x5634677469fe]
        18191:20211011:111550.097 9: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_vector_ptr_append+0x1c) [0x563467746bb9]
        18191:20211011:111550.097 8: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](+0x1ab391) [0x5634676cb391]
        18191:20211011:111550.097 7: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](DCsync_configuration+0x1368) [0x5634676cdcf8]
        18191:20211011:111550.097 6: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](dbconfig_thread+0x122) [0x56346758736a]
        18191:20211011:111550.097 5: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](zbx_thread_start+0x37) [0x563467749bd1]
        18191:20211011:111550.097 4: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](MAIN_ZABBIX_ENTRY+0xb3b) [0x5634675759ee]
        18191:20211011:111550.097 3: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](daemon_start+0x2ff) [0x56346773945c]
        18191:20211011:111550.097 2: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](main+0x2f5) [0x563467574ddd]
        18191:20211011:111550.097 1: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7fbd027efd0a]
        18191:20211011:111550.097 0: /usr/sbin/zabbix_server: configuration syncer [syncing configuration](_start+0x2a) [0x563467573cba]
        18182:20211011:111550.100 One child process died (PID:18191,exitcode/signal:1). Exiting ...
        18182:20211011:111550.110 syncing trend data...
        18182:20211011:111550.110 syncing trend data done
        18182:20211011:111550.110 Zabbix Server stopped. Zabbix 5.4.5 (revision 7d6ebba1ba).

        Comment

        • wins
          Senior Member
          • Sep 2014
          • 307

          #4
          "please increase CacheSize configuration parameter"

          Comment

          • Saltoon
            Junior Member
            • Oct 2021
            • 5

            #5
            Originally posted by wins
            "please increase CacheSize configuration parameter"
            How much is needed?

            Comment

            • wins
              Senior Member
              • Sep 2014
              • 307

              #6
              Ну вам там виднее, сколько у вас щас есть. Зависит от nvps вашего сервера.
              Попробуйте увеличить значение в 2 раза от текущего.

              Comment

              • Saltoon
                Junior Member
                • Oct 2021
                • 5

                #7
                Originally posted by wins
                Ну вам там виднее, сколько у вас щас есть. Зависит от nvps вашего сервера.
                Попробуйте увеличить значение в 2 раза от текущего.
                Сейчас эти параметры вообще закомментированы.

                Comment

                • wins
                  Senior Member
                  • Sep 2014
                  • 307

                  #8
                  Раскомментируйте, увеличьте значение, рестартните сервер

                  Comment

                  • Saltoon
                    Junior Member
                    • Oct 2021
                    • 5

                    #9
                    Originally posted by wins
                    Раскомментируйте, увеличьте значение, рестартните сервер
                    Спасибо за помощь! Поставил 256М вроде работает.

                    Требуемое быстродействие сервера, новые значения в секунду
                    125.35
                    Надеюсь этого будет достаточно.

                    Comment

                    • wins
                      Senior Member
                      • Sep 2014
                      • 307

                      #10
                      см. панель zabbix health, возможно еще другие параметры придется подкрутить.

                      Comment

                      • Alex_UUU
                        Senior Member
                        • Dec 2018
                        • 541

                        #11
                        Эта надбись появляется не только из за того. что сервер помер. Она появляется из-за того. что невозможно к серверу подцепиться.

                        Comment

                        • VIM
                          Junior Member
                          • Feb 2023
                          • 1

                          #12
                          Проблема такая же только лог другой! Кто-нибудь сталкивался?


                          69689:20230219:004153.241 executing housekeeper
                          69689:20230219:004153.319 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 12 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.078109 sec, idle for 1 hour(s)]
                          69689:20230219:014153.402 executing housekeeper
                          69689:20230219:014153.507 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 3 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.104300 sec, idle for 1 hour(s)]
                          69689:20230219:024153.602 executing housekeeper
                          69689:20230219:024153.628 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.024788 sec, idle for 1 hour(s)]
                          69689:20230219:034153.725 executing housekeeper
                          69689:20230219:034153.754 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.027570 sec, idle for 1 hour(s)]
                          69689:20230219:044153.797 executing housekeeper
                          69689:20230219:044153.831 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.028215 sec, idle for 1 hour(s)]
                          69689:20230219:054153.930 executing housekeeper
                          69689:20230219:054153.959 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.028114 sec, idle for 1 hour(s)]
                          69689:20230219:064154.053 executing housekeeper
                          69689:20230219:064154.082 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.028334 sec, idle for 1 hour(s)]
                          69689:20230219:074154.149 executing housekeeper
                          69689:20230219:074154.177 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.027039 sec, idle for 1 hour(s)]
                          69689:20230219:084154.280 executing housekeeper
                          69689:20230219:084154.308 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.027442 sec, idle for 1 hour(s)]
                          69689:20230219:094154.373 executing housekeeper
                          69689:20230219:094154.447 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 2 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.073347 sec, idle for 1 hour(s)]
                          69689:20230219:104154.533 executing housekeeper
                          69689:20230219:104154.561 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.026788 sec, idle for 1 hour(s)]
                          69689:20230219:114154.638 executing housekeeper
                          69689:20230219:114154.666 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.027248 sec, idle for 1 hour(s)]
                          69689:20230219:124154.681 executing housekeeper
                          69689:20230219:124154.708 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.025733 sec, idle for 1 hour(s)]
                          69689:20230219:134154.802 executing housekeeper
                          69689:20230219:134154.830 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.027105 sec, idle for 1 hour(s)]
                          69689:20230219:144154.885 executing housekeeper
                          69689:20230219:144154.912 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.025902 sec, idle for 1 hour(s)]
                          69689:20230219:154154.938 executing housekeeper
                          69689:20230219:154154.967 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.027708 sec, idle for 1 hour(s)]
                          69689:20230219:164155.021 executing housekeeper
                          69689:20230219:164155.048 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.026343 sec, idle for 1 hour(s)]
                          69689:20230219:174155.109 executing housekeeper
                          69689:20230219:174155.138 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.028392 sec, idle for 1 hour(s)]
                          69689:20230219:184155.218 executing housekeeper
                          69689:20230219:184155.247 housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit, 0 records in 0.027789 sec, idle for 1 hour(s)]
                          69703:20230219:185539.493 Zabbix agent item "system.localtime" on host "ftp_pegatron" failed: first network error, wait for 15 seconds
                          69705:20230219:185547.506 SNMP agent item "system.hw.uptime[hrSystemUptime.0]" on host "raisecom_test" failed: first network error, wait for 15 seconds
                          69706:20230219:185554.528 Zabbix agent item "system.swap.size[,total]" on host "ftp_pegatron" failed: another network error, wait for 15 seconds
                          69706:20230219:185602.536 SNMP agent item "system.net.uptime[sysUpTime.0]" on host "raisecom_test" failed: another network error, wait for 15 seconds
                          69706:20230219:185609.543 Zabbix agent item "agent.ping" on host "ftp_pegatron" failed: another network error, wait for 15 seconds
                          69706:20230219:185617.548 SNMP agent item "net.if.status[ifOperStatus.16]" on host "raisecom_test" failed: another network error, wait for 15 seconds
                          69706:20230219:185624.555 temporarily disabling Zabbix agent checks on host "ftp_pegatron": interface unavailable
                          69706:20230219:185632.560 temporarily disabling SNMP agent checks on host "raisecom_test": interface unavailable
                          69693:20230219:185646.589 item "Zabbix server:vfs.file.contents[/sys/block/sdb/stat]" became not supported: Cannot open file: [2] No such file or directory
                          69674:20230219:191107.074 Got signal [signal:15(SIGTERM),sender_pid:150341,sender_uid:0, reason:0]. Exiting ...
                          69702:20230219:191107.561 Zabbix agent item "system.cpu.util[,softirq]" on host "Zabbix server" failed: first network error, wait for 15 seconds
                          69675:20230219:191107.631 HA manager has been paused
                          69695:20230219:191107.632 syncing history data in progress...
                          69695:20230219:191107.632 syncing history data done
                          69674:20230219:191109.649 syncing trend data...
                          69674:20230219:191109.808 syncing trend data done
                          69675:20230219:191110.129 HA manager has been stopped
                          69674:20230219:191110.138 Zabbix Server stopped. Zabbix 6.2.7 (revision d7e8df54d76).
                          736:20230219:191226.023 Starting Zabbix Server. Zabbix 6.2.7 (revision d7e8df54d76).
                          736:20230219:191226.162 ****** Enabled features ******

                          Comment

                          Working...