Ad Widget

Collapse

Zabbix Agent on DB server does not start up

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ABC Loud
    Junior Member
    • Oct 2019
    • 8

    #1

    Zabbix Agent on DB server does not start up

    Dear All☺

    Please help me because I'm having trouble getting Zabbix to start.

    OS: Linux Enterprise Server 11 SP3 (x86_64) - Kernel \r (\l)
    GLIBC: GNU C Library stable release version 2.11.3 (20110527)

    If you type the command service zabbix_agentd start, you will get the following
    Starting Zabbix Agent: /etc/init.d/zabbix_agentd: line 32: daemon: command not f ound
    /usr/local/sbin/zabbix_agentd: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /usr/local/sbin/zabbix_agentd)
    /usr/local/sbin/zabbix_agentd: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /usr/local/sbin/zabbix_agentd)
    startproc: exit status of parent of /usr/local/sbin/zabbix_agentd: 1


    The following is what I tried to start again.
    Start /etc/init.d/zabbix_agentd with corrected diffs from production machine -> failed
    Start with misc/init.d file for fedora -> Failed


    Try to boot with SUSE
    Check script with which rc_status -> no rc_status
    Start with bash zabbix-agentd start -> x

    Check GLIBC version in /lib64/libc.so.6 -> 2.11.3
    Check for zabbix-agent with zypper search --installed-only -> Error occurs due to outdated TLS version being used for communication
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Where did you get this agent from?

    Comment

    • ABC Loud
      Junior Member
      • Oct 2019
      • 8

      #3
      dimir
      Thanks for the reply, Mr. dimir.
      I don't know, it was in there originally. Do I need to download it again?

      Comment

      • Augus.wang
        Junior Member
        • Apr 2021
        • 5

        #4
        Zabbix server can't start: (zabbix server is not running )
        Could you give me some advice. Many thanks!!
        ====================================

        [root@localhost etc]# tail -n 30 /usr/local/zabbix/zabbix_server.log
        17225:20210428:145700.494 server #13 started [task manager #1]
        17223:20210428:145700.494 server #11 started [proxy poller #1]
        17226:20210428:145700.494 server #14 started [poller #1]
        17228:20210428:145700.495 server #16 started [poller #3]
        17220:20210428:145700.498 server #8 started [history syncer #3]
        17229:20210428:145700.500 server #17 started [poller #4]
        17227:20210428:145700.502 server #15 started [poller #2]
        17218:20210428:145700.503 server #6 started [history syncer #1]
        17241:20210428:145700.503 server #29 started [alerter #3]
        17236:20210428:145700.503 server #24 started [trapper #5]
        17232:20210428:145700.504 server #20 started [trapper #1]
        17235:20210428:145700.506 server #23 started [trapper #4]
        17239:20210428:145700.507 server #27 started [alerter #1]
        17230:20210428:145700.508 server #18 started [poller #5]
        17233:20210428:145700.508 server #21 started [trapper #2]
        17237:20210428:145700.508 server #25 started [icmp pinger #1]
        17240:20210428:145700.509 server #28 started [alerter #2]
        17234:20210428:145700.512 server #22 started [trapper #3]
        17231:20210428:145700.512 server #19 started [unreachable poller #1]
        17242:20210428:145700.512 server #30 started [preprocessing manager #1]
        17238:20210428:145700.516 server #26 started [alert manager #1]
        17247:20210428:145700.606 server #33 started [preprocessing worker #3]
        17243:20210428:145700.607 server #31 started [preprocessing worker #1]
        17244:20210428:145700.609 server #32 started [preprocessing worker #2]
        zabbix_server: trapper #2 [processing data]: relocation error: zabbix_server: trapper #2 [processing data]: symbol uncompress, version libmys
        qlclient_18 not defined in file libmysqlclient.so.18 with link time reference 17211:20210428:145700.624 One child process died (PID:17233,exitcode/signal:127). Exiting ...

        zabbix_server [17211]: Error waiting for process with PID 17233: [10] No child processes
        17211:20210428:145700.629 syncing trend data...
        17211:20210428:145700.629 syncing trend data done
        17211:20210428:145700.629 Zabbix Server stopped. Zabbix 4.0.30 (revision af88d25c89).
        [root@localhost etc]#

        Comment

        • dimir
          Zabbix developer
          • Apr 2011
          • 1080

          #5
          Originally posted by ABC Loud
          dimir
          Thanks for the reply, Mr. dimir.
          I don't know, it was in there originally. Do I need to download it again?
          I'd try that, yeah. https://zabbix.com/download

          Comment

          • dimir
            Zabbix developer
            • Apr 2011
            • 1080

            #6
            Originally posted by Augus.wang
            Zabbix server can't start: (zabbix server is not running )
            Could you give me some advice. Many thanks!!
            ====================================

            [root@localhost etc]# tail -n 30 /usr/local/zabbix/zabbix_server.log
            17225:20210428:145700.494 server #13 started [task manager #1]
            17223:20210428:145700.494 server #11 started [proxy poller #1]
            17226:20210428:145700.494 server #14 started [poller #1]
            17228:20210428:145700.495 server #16 started [poller #3]
            17220:20210428:145700.498 server #8 started [history syncer #3]
            17229:20210428:145700.500 server #17 started [poller #4]
            17227:20210428:145700.502 server #15 started [poller #2]
            17218:20210428:145700.503 server #6 started [history syncer #1]
            17241:20210428:145700.503 server #29 started [alerter #3]
            17236:20210428:145700.503 server #24 started [trapper #5]
            17232:20210428:145700.504 server #20 started [trapper #1]
            17235:20210428:145700.506 server #23 started [trapper #4]
            17239:20210428:145700.507 server #27 started [alerter #1]
            17230:20210428:145700.508 server #18 started [poller #5]
            17233:20210428:145700.508 server #21 started [trapper #2]
            17237:20210428:145700.508 server #25 started [icmp pinger #1]
            17240:20210428:145700.509 server #28 started [alerter #2]
            17234:20210428:145700.512 server #22 started [trapper #3]
            17231:20210428:145700.512 server #19 started [unreachable poller #1]
            17242:20210428:145700.512 server #30 started [preprocessing manager #1]
            17238:20210428:145700.516 server #26 started [alert manager #1]
            17247:20210428:145700.606 server #33 started [preprocessing worker #3]
            17243:20210428:145700.607 server #31 started [preprocessing worker #1]
            17244:20210428:145700.609 server #32 started [preprocessing worker #2]
            zabbix_server: trapper #2 [processing data]: relocation error: zabbix_server: trapper #2 [processing data]: symbol uncompress, version libmys
            qlclient_18 not defined in file libmysqlclient.so.18 with link time reference 17211:20210428:145700.624 One child process died (PID:17233,exitcode/signal:127). Exiting ...

            zabbix_server [17211]: Error waiting for process with PID 17233: [10] No child processes
            17211:20210428:145700.629 syncing trend data...
            17211:20210428:145700.629 syncing trend data done
            17211:20210428:145700.629 Zabbix Server stopped. Zabbix 4.0.30 (revision af88d25c89).
            [root@localhost etc]#
            It looks you have a mix of MySQL/MariaDB installed. Could you show the output of
            Code:
            rpm -qa | egrep 'mariadb|mysql'

            Comment


            • Augus.wang
              Augus.wang commented
              Editing a comment
              As you said,May be setup mariadb long time ago. Now it's ok after remove this file "libmysqlclient.so.18" under /usr/lib64/mysql/.
              Many Thanks!
          • Augus.wang
            Junior Member
            • Apr 2021
            • 5

            #7
            Originally posted by dimir

            I'd try that, yeah. https://zabbix.com/download
            Many thanks for your help.

            May I know how to create a new topic, I don't find it in forums. Or need to release the corresponding permissions by forums admin.

            Comment

            • Augus.wang
              Junior Member
              • Apr 2021
              • 5

              #8
              I want to creat a item about the system uptime.
              it seems this result need to transition in zabbix. Could you show me how to set the units or Preprocessing
              Thanks

              [root@localhost Project_Zabbix_Agent]# snmpwalk -v 2c -c public 10.154.0.253 hrSystemUptime
              HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (591399770) 68 days, 10:46:37.70
              [root@localhost Project_Zabbix_Agent]#

              Comment

              • Augus.wang
                Junior Member
                • Apr 2021
                • 5

                #9
                I want to get the uptime from target network device (a pfsense host

                Click image for larger version

Name:	0001.png
Views:	579
Size:	14.6 KB
ID:	424095



                Click image for larger version

Name:	360截图16370623236422.png
Views:	618
Size:	37.3 KB
ID:	424094

                Comment

                • ABC Loud
                  Junior Member
                  • Oct 2019
                  • 8

                  #10
                  dimir
                  Thank you for your reply. I'll download it

                  Comment

                  Working...