zabbix_server无法启动

网友投稿 995 2022-10-07

zabbix_server无法启动

zabbix_server无法启动

1.查看zabbix_server日志

[root@zabbix-server ~]# tail -f /tmp/zabbix_server.log 2182:20220102:230028.893 Starting Zabbix Server. Zabbix 5.0.19 (revision e10b946a33). 2182:20220102:230028.893 ****** Enabled features ****** 2182:20220102:230028.893 SNMP monitoring: YES 2182:20220102:230028.894 IPMI monitoring: NO 2182:20220102:230028.894 Web monitoring: YES 2182:20220102:230028.894 VMware monitoring: YES 2182:20220102:230028.894 SMTP authentication: YES 2182:20220102:230028.894 ODBC: NO 2182:20220102:230028.894 SSH support: NO 2182:20220102:230028.894 IPv6 support: NO 2182:20220102:230028.894 TLS support: NO 2182:20220102:230028.894 ****************************** 2182:20220102:230028.894 using configuration file: /zabbix/etc/zabbix_server.conf 2182:20220102:230028.897 [Z3001] connection to database 'zabbix' failed: [2059] Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory

2.修改zabbix用户的加密方式

[root@zabbix-server ~]# mysql -uroot -p[Warning] Using a password on the command line interface can be insecure.Welcome to the MySQL monitor. Commands end with ; or /g.Your MySQL connection id is 15Server version: 8.0.27 MySQL Community Server - GPLCopyright (c) 2000, 2021, Oracle and/or its affiliates.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '/h' for help. Type '/c' to clear the current input statement.mysql> ALTER USER 'zabbix'@'localhost' IDENTIFIED WITH mysql_native_password BY 'OK, 0 rows affected (0.00 sec)mysql> flush privileges;Query OK, 0 rows affected (0.00 sec)

3.启动zabbix_server

