Ad Widget

Collapse

Zabbix 1.3: fresh bugs :)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dma
    Junior Member
    • Nov 2006
    • 3

    #1

    Zabbix 1.3: fresh bugs :)

    zabbix_server crashes after a couple of minutes.
    Caused by querying event_maxid from nodes, and there's event_lastid.
    In any mode.
    Patch attached.

    Distributed mode acts as fork bomb
    LA goes 40+, server doesn't respond for about 2 minutes, then works again.

    Please delete the config cookie on a last screen of web setup. Now it's eternal "installation mode" until I close the browser. It's FF 2.0. May be it's browser-related.

    PHP 5.1.6 complains along the lines of "Non-static method should not be called statically" for COpt methods. Uncommented "public static".
    PHP 5.1.6 complains about deprecated is_a.
    Fixed by
    perl -pi -e 's/is_a\(([^,]+),([^)]+)\)/\($1 instanceof $2\)/g' include/classes/*
    It works afterwards.

    Also, changing any parameter in graphs leads to "Warning: field [stime] is not integer". Seems like you need to improve on input validity checks.
    And also, you can't edit screens - screenitemid is missing in "Change" link when editing screen.
    Attached Files
    Last edited by dma; 14-11-2006, 10:03.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by dma
    zabbix_server crashes after a couple of minutes.
    Caused by querying event_maxid from nodes, and there's event_lastid.
    In any mode.
    Patch attached.
    The patch is wrong because the table must contain two fields. It seems that database schema was not up-to-date in wizard.
    Originally posted by dma
    Distributed mode acts as fork bomb
    LA goes 40+, server doesn't respond for about 2 minutes, then works again.
    Interesting. ZABBIX uses constant number of processes and I cannot imagine that it may produce such a load because of intensive forking. Something else caused this, perhaps lack of physical memory?

    Thanks for your report. All the issues will be addressed in next beta.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • dma
      Junior Member
      • Nov 2006
      • 3

      #3
      May be it's not forking, after all. I'm not sure.
      But you can't see much when LA is over 40 and idle is 0%, and usually such behavior has something to do with excessive forking and something aggressively eating resources.
      If next beta will still do it - I'll examine it more closely.

      About the patch - okay, no problem. You certainly know better

      Comment

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

        #4
        Thanks for the patch anyway Hopefully next beta will resolve all reported issues.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • LEM
          Senior Member
          Zabbix Certified Specialist
          • Sep 2004
          • 112

          #5
          eager to test next beta

          Hi,

          and thx for 1.3 beta cycle initiation. This assume great courage to the whole ZABBIX devel team. Thank's to all fo you.

          Concerning this first beta, if've had similar issues relating to php warning (I'm running php 5.1.2 on Ubuntu 6.06LTS) :
          Code:
          For example on index.php :
          Non-static method COpt::profiling_start() should not be called statically[/var/www/zabbix/include/page_header.php:30]
          Non-static method COpt::savesqlrequest() should not be called statically[/var/www/zabbix/include/db.inc.php:167]
          Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:303]
          Non-static method COpt::counter_up() should not be called statically[/var/www/zabbix/include/perm.inc.php:304]
          Cannot modify header information - headers already sent by (output started at /var/www/zabbix/include/config.inc.php:536)[/var/www/zabbix/include/page_header.php:66]
          ....
          Then, I can connect with 'Admin' with no passwd, but each time I go to any menu (configuration, administration, ...) I've rejected with "No Permissions" ... So, cannot go further to test this release
          Have you any clue that can help me go further (or do I have to wait until next beta) ?

          Cheers !
          --
          LEM

          Comment

          • svlach
            Junior Member
            • Nov 2006
            • 2

            #6
            Good evening. I have installed Zabbix 1.3 on Ubuntu 6.06 LAMP Server and I am encountering the same PHP warning errors and Admin no permission errors similar to LEM. I have clean installed Ubuntu and Zabbix 1.3 with the same results.

            I checked the php.ini file and set Display_errors to Off, and also tried changing Error_reporting setting with absolutely no change in the php warnings.

            If you can provide any suggestions to work around these problems, it would be greatly appreciated. Thanks for a great product!

            Comment

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

              #7
              This is interesting. We use Ubuntu (also 6.06 LAMP) as a primary test platform and see no problems like this. It means more testing required on our side!
              Alexei Vladishev
              Creator of Zabbix, Product manager
              New York | Tokyo | Riga
              My Twitter

              Comment

              • svlach
                Junior Member
                • Nov 2006
                • 2

                #8
                Outside of downloading and install Ubuntu 6.06 server, I also download and install the following packages:

                sudo apt-get install openssh-server
                sudo apt-get install gcc
                sudo apt-get install build-essential
                sudo apt-get install libmysqlclient15-dev
                sudo apt-get install snmp
                sudo apt-get install libsnmp-dev
                sudo apt-get install php5-gd
                sudo apt-get install ntp-simple

                Do you think there is any incompatibilities with the above packages, and with what Zabbix is expecting? Or is there another way that the test boxes internally at Zabbix are setup differently?

                Thanks again for your help.

                Comment

                • Gino787
                  Junior Member
                  • Jun 2006
                  • 5

                  #9
                  Installation bug

                  On the ZABBIX 1.3 (Beta)

                  Windows 2k
                  PHP ver: 5
                  Apache 2.0.x

                  On the stage 7. Install, when I tried to save the config file, it gave me "conf-zabbix.conf.php" as a file. And it should be zabbix.conf.php.

                  When I trace back the error, I notice in the code on the file "config.inc.php" line 120.

                  120: function read_configuration_file($file='conf/zabbix.conf.php')

                  Windows can't interpret "conf/" as a destination directory. I had to modify the file "setup.inc.php" to delete the first 5 character to save it as it should be, "zabbix.conf.php".

                  This was I had done:
                  setup.inc.php line 702:
                  ----
                  $fix_conf_file = substr($ZBX_CONFIGURATION_FILE, 5, strlen($ZBX_CONFIGURATION_FILE));
                  header('Content-Disposition: attachment; filename="'.$fix_conf_file.'"');
                  ----

                  I don't know if this is the place to post this.

                  Comment

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

                    #10
                    Thanks for reporting Windows-related issue. Fixed.
                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    • dsipe
                      Senior Member
                      • Oct 2006
                      • 184

                      #11
                      just to say that the problems people met with setup going round & round seem to appear on many [all ?] linux box.

                      I've got it on openSuse 10.0, 10.1 and just saw it again on the brand new 10.2.

                      To get the beta 1.3.1 work, i first do a standart setup with the new web interface, and save the zabbix.conf.php file @ the right location.

                      From there, as the setup go round, i stop the web browser.
                      Then i clear the zabbix database [ mysqladmin drop zabbix & mysqladmin create zabbix ]
                      To finish a put the schema & data inside it with the scripts in [zabbix_tar_gz_home]/create/mysql

                      Then it work fine!

                      Comment

                      Working...