Ad Widget

Collapse

One server process died. Shutting down...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • H@rry
    Junior Member
    • Jul 2006
    • 24

    #31
    I compiled your little program on my RHEL3 machine and when running it gives this:

    [root@zenprox tmp]# ./a.out
    Before init_snmp()
    Segmentation fault

    Hope this helps you

    [edit]
    One thing that caught my eye in my /var/log/messages

    Jul 14 10:47:38 zenprox su(pam_unix)[25528]: session opened for user root by root(uid=0)
    Jul 14 10:47:38 zenprox su(pam_unix)[25528]: session closed for user root
    Jul 14 10:47:38 zenprox zabbix_server: zabbix_server startup succeeded

    this happens everytime i try to start zabbix_server
    [/edit]
    Last edited by H@rry; 14-07-2006, 10:53.

    Comment

    • H@rry
      Junior Member
      • Jul 2006
      • 24

      #32
      any more news on this?

      I'm running nino now with SNMP support, but i'd really like to see this work.

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #33
        There is nothing to fix on ZABBIX side. It is problem of your distribution.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • H@rry
          Junior Member
          • Jul 2006
          • 24

          #34
          ok...

          You know where the problem is? And maybe a sort of solution to try.

          Comment

          • H@rry
            Junior Member
            • Jul 2006
            • 24

            #35
            Originally posted by Alexei
            We spent whole day trying to debug this. It seems to be related either to GCC bug or to MySQL which seems to have statically linked OpenSSL symbols, so any application which used both MySQL libraries and OpenSSL shared libs won't compile and (or) run correctly because of duplicate symbol.
            ok my bad, need to read better

            Originally posted by Alexei
            The simple program crashes on RedHat ES4:

            #include <stdio.h>
            #include <net-snmp/net-snmp-config.h>
            #include <net-snmp/net-snmp-includes.h>

            int main()
            {
            printf("Before init_snmp()\n");
            init_snmp("zabbix_server");
            printf("After init_snmp()\n");
            exit(0);
            }

            Compile: gcc a.c -lnetsnmp -lcrypto -L/usr/lib
            I tried to compile it like this and run it and it gave:
            Before init_snmp()
            After init_snmp()

            as expected probably but i thought whatever.

            I'm gonna try to run it on FC4 and see what happens there

            Comment

            Working...