Announcement

Collapse
No announcement yet.

Problem with installing Zabbix 3.0.13 on Red Hat 4.8.5-4

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem with installing Zabbix 3.0.13 on Red Hat 4.8.5-4

    I'm trying to install Zabbix 3.0.13 with MySQL from sources on Red Hat and I got below error when I was executing make install command:

    Code:
    gcc -DZABBIX_DAEMON -DSYSCONFDIR="\"/usr/local/etc\"" -DDATADIR="\"/usr/local/share\"" -DLIBDIR="\"/usr/local/lib\"" -I../../src/libs/zbxdbcache -g -O2 -L/usr/lib64        -L/usr/lib64      -rdynamic   -o zabbix_server zabbix_server-actions.o zabbix_server-operations.o zabbix_server-events.o zabbix_server-scripts.o zabbix_server-server.o alerter/libzbxalerter.a dbsyncer/libzbxdbsyncer.a dbconfig/libzbxdbconfig.a discoverer/libzbxdiscoverer.a pinger/libzbxpinger.a poller/libzbxpoller.a housekeeper/libzbxhousekeeper.a timer/libzbxtimer.a trapper/libzbxtrapper.a snmptrapper/libzbxsnmptrapper.a httppoller/libzbxhttppoller.a watchdog/libzbxwatchdog.a escalator/libzbxescalator.a proxypoller/libzbxproxypoller.a selfmon/libzbxselfmon.a vmware/libzbxvmware.a ../../src/libs/zbxsysinfo/libzbxserversysinfo.a ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxserver/libzbxserver.a ../../src/libs/zbxdbcache/libzbxdbcache.a ../../src/libs/zbxmemory/libzbxmemory.a ../../src/libs/zbxregexp/libzbxregexp.a ../../src/libs/zbxalgo/libzbxalgo.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxmedia/libzbxmedia.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxcommshigh/libzbxcommshigh.a ../../src/libs/zbxjson/libzbxjson.a ../../src/libs/zbxexec/libzbxexec.a ../../src/libs/zbxself/libzbxself.a ../../src/libs/zbxicmpping/libzbxicmpping.a ../../src/libs/zbxdbupgrade/libzbxdbupgrade.a ../../src/libs/zbxdbhigh/libzbxdbhigh.a ../../src/libs/zbxdb/libzbxdb.a ../../src/libs/zbxmodules/libzbxmodules.a -lmysqlclient         -lnetsnmp       -lm -ldl  -lresolv
    /bin/ld: /usr/lib64/libmysqlclient.a(mysql_async.c.o): undefined reference to symbol '[email protected]@libssl.so.10'
    /bin/ld: note: '[email protected]@libssl.so.10' is defined in DSO /lib64/libssl.so.10 so try adding it to the linker command line
    Do you have any idea how I can solve this problem?
    Thank you in advance

    #2
    Why are you trying to compile it on your own?

    A missing -lssl might be the concrete problem.

    Comment


      #3
      When I'm trying to run Zabbix from RPM file I got below error:
      Code:
      Unit zabbix-server.service has begun starting up.
      Dec 01 10:10:06  kernel: zabbix_server[17549]: segfault at 18 ip 00007f24d5101c00 sp 00007ffdfca9bdb8 error 4
      Dec 01 10:10:06  kernel: zabbix_server[17554]: segfault at 18 ip 00007f24d5101c00 sp 00007ffdfca9bdb8 error 4
      Dec 01 10:10:06  kernel:  in libpthread-2.17.so[7f24d50f8000+16000]
      Dec 01 10:10:06  kernel:
      Dec 01 10:10:06  kernel:  in libpthread-2.17.so[7f24d50f8000+16000]
      Dec 01 10:10:06  kernel:
      Dec 01 10:10:06  audispd[8018]: node= type=ANOM_ABEND msg=audit(1512141006.574:304267): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=17554 comm="zabbix_server" reason="memory violation" sig=11
      Dec 01 10:10:06  audispd[8018]: node= type=ANOM_ABEND msg=audit(1512141006.580:304268): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=17549 comm="zabbix_server" reason="memory violation" sig=11
      Dec 01 10:10:06  systemd[1]: zabbix-server.service: control process exited, code=killed status=11
      Dec 01 10:10:09  audispd[8018]: node= type=ANOM_ABEND msg=audit(1512141009.446:304269): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=17555 comm="zabbix_server" reason="memory violation" sig=11
      Dec 01 10:10:09  audispd[8018]: node= type=SERVICE_START msg=audit(1512141009.455:304270): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=zabbix-server comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=?
      Dec 01 10:10:09  polkitd[2391]: Unregistered Authentication Agent for unix-process:17531:3034576394 (system bus name :1.209605, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from b
      Dec 01 10:10:09  systemd[1]: Failed to start Zabbix Server.
      Do you know where may be issue with this?

      Comment


        #4
        I think the RHEL 4 standard library is too old.
        With standard libraries, you will not be able to build Zabbix server.
        For building Zabbix server, please use the newer OS.

        Comment


          #5
          That's quite possible, Atsushi. EL5 is unsupported by Redhat and EL4 more so. While I can somehow understand a need to have an agent on a long-unsupported legacy system, building the server doesn't make sense to me.

          Hang on! EL4 and "systemd"? Something is wrong here.

          Comment


            #6
            Hi volter,
            So I wrote that they will not be able to build Zabbix server with RHEL 4.

            Also, in RHEL 4 you should use init instead of systemd for agent.

            Comment


              #7
              Unfortunately I can not change OS.
              How can I use init instead of systemd?
              This are my first steps with Zabbix.

              Comment


                #8
                Hi marcin11858,

                If you can not change the OS, you can not build a Zabbix server on that server.
                Please prepare another server.

                init is the service management process installed by RHEL 4 by default.
                It can be started and managed with init in the case of agent only.

                Comment


                  #9
                  I also can not prepare another server.
                  Maybe I should use docker Zabbix image?

                  Comment


                    #10
                    Docker can not run on RHEL 4.
                    That OS is too old.

                    Comment


                      #11
                      I change OS to Red Hat Enterprise Linux Server release 7.1 (Maipo)
                      and I also have the same error.

                      When I type:
                      Code:
                      systemctl start zabbix-server
                      I got:
                      Code:
                      Job for zabbix-server.service failed because a fatal signal was delivered to the control process. See "systemctl status zabbix-server.service" and "journalctl -xe" for details.
                      After check:
                      Code:
                      systemctl status zabbix-server.service
                      I got:
                      Code:
                      zabbix-server.service - Zabbix Server
                         Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; disabled; vendor preset: disabled)
                         Active: deactivating (final-sigterm) (Result: signal)
                        Process: 27585 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=killed, signal=SEGV)
                         CGroup: /system.slice/zabbix-server.service
                                 └─27587 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
                      
                      Dec 06 01:54:52 sdlg3814 systemd[1]: Starting Zabbix Server...
                      Dec 06 01:54:52 sdlg3814 systemd[1]: zabbix-server.service: control process exited, code=killed status=11
                      Last edited by marcin11858; 06-12-2017, 08:58. Reason: More information

                      Comment


                        #12
                        Please show me Zabbix server log.

                        Comment


                          #13
                          journalctl -xe

                          Code:
                          -- The result is failed.
                          Dec 06 02:01:59  systemd[1]: Unit zabbix-server.service entered failed state.
                          Dec 06 02:01:59  systemd[1]: zabbix-server.service failed.
                          Dec 06 02:01:59  audispd[8018]: node= type=SERVICE_START msg=audit(1512543719.821:315606): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=zabbix-server comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=?
                          Dec 06 02:02:07  polkitd[2391]: Registered Authentication Agent for unix-process:29234:3074848683 (system bus name :1.212318 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAg
                          Dec 06 02:02:09  systemd[1]: zabbix-server.service holdoff time over, scheduling restart.
                          Dec 06 02:02:09  audispd[8018]: node= type=SERVICE_START msg=audit(1512543729.874:315607): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=zabbix-server comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=?
                          Dec 06 02:02:09  audispd[8018]: node= type=SERVICE_STOP msg=audit(1512543729.874:315608): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=zabbix-server comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=?
                          Dec 06 02:02:09  systemd[1]: Starting Zabbix Server...
                          -- Subject: Unit zabbix-server.service has begun start-up
                          -- Defined-By: systemd
                          -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
                          --
                          -- Unit zabbix-server.service has begun starting up.
                          Dec 06 02:02:10  kernel: zabbix_server[29255]: segfault at 18 ip 00007fbccad78c00 sp 00007fffb6bc1618 error 4
                          Dec 06 02:02:10  kernel: zabbix_server[29259]: segfault at 18 ip 00007fbccad78c00 sp 00007fffb6bc1618 error 4
                          Dec 06 02:02:10  kernel:  in libpthread-2.17.so[7fbccad6f000+16000]
                          Dec 06 02:02:10  kernel:
                          Dec 06 02:02:10  audispd[8018]: node= type=ANOM_ABEND msg=audit(1512543730.557:315609): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=29259 comm="zabbix_server" reason="memory violation" sig=11
                          Dec 06 02:02:10  kernel:  in libpthread-2.17.so[7fbccad6f000+16000]
                          Dec 06 02:02:10  kernel:
                          Dec 06 02:02:10  audispd[8018]: node= type=ANOM_ABEND msg=audit(1512543730.563:315610): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=29255 comm="zabbix_server" reason="memory violation" sig=11
                          Dec 06 02:02:10  systemd[1]: zabbix-server.service: control process exited, code=killed status=11
                          Dec 06 02:02:12  audispd[8018]: node= type=ANOM_ABEND msg=audit(1512543732.858:315611): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=29260 comm="zabbix_server" reason="memory violation" sig=11
                          Dec 06 02:02:12  systemd[1]: Failed to start Zabbix Server.
                          zabbix_server.log

                          Code:
                          29481:20171206:020250.336 7f867a89b000-7f867aa9a000 ---p 000c8000 fd:01 50913882                   /usr/lib64/libnetsnmp.so.31.0.2
                           29481:20171206:020250.337 7f867aa9a000-7f867aa9d000 r--p 000c7000 fd:01 50913882                   /usr/lib64/libnetsnmp.so.31.0.2
                           29481:20171206:020250.337 7f867aa9d000-7f867aa9f000 rw-p 000ca000 fd:01 50913882                   /usr/lib64/libnetsnmp.so.31.0.2
                           29481:20171206:020250.337 7f867aa9f000-7f867aad5000 rw-p 00000000 00:00 0
                           29481:20171206:020250.337 7f867aad5000-7f867ab35000 r-xp 00000000 fd:01 52500743                   /usr/lib64/libodbc.so.2.0.0
                           29481:20171206:020250.338 7f867ab35000-7f867ad34000 ---p 00060000 fd:01 52500743                   /usr/lib64/libodbc.so.2.0.0
                           29481:20171206:020250.338 7f867ad34000-7f867ad35000 r--p 0005f000 fd:01 52500743                   /usr/lib64/libodbc.so.2.0.0
                           29481:20171206:020250.338 7f867ad35000-7f867ad3c000 rw-p 00060000 fd:01 52500743                   /usr/lib64/libodbc.so.2.0.0
                           29481:20171206:020250.338 7f867ad3c000-7f867ad3d000 rw-p 00000000 00:00 0
                           29481:20171206:020250.339 7f867ad3d000-7f867ae9b000 r-xp 00000000 fd:01 52063819                   /usr/lib64/libxml2.so.2.9.1
                           29481:20171206:020250.339 7f867ae9b000-7f867b09a000 ---p 0015e000 fd:01 52063819                   /usr/lib64/libxml2.so.2.9.1
                           29481:20171206:020250.339 7f867b09a000-7f867b0a2000 r--p 0015d000 fd:01 52063819                   /usr/lib64/libxml2.so.2.9.1
                           29481:20171206:020250.340 7f867b0a2000-7f867b0a4000 rw-p 00165000 fd:01 52063819                   /usr/lib64/libxml2.so.2.9.1
                           29481:20171206:020250.340 7f867b0a4000-7f867b0a6000 rw-p 00000000 00:00 0
                           29481:20171206:020250.340 7f867b0a6000-7f867b0b3000 r-xp 00000000 fd:01 52470121                   /usr/lib64/libiksemel.so.3.1.1
                           29481:20171206:020250.340 7f867b0b3000-7f867b2b2000 ---p 0000d000 fd:01 52470121                   /usr/lib64/libiksemel.so.3.1.1
                           29481:20171206:020250.340 7f867b2b2000-7f867b2b3000 r--p 0000c000 fd:01 52470121                   /usr/lib64/libiksemel.so.3.1.1
                           29481:20171206:020250.340 7f867b2b3000-7f867b2b4000 rw-p 0000d000 fd:01 52470121                   /usr/lib64/libiksemel.so.3.1.1
                           29481:20171206:020250.341 7f867b2b4000-7f867b5d4000 r-xp 00000000 fd:01 52547163                   /usr/lib64/libmysqlclient.so.18.0.0
                           29481:20171206:020250.341 7f867b5d4000-7f867b7d3000 ---p 00320000 fd:01 52547163                   /usr/lib64/libmysqlclient.so.18.0.0
                           29481:20171206:020250.341 7f867b7d3000-7f867b7db000 r--p 0031f000 fd:01 52547163                   /usr/lib64/libmysqlclient.so.18.0.0
                           29481:20171206:020250.341 7f867b7db000-7f867b84e000 rw-p 00327000 fd:01 52547163                   /usr/lib64/libmysqlclient.so.18.0.0
                           29481:20171206:020250.341 7f867b84e000-7f867b858000 rw-p 00000000 00:00 0
                           29481:20171206:020250.341 7f867b858000-7f867b879000 r-xp 00000000 fd:01 50362851                   /usr/lib64/ld-2.17.so
                           29481:20171206:020250.342 7f867b91a000-7f867ba4e000 rw-s 00000000 00:04 450428964                  /SYSV7301831b (deleted)
                           29481:20171206:020250.342 7f867ba4e000-7f867ba6a000 rw-p 00000000 00:00 0
                           29481:20171206:020250.342 7f867ba74000-7f867ba75000 rw-p 00000000 00:00 0
                           29481:20171206:020250.342 7f867ba75000-7f867ba77000 rw-s 00000000 00:04 450461733                  /SYSV5301831b (deleted)
                           29481:20171206:020250.342 7f867ba77000-7f867ba78000 rw-p 00000000 00:00 0
                           29481:20171206:020250.343 7f867ba78000-7f867ba79000 rw-p 00000000 00:00 0
                           29481:20171206:020250.343 7f867ba79000-7f867ba7a000 r--p 00021000 fd:01 50362851                   /usr/lib64/ld-2.17.so
                           29481:20171206:020250.343 7f867ba7a000-7f867ba7b000 rw-p 00022000 fd:01 50362851                   /usr/lib64/ld-2.17.so
                           29481:20171206:020250.343 7f867ba7b000-7f867ba7c000 rw-p 00000000 00:00 0
                           29481:20171206:020250.344 7f867ba7c000-7f867bc1d000 r-xp 00000000 fd:01 52547167                   /usr/sbin/zabbix_server_mysql
                           29481:20171206:020250.344 7f867be1c000-7f867be70000 r--p 001a0000 fd:01 52547167                   /usr/sbin/zabbix_server_mysql
                           29481:20171206:020250.344 7f867be70000-7f867be78000 rw-p 001f4000 fd:01 52547167                   /usr/sbin/zabbix_server_mysql
                           29481:20171206:020250.344 7f867be78000-7f867be7e000 rw-p 00000000 00:00 0
                           29481:20171206:020250.344 7f867bec5000-7f867bf09000 rw-p 00000000 00:00 0                          [heap]
                           29481:20171206:020250.344 7f867bf09000-7f867bf2a000 rw-p 00000000 00:00 0                          [heap]
                           29481:20171206:020250.344 7fffc7769000-7fffc778a000 rw-p 00000000 00:00 0                          [stack]
                           29481:20171206:020250.345 7fffc779c000-7fffc779e000 r-xp 00000000 00:00 0                          [vdso]
                           29481:20171206:020250.345 ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
                           29481:20171206:020250.345 ================================
                           29481:20171206:020250.345 Please consider attaching a disassembly listing to your bug report.
                           29481:20171206:020250.345 This listing can be produced with, e.g., objdump -DSswx x7f867bb4200d].
                           29481:20171206:020250.345 ================================
                           29492:20171206:020300.681 Starting Zabbix Server. Zabbix 3.0.13 (revision 74336).
                           29492:20171206:020300.681 ****** Enabled features ******
                           29492:20171206:020300.681 SNMP monitoring:           YES
                           29492:20171206:020300.681 IPMI monitoring:           YES
                           29492:20171206:020300.681 Web monitoring:            YES
                           29492:20171206:020300.681 VMware monitoring:         YES
                           29492:20171206:020300.682 SMTP authentication:       YES
                           29492:20171206:020300.682 Jabber notifications:      YES
                           29492:20171206:020300.682 Ez Texting notifications:  YES
                           29492:20171206:020300.682 ODBC:                      YES
                           29492:20171206:020300.682 SSH2 support:              YES
                           29492:20171206:020300.682 IPv6 support:              YES
                           29492:20171206:020300.682 TLS support:               YES
                           29492:20171206:020300.682 ******************************
                           29492:20171206:020300.682 using configuration file: /etc/zabbix/zabbix_server.conf
                           29492:20171206:020300.693 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ...

                          Comment


                            #14
                            RHEL 7.1 is a troublesome version.
                            Please update gnutls and trousers package.

                            Comment


                              #15
                              The portion of zabbix_server.log you posted is not giving any useful information, please find the word "Crashing ..." and post few lines before it.

                              Comment

                              Working...
                              X