• 解决一次zabbix server不停重启


    [root@zabbix ~]# tail -200 /var/log/zabbix/zabbix_server.log
    12439:20180927:204849.111 7fddeaa49000-7fddeaa4a000 rw-p 00032000 fd:00 215034 /usr/lib64/libk5crypto.so.3.1
    12439:20180927:204849.111 7fddeaa4a000-7fddeaa4d000 r-xp 00000000 fd:00 131793 /usr/lib64/libcom_err.so.2.1
    12439:20180927:204849.111 7fddeaa4d000-7fddeac4c000 ---p 00003000 fd:00 131793 /usr/lib64/libcom_err.so.2.1
    12439:20180927:204849.111 7fddeac4c000-7fddeac4d000 r--p 00002000 fd:00 131793 /usr/lib64/libcom_err.so.2.1
    12439:20180927:204849.111 7fddeac4d000-7fddeac4e000 rw-p 00003000 fd:00 131793 /usr/lib64/libcom_err.so.2.1
    12439:20180927:204849.111 7fddeac4e000-7fddead26000 r-xp 00000000 fd:00 215040 /usr/lib64/libkrb5.so.3.3
    12439:20180927:204849.111 7fddead26000-7fddeaf25000 ---p 000d8000 fd:00 215040 /usr/lib64/libkrb5.so.3.3
    12439:20180927:204849.111 7fddeaf25000-7fddeaf33000 r--p 000d7000 fd:00 215040 /usr/lib64/libkrb5.so.3.3
    12439:20180927:204849.111 7fddeaf33000-7fddeaf36000 rw-p 000e5000 fd:00 215040 /usr/lib64/libkrb5.so.3.3
    12439:20180927:204849.111 7fddeaf36000-7fddeaf80000 r-xp 00000000 fd:00 215030 /usr/lib64/libgssapi_krb5.so.2.2
    12439:20180927:204849.111 7fddeaf80000-7fddeb180000 ---p 0004a000 fd:00 215030 /usr/lib64/libgssapi_krb5.so.2.2
    12439:20180927:204849.111 7fddeb180000-7fddeb181000 r--p 0004a000 fd:00 215030 /usr/lib64/libgssapi_krb5.so.2.2
    12439:20180927:204849.111 7fddeb181000-7fddeb183000 rw-p 0004b000 fd:00 215030 /usr/lib64/libgssapi_krb5.so.2.2
    12439:20180927:204849.111 7fddeb183000-7fddeb26c000 r-xp 00000000 fd:00 34840 /usr/lib64/libstdc++.so.6.0.19
    12439:20180927:204849.111 7fddeb26c000-7fddeb46c000 ---p 000e9000 fd:00 34840 /usr/lib64/libstdc++.so.6.0.19
    12439:20180927:204849.111 7fddeb46c000-7fddeb474000 r--p 000e9000 fd:00 34840 /usr/lib64/libstdc++.so.6.0.19
    12439:20180927:204849.111 7fddeb474000-7fddeb476000 rw-p 000f1000 fd:00 34840 /usr/lib64/libstdc++.so.6.0.19
    12439:20180927:204849.111 7fddeb476000-7fddeb48b000 rw-p 00000000 00:00 0
    12439:20180927:204849.111 7fddeb48b000-7fddeb643000 r-xp 00000000 fd:00 34526 /usr/lib64/libc-2.17.so
    12439:20180927:204849.112 7fddeb643000-7fddeb843000 ---p 001b8000 fd:00 34526 /usr/lib64/libc-2.17.so
    12439:20180927:204849.112 7fddeb843000-7fddeb847000 r--p 001b8000 fd:00 34526 /usr/lib64/libc-2.17.so
    12439:20180927:204849.112 7fddeb847000-7fddeb849000 rw-p 001bc000 fd:00 34526 /usr/lib64/libc-2.17.so
    12439:20180927:204849.112 7fddeb849000-7fddeb84e000 rw-p 00000000 00:00 0
    12439:20180927:204849.112 7fddeb84e000-7fddeb863000 r-xp 00000000 fd:00 729917 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
    12439:20180927:204849.112 7fddeb863000-7fddeba62000 ---p 00015000 fd:00 729917 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
    12439:20180927:204849.112 7fddeba62000-7fddeba63000 r--p 00014000 fd:00 729917 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
    12439:20180927:204849.112 7fddeba63000-7fddeba64000 rw-p 00015000 fd:00 729917 /usr/lib64/libgcc_s-4.8.5-20150702.so.1
    12439:20180927:204849.112 7fddeba64000-7fddebac4000 r-xp 00000000 fd:00 131746 /usr/lib64/libpcre.so.1.2.0
    12439:20180927:204849.112 7fddebac4000-7fddebcc4000 ---p 00060000 fd:00 131746 /usr/lib64/libpcre.so.1.2.0
    12439:20180927:204849.112 7fddebcc4000-7fddebcc5000 r--p 00060000 fd:00 131746 /usr/lib64/libpcre.so.1.2.0
    12439:20180927:204849.112 7fddebcc5000-7fddebcc6000 rw-p 00061000 fd:00 131746 /usr/lib64/libpcre.so.1.2.0
    12439:20180927:204849.112 7fddebcc6000-7fddebcc8000 r-xp 00000000 fd:00 131754 /usr/lib64/libpcreposix.so.0.0.1
    12439:20180927:204849.112 7fddebcc8000-7fddebec7000 ---p 00002000 fd:00 131754 /usr/lib64/libpcreposix.so.0.0.1
    12439:20180927:204849.112 7fddebec7000-7fddebec8000 r--p 00001000 fd:00 131754 /usr/lib64/libpcreposix.so.0.0.1
    12439:20180927:204849.112 7fddebec8000-7fddebec9000 rw-p 00002000 fd:00 131754 /usr/lib64/libpcreposix.so.0.0.1
    12439:20180927:204849.112 7fddebec9000-7fddebedf000 r-xp 00000000 fd:00 34528 /usr/lib64/libresolv-2.17.so
    12439:20180927:204849.112 7fddebedf000-7fddec0df000 ---p 00016000 fd:00 34528 /usr/lib64/libresolv-2.17.so
    12439:20180927:204849.112 7fddec0df000-7fddec0e0000 r--p 00016000 fd:00 34528 /usr/lib64/libresolv-2.17.so
    12439:20180927:204849.112 7fddec0e0000-7fddec0e1000 rw-p 00017000 fd:00 34528 /usr/lib64/libresolv-2.17.so
    12439:20180927:204849.112 7fddec0e1000-7fddec0e3000 rw-p 00000000 00:00 0
    12439:20180927:204849.112 7fddec0e3000-7fddec148000 r-xp 00000000 fd:00 557734 /usr/lib64/libcurl.so.4.3.0
    12439:20180927:204849.112 7fddec148000-7fddec348000 ---p 00065000 fd:00 557734 /usr/lib64/libcurl.so.4.3.0
    12439:20180927:204849.112 7fddec348000-7fddec34a000 r--p 00065000 fd:00 557734 /usr/lib64/libcurl.so.4.3.0
    12439:20180927:204849.112 7fddec34a000-7fddec34b000 rw-p 00067000 fd:00 557734 /usr/lib64/libcurl.so.4.3.0
    12439:20180927:204849.112 7fddec34b000-7fddec34c000 rw-p 00000000 00:00 0
    12439:20180927:204849.112 7fddec34c000-7fddec35a000 r-xp 00000000 fd:00 315187 /usr/lib64/liblber-2.4.so.2.10.7
    12439:20180927:204849.112 7fddec35a000-7fddec559000 ---p 0000e000 fd:00 315187 /usr/lib64/liblber-2.4.so.2.10.7
    12439:20180927:204849.112 7fddec559000-7fddec55a000 r--p 0000d000 fd:00 315187 /usr/lib64/liblber-2.4.so.2.10.7
    12439:20180927:204849.112 7fddec55a000-7fddec55b000 rw-p 0000e000 fd:00 315187 /usr/lib64/liblber-2.4.so.2.10.7
    12439:20180927:204849.112 7fddec55b000-7fddec5ac000 r-xp 00000000 fd:00 315189 /usr/lib64/libldap-2.4.so.2.10.7
    12439:20180927:204849.112 7fddec5ac000-7fddec7ab000 ---p 00051000 fd:00 315189 /usr/lib64/libldap-2.4.so.2.10.7
    12439:20180927:204849.113 7fddec7ab000-7fddec7ae000 r--p 00050000 fd:00 315189 /usr/lib64/libldap-2.4.so.2.10.7
    12439:20180927:204849.113 7fddec7ae000-7fddec7af000 rw-p 00053000 fd:00 315189 /usr/lib64/libldap-2.4.so.2.10.7
    12439:20180927:204849.113 7fddec7af000-7fddec7f5000 r-xp 00000000 fd:00 763652 /usr/lib64/libevent-2.0.so.5.1.9
    12439:20180927:204849.113 7fddec7f5000-7fddec9f4000 ---p 00046000 fd:00 763652 /usr/lib64/libevent-2.0.so.5.1.9
    12439:20180927:204849.113 7fddec9f4000-7fddec9f5000 r--p 00045000 fd:00 763652 /usr/lib64/libevent-2.0.so.5.1.9
    12439:20180927:204849.113 7fddec9f5000-7fddec9f6000 rw-p 00046000 fd:00 763652 /usr/lib64/libevent-2.0.so.5.1.9
    12439:20180927:204849.113 7fddec9f6000-7fddec9f7000 rw-p 00000000 00:00 0
    12439:20180927:204849.113 7fddec9f7000-7fddec9fc000 r-xp 00000000 fd:00 756671 /usr/lib64/libOpenIPMIposix.so.0.0.1
    12439:20180927:204849.113 7fddec9fc000-7fddecbfb000 ---p 00005000 fd:00 756671 /usr/lib64/libOpenIPMIposix.so.0.0.1
    12439:20180927:204849.113 7fddecbfb000-7fddecbfc000 r--p 00004000 fd:00 756671 /usr/lib64/libOpenIPMIposix.so.0.0.1
    12439:20180927:204849.113 7fddecbfc000-7fddecbfd000 rw-p 00005000 fd:00 756671 /usr/lib64/libOpenIPMIposix.so.0.0.1
    12439:20180927:204849.113 7fddecbfd000-7fddeccea000 r-xp 00000000 fd:00 756665 /usr/lib64/libOpenIPMI.so.0.0.5
    12439:20180927:204849.113 7fddeccea000-7fddeceea000 ---p 000ed000 fd:00 756665 /usr/lib64/libOpenIPMI.so.0.0.5
    12439:20180927:204849.113 7fddeceea000-7fddecf00000 r--p 000ed000 fd:00 756665 /usr/lib64/libOpenIPMI.so.0.0.5
    12439:20180927:204849.113 7fddecf00000-7fddecf06000 rw-p 00103000 fd:00 756665 /usr/lib64/libOpenIPMI.so.0.0.5
    12439:20180927:204849.113 7fddecf06000-7fddecf0a000 rw-p 00000000 00:00 0
    12439:20180927:204849.113 7fddecf0a000-7fddecf32000 r-xp 00000000 fd:00 315136 /usr/lib64/libssh2.so.1.0.1
    12439:20180927:204849.113 7fddecf32000-7fdded132000 ---p 00028000 fd:00 315136 /usr/lib64/libssh2.so.1.0.1
    12439:20180927:204849.113 7fdded132000-7fdded133000 r--p 00028000 fd:00 315136 /usr/lib64/libssh2.so.1.0.1
    12439:20180927:204849.113 7fdded133000-7fdded134000 rw-p 00029000 fd:00 315136 /usr/lib64/libssh2.so.1.0.1
    12439:20180927:204849.113 7fdded134000-7fdded1fc000 r-xp 00000000 fd:00 474169 /usr/lib64/libnetsnmp.so.31.0.2
    12439:20180927:204849.113 7fdded1fc000-7fdded3fb000 ---p 000c8000 fd:00 474169 /usr/lib64/libnetsnmp.so.31.0.2
    12439:20180927:204849.113 7fdded3fb000-7fdded3fe000 r--p 000c7000 fd:00 474169 /usr/lib64/libnetsnmp.so.31.0.2
    12439:20180927:204849.113 7fdded3fe000-7fdded400000 rw-p 000ca000 fd:00 474169 /usr/lib64/libnetsnmp.so.31.0.2
    12439:20180927:204849.113 7fdded400000-7fdded436000 rw-p 00000000 00:00 0
    12439:20180927:204849.113 7fdded436000-7fdded496000 r-xp 00000000 fd:00 763669 /usr/lib64/libodbc.so.2.0.0
    12439:20180927:204849.113 7fdded496000-7fdded695000 ---p 00060000 fd:00 763669 /usr/lib64/libodbc.so.2.0.0
    12439:20180927:204849.113 7fdded695000-7fdded696000 r--p 0005f000 fd:00 763669 /usr/lib64/libodbc.so.2.0.0
    12439:20180927:204849.113 7fdded696000-7fdded69d000 rw-p 00060000 fd:00 763669 /usr/lib64/libodbc.so.2.0.0
    12439:20180927:204849.113 7fdded69d000-7fdded69e000 rw-p 00000000 00:00 0
    12439:20180927:204849.113 7fdded69e000-7fdded7fd000 r-xp 00000000 fd:00 131770 /usr/lib64/libxml2.so.2.9.1
    12439:20180927:204849.114 7fdded7fd000-7fdded9fc000 ---p 0015f000 fd:00 131770 /usr/lib64/libxml2.so.2.9.1
    12439:20180927:204849.114 7fdded9fc000-7fddeda04000 r--p 0015e000 fd:00 131770 /usr/lib64/libxml2.so.2.9.1
    12439:20180927:204849.114 7fddeda04000-7fddeda06000 rw-p 00166000 fd:00 131770 /usr/lib64/libxml2.so.2.9.1
    12439:20180927:204849.114 7fddeda06000-7fddeda08000 rw-p 00000000 00:00 0
    12439:20180927:204849.114 7fddeda08000-7fddeda15000 r-xp 00000000 fd:00 756652 /usr/lib64/libiksemel.so.3.1.1
    12439:20180927:204849.114 7fddeda15000-7fddedc14000 ---p 0000d000 fd:00 756652 /usr/lib64/libiksemel.so.3.1.1
    12439:20180927:204849.114 7fddedc14000-7fddedc15000 r--p 0000c000 fd:00 756652 /usr/lib64/libiksemel.so.3.1.1
    12439:20180927:204849.114 7fddedc15000-7fddedc16000 rw-p 0000d000 fd:00 756652 /usr/lib64/libiksemel.so.3.1.1
    12439:20180927:204849.114 7fddedc16000-7fddedc18000 r-xp 00000000 fd:00 131722 /usr/lib64/libdl-2.17.so
    12439:20180927:204849.114 7fddedc18000-7fddede18000 ---p 00002000 fd:00 131722 /usr/lib64/libdl-2.17.so
    12439:20180927:204849.114 7fddede18000-7fddede19000 r--p 00002000 fd:00 131722 /usr/lib64/libdl-2.17.so
    12439:20180927:204849.114 7fddede19000-7fddede1a000 rw-p 00003000 fd:00 131722 /usr/lib64/libdl-2.17.so
    12439:20180927:204849.114 7fddede1a000-7fddee04e000 r-xp 00000000 fd:00 185667 /usr/lib64/libcrypto.so.1.0.2k
    12439:20180927:204849.114 7fddee04e000-7fddee24e000 ---p 00234000 fd:00 185667 /usr/lib64/libcrypto.so.1.0.2k
    12439:20180927:204849.114 7fddee24e000-7fddee26a000 r--p 00234000 fd:00 185667 /usr/lib64/libcrypto.so.1.0.2k
    12439:20180927:204849.114 7fddee26a000-7fddee277000 rw-p 00250000 fd:00 185667 /usr/lib64/libcrypto.so.1.0.2k
    12439:20180927:204849.114 7fddee277000-7fddee27b000 rw-p 00000000 00:00 0
    12439:20180927:204849.114 7fddee27b000-7fddee2e2000 r-xp 00000000 fd:00 185669 /usr/lib64/libssl.so.1.0.2k
    12439:20180927:204849.114 7fddee2e2000-7fddee4e2000 ---p 00067000 fd:00 185669 /usr/lib64/libssl.so.1.0.2k
    12439:20180927:204849.114 7fddee4e2000-7fddee4e6000 r--p 00067000 fd:00 185669 /usr/lib64/libssl.so.1.0.2k
    12439:20180927:204849.114 7fddee4e6000-7fddee4ed000 rw-p 0006b000 fd:00 185669 /usr/lib64/libssl.so.1.0.2k
    12439:20180927:204849.114 7fddee4ed000-7fddee5ee000 r-xp 00000000 fd:00 131724 /usr/lib64/libm-2.17.so
    12439:20180927:204849.114 7fddee5ee000-7fddee7ed000 ---p 00101000 fd:00 131724 /usr/lib64/libm-2.17.so
    12439:20180927:204849.114 7fddee7ed000-7fddee7ee000 r--p 00100000 fd:00 131724 /usr/lib64/libm-2.17.so
    12439:20180927:204849.114 7fddee7ee000-7fddee7ef000 rw-p 00101000 fd:00 131724 /usr/lib64/libm-2.17.so
    12439:20180927:204849.114 7fddee7ef000-7fddee804000 r-xp 00000000 fd:00 131758 /usr/lib64/libz.so.1.2.7
    12439:20180927:204849.114 7fddee804000-7fddeea03000 ---p 00015000 fd:00 131758 /usr/lib64/libz.so.1.2.7
    12439:20180927:204849.114 7fddeea03000-7fddeea04000 r--p 00014000 fd:00 131758 /usr/lib64/libz.so.1.2.7
    12439:20180927:204849.114 7fddeea04000-7fddeea05000 rw-p 00015000 fd:00 131758 /usr/lib64/libz.so.1.2.7
    12439:20180927:204849.114 7fddeea05000-7fddeea1c000 r-xp 00000000 fd:00 131742 /usr/lib64/libpthread-2.17.so
    12439:20180927:204849.114 7fddeea1c000-7fddeec1b000 ---p 00017000 fd:00 131742 /usr/lib64/libpthread-2.17.so
    12439:20180927:204849.114 7fddeec1b000-7fddeec1c000 r--p 00016000 fd:00 131742 /usr/lib64/libpthread-2.17.so
    12439:20180927:204849.115 7fddeec1c000-7fddeec1d000 rw-p 00017000 fd:00 131742 /usr/lib64/libpthread-2.17.so
    12439:20180927:204849.115 7fddeec1d000-7fddeec21000 rw-p 00000000 00:00 0
    12439:20180927:204849.115 7fddeec21000-7fddeeeff000 r-xp 00000000 fd:00 403061427 /usr/lib64/mysql/libmysqlclient.so.18.0.0
    12439:20180927:204849.115 7fddeeeff000-7fddef0fe000 ---p 002de000 fd:00 403061427 /usr/lib64/mysql/libmysqlclient.so.18.0.0
    12439:20180927:204849.115 7fddef0fe000-7fddef107000 r--p 002dd000 fd:00 403061427 /usr/lib64/mysql/libmysqlclient.so.18.0.0
    12439:20180927:204849.115 7fddef107000-7fddef11b000 rw-p 002e6000 fd:00 403061427 /usr/lib64/mysql/libmysqlclient.so.18.0.0
    12439:20180927:204849.115 7fddef11b000-7fddef121000 rw-p 00000000 00:00 0
    12439:20180927:204849.115 7fddef121000-7fddef142000 r-xp 00000000 fd:00 34519 /usr/lib64/ld-2.17.so
    12439:20180927:204849.115 7fddef31c000-7fddef338000 rw-p 00000000 00:00 0
    12439:20180927:204849.115 7fddef33c000-7fddef33d000 rw-p 00000000 00:00 0
    12439:20180927:204849.115 7fddef33d000-7fddef340000 rw-s 00000000 00:04 116752389 /SYSV00000000 (deleted)
    12439:20180927:204849.115 7fddef340000-7fddef341000 rw-p 00000000 00:00 0
    12439:20180927:204849.115 7fddef341000-7fddef342000 rw-p 00000000 00:00 0
    12439:20180927:204849.115 7fddef342000-7fddef343000 r--p 00021000 fd:00 34519 /usr/lib64/ld-2.17.so
    12439:20180927:204849.115 7fddef343000-7fddef344000 rw-p 00022000 fd:00 34519 /usr/lib64/ld-2.17.so
    12439:20180927:204849.115 7fddef344000-7fddef345000 rw-p 00000000 00:00 0
    12439:20180927:204849.115 7ffd44325000-7ffd44346000 rw-p 00000000 00:00 0 [stack]
    12439:20180927:204849.115 7ffd443f2000-7ffd443f4000 r-xp 00000000 00:00 0 [vdso]
    12439:20180927:204849.115 ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
    12439:20180927:204849.115 ================================
    12439:20180927:204849.115 Please consider attaching a disassembly listing to your bug report.
    12439:20180927:204849.115 This listing can be produced with, e.g., objdump -DSswx zabbix_server.
    12439:20180927:204849.115 ================================
    12432:20180927:204849.119 One child process died (PID:12439,exitcode/signal:1). Exiting ...
    12432:20180927:204851.120 syncing history data...
    12432:20180927:204851.120 syncing history data done
    12432:20180927:204851.121 syncing trend data...
    12432:20180927:204851.121 syncing trend data done
    12432:20180927:204851.121 Zabbix Server stopped. Zabbix 4.0.0alpha5 (revision 79035).

    解决方法:  参考https://support.zabbix.com/browse/ZBX-11118

    卸载 mailx

    卸载libcurl   rpm -e libcurl -nodeps

    重新安装curl

     wget https://curl.haxx.se/download/curl-7.61.1.tar.gz

    解压、编译安装(./conf..  make  make install)

    启动zabbix时报libcurl.so.4: cannot open shared object file: No such file or directory

    vim /etc/ld.so.conf

    //添加下述内容

    /usr/local/lib

    /usr/lib

         /lib
     
    [root@zabbix etc]# ldconfig   
     
    再次启动zabbix-server,ok
    邮件问题想其他办法解决
  • 相关阅读:
    今日进度
    今日进度
    每周总结
    今日进度
    今日进度
    今日进度
    flask展示Excel
    ubuntu 相关
    python解析xml三种方法【ElementTree】【DOM】【SAX】
    Lambda实现if...elif...else【三元表达式】
  • 原文地址:https://www.cnblogs.com/liulj0713/p/9715682.html
Copyright © 2020-2023  润新知