[root@zabbix-server etc]# /etc/init.d/zabbix_server restartRestarting zabbix_server (via systemctl): [ OK ][root@zabbix-server etc]# ps -ef | grep zabbix_serverzabbix 2336 1 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_serverzabbix 2340 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: configuration syncer [synced configuration in 0.108092 sec, idle 60 sec]zabbix 2341 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: alert manager #1 [sent 0, failed 0 alerts, idle 5.015081 sec during 5.015266 sec]zabbix 2342 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: alerter #1 startedzabbix 2343 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: alerter #2 startedzabbix 2344 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: alerter #3 startedzabbix 2345 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: preprocessing manager #1 [queued 0, processed 8 values, idle 5.023885 sec during 5.024117 seczabbix 2346 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: preprocessing worker #1 startedzabbix 2347 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: preprocessing worker #2 startedzabbix 2348 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: preprocessing worker #3 startedzabbix 2349 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: lld manager #1 [processed 0 LLD rules, idle 5.020466sec during 5.023156 sec]zabbix 2350 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: lld worker #1 startedzabbix 2351 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: lld worker #2 startedzabbix 2352 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: housekeeper [startup idle for 30 minutes]zabbix 2353 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: timer #1 [updated 0 hosts, suppressed 0 events in 0.000425 sec, idle 59 sec]zabbix 2355 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #1 [got 0 values in 0.001361 sec, idle 5 sec]zabbix 2357 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: discoverer #1 [processed 0 rules in 0.001167 sec, idle 60 sec]zabbix 2359 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: history syncer #1 [processed 0 values, 0 triggers in 0.000046 sec, idle 1 sec]zabbix 2360 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: history syncer #2 [processed 0 values, 0 triggers in 0.000048 sec, idle 1 sec]zabbix 2361 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: history syncer #3 [processed 2 values, 2 triggers in 0.009955 sec, idle 1 sec]zabbix 2364 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: history syncer #4 [processed 0 values, 0 triggers in 0.000046 sec, idle 1 sec]zabbix 2365 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.002059 sec, idle 3 sec]zabbix 2366 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: proxy poller #1 [exchanged data with 0 proxies in 0.000034 sec, idle 5 sec]zabbix 2368 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: self-monitoring [processed data in 0.000114 sec, idle 1 sec]zabbix 2369 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: task manager [processed 0 task(s) in 0.000928 sec, idle 5 sec]zabbix 2370 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #1 [got 0 values in 0.000031 sec, idle 1 sec]zabbix 2372 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #2 [got 0 values in 0.000049 sec, idle 1 sec]zabbix 2373 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #3 [got 0 values in 0.000257 sec, idle 1 sec]zabbix 2374 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #4 [got 1 values in 0.000299 sec, idle 1 sec]zabbix 2375 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #5 [got 0 values in 0.000053 sec, idle 1 sec]zabbix 2377 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #6 [got 0 values in 0.000113 sec, idle 1 sec]zabbix 2378 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #7 [got 0 values in 0.000030 sec, idle 1 sec]zabbix 2379 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #8 [got 0 values in 0.000041 sec, idle 1 sec]zabbix 2380 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #9 [got 1 values in 0.000191 sec, idle 1 sec]zabbix 2382 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: poller #10 [got 0 values in 0.000711 sec, idle 1 sec]zabbix 2383 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: unreachable poller #1 [got 0 values in 0.001089 sec, idle 5 sec]zabbix 2384 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #1 [processed data in 0.000000 sec, waiting for connection]zabbix 2386 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #2 [processed data in 0.000000 sec, waiting for connection]zabbix 2387 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #3 [processed data in 0.000000 sec, waiting for connection]zabbix 2388 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #4 [processed data in 0.000000 sec, waiting for connection]zabbix 2389 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #5 [processed data in 0.000000 sec, waiting for connection]zabbix 2391 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #6 [processed data in 0.000000 sec, waiting for connection]zabbix 2393 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #7 [processed data in 0.000000 sec, waiting for connection]zabbix 2394 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #8 [processed data in 0.000000 sec, waiting for connection]zabbix 2396 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #9 [processed data in 0.000000 sec, waiting for connection]zabbix 2397 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #10 [processed data in 0.000000 sec, waiting for connection]zabbix 2398 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #11 [processed data in 0.000000 sec, waiting for connection]zabbix 2399 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #12 [processed data in 0.000000 sec, waiting for connection]zabbix 2400 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #13 [processed data in 0.000000 sec, waiting for connection]zabbix 2401 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #14 [processed data in 0.000000 sec, waiting for connection]zabbix 2403 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #15 [processed data in 0.000000 sec, waiting for connection]zabbix 2405 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #16 [processed data in 0.000000 sec, waiting for connection]zabbix 2406 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #17 [processed data in 0.000000 sec, waiting for connection]zabbix 2407 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #18 [processed data in 0.000000 sec, waiting for connection]zabbix 2408 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #19 [processed data in 0.000000 sec, waiting for connection]zabbix 2410 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #20 [processed data in 0.000000 sec, waiting for connection]zabbix 2411 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #21 [processed data in 0.000000 sec, waiting for connection]zabbix 2412 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #22 [processed data in 0.000000 sec, waiting for connection]zabbix 2413 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #23 [processed data in 0.000000 sec, waiting for connection]zabbix 2414 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #24 [processed data in 0.000000 sec, waiting for connection]zabbix 2415 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #25 [processed data in 0.000000 sec, waiting for connection]zabbix 2417 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #26 [processed data in 0.000000 sec, waiting for connection]zabbix 2418 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #27 [processed data in 0.000000 sec, waiting for connection]zabbix 2420 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #28 [processed data in 0.000000 sec, waiting for connection]zabbix 2421 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #29 [processed data in 0.000000 sec, waiting for connection]zabbix 2422 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: trapper #30 [processed data in 0.032032 sec, waiting for connection]zabbix 2423 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: icmp pinger #1 [got 0 values in 0.000191 sec, idle 5 sec]zabbix 2424 2336 0 23:04 ? 00:00:00 /zabbix/sbin/zabbix_server: alert syncer [queued 0 alerts(s), flushed 0 result(s) in 0.001869 sec, idle 1 sec]root 2468 1376 0 23:05 pts/0 00:00:00 grep --color=auto zabbix_server

zabbix

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:如何获取dom内class的值(vue通过class获取dom)
下一篇:实战项目编译后不在根目录怎么办(无法编译无法访问项目路径)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~