Ad Widget

Collapse

Error in lauching Zabbix_Agentd.exe in windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • scotty
    Senior Member
    • Oct 2006
    • 126

    #1

    Error in lauching Zabbix_Agentd.exe in windows

    Hello,

    I trying to make the windows installer for the 1.6 zabbix_agentd.exe version.

    When I launch the zabbix_agentd.exe I receive a error message as service or in console mode :

    ---------------------------
    zabbix_agentd.exe - Erreur d'application
    ---------------------------
    L'instruction à "0x00402783" emploie l'adresse mémoire "0x00000000". La mémoire ne peut pas être "read".
    Cliquez sur OK pour terminer le programme.
    Cliquez sur Annuler pour déboguer le programme
    ---------------------------
    OK Annuler
    ---------------------------


    C:\Program Files\Zabbix Agent>zabbix_agentd.exe --config "C:\Program Files\Zabbix Agent\zabbix_agentd.conf"
    zabbix_agentd.exe [3340]:

    !!!ATTENTION!!! ZABBIX Agent runned as a console application. !!!ATTENTION!!!

    zabbix_agentd.exe [3340]: zabbix_agentd started. ZABBIX 1.6.
    zabbix_agentd.exe [2996]: zabbix_agentd collector started
    zabbix_agentd.exe [1524]: zabbix_agentd.exe [3308]: zabbix_agentd listener startedzabbix_agentd.exe [940]: zabbix_agentd listener started
    zabbix_agentd listener started

    zabbix_agentd.exe [3708]: zabbix_agentd active check started [zabbix_server4:10051]

    C:\Program Files\Zabbix Agent>

    Zabbix_agentd.log:
    3016:20080920:075714 zabbix_agentd started. ZABBIX 1.6.
    3016:20080920:075714 In init_perf_collector()
    3016:20080920:075714 cfg: para: [Server] val [zabbix_server4]
    3016:20080920:075714 cfg: para: [ServerPort] val [10051]
    3016:20080920:075714 cfg: para: [Hostname] val [sdb016365]
    3016:20080920:075714 cfg: para:[ListenPort] val [10050]
    3016:20080920:075714 cfg: para: [StartAgents] val [5]
    3016:20080920:075714 cfg: para: [EnableRemoteCommands] val [0]
    3016:20080920:075714 Accepted configuration parameter: 'EnableRemoteCommands' = '0'
    3016:20080920:075714 cfg: para: [DebugLevel] val [5]
    3016:20080920:075714 cfg: para: [LogFile] val [C:\Program Files\Zabbix Agent/Zabbix_agentd.log]
    3016:20080920:075714 cfg: para: [Timeout] val [5]
    3308:20080920:075714 zabbix_agentd listener started
    204:20080920:075714 zabbix_agentd listener started
    1900:20080920:075714 zabbix_agentd collector started
    3120:20080920:075714 zabbix_agentd listener started
    3104:20080920:075714 zabbix_agentd active check started [zabbix_server4:10051]
    1900:20080920:075714 In GetCounterName() [index:238]
    3104:20080920:075714 In init_active_metrics()
    3104:20080920:075714 In send_buffer('zabbix_server4','10051')
    3104:20080920:075714 Values in the buffer 0 Max 100
    3104:20080920:075714 refresh_active_checks('zabbix_server4',10051)
    1900:20080920:075714 In GetCounterName() [index:6]
    1900:20080920:075714 Unable to add performance counter "\Processor(_Total)\% Processor Time" to query: Un argument requis est absent ou incorrect.
    Do you know how to solve the problem ?
    Last edited by scotty; 20-09-2008, 08:14.
  • rrr
    Senior Member
    • Sep 2007
    • 100

    #2
    I have the same problem.

    The last logentry is: "Unable to add performance counter "\Processor(_Total)\% Processor Time" to query"

    After that the service is stopped / killed.

    Comment

    • 753713
      Senior Member
      • Apr 2006
      • 137

      #3
      Hi,

      I have the same error on Windows 2003 Server SP2 with Zabbix Agent 1.6.



      11256:20080922:143744 zabbix_agentd started. ZABBIX 1.6.
      11308:20080922:143744 zabbix_agentd collector started
      11344:20080922:143744 zabbix_agentd listener started
      11308:20080922:143744 Unable to add performance counter "\Processor(_Total)\% Processor Time" to query: A required argument is missing or incorrect.


      5188:20080922:143744 zabbix_agentd listener started
      13164:20080922:143744 zabbix_agentd listener started
      13816:20080922:143744 zabbix_agentd active check started [10.190.20.150:10051]
      13816:20080922:143744 Info from server: Processed 0 Failed 1 Total 1 Seconds spent 0.000861
      13816:20080922:143744 OK

      any Ideas for my problem???

      Christian
      ______________________________
      Version : 2.0.x
      Server OS: Ubuntu 12.04
      Zabbix Servers: 12
      Monitored Windows Server: ~ 1000
      ______________________________

      Comment

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

        #4
        No ideas so far. It seems to be related to non-English locales.
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        • 753713
          Senior Member
          • Apr 2006
          • 137

          #5
          I have this error on Englisch 2003 SRV too,

          see:


          thanks

          Christian
          ______________________________
          Version : 2.0.x
          Server OS: Ubuntu 12.04
          Zabbix Servers: 12
          Monitored Windows Server: ~ 1000
          ______________________________

          Comment

          • NOB
            Senior Member
            Zabbix Certified Specialist
            • Mar 2007
            • 469

            #6
            Hi

            another short test on german Windows XP Pro reveals:

            the agent crashes immediately with a read-access to address "0x00000000000".
            The last output in the log is "...Getting active checks...".
            No performance counter involved, at all.

            I'll investigate the agent on server OS (english) tomorrow.

            Regards

            Norbert.

            Comment

            • scotty
              Senior Member
              • Oct 2006
              • 126

              #7
              hello Alexei,

              juste to say that my configuration is Windows XP pro international version width french language.

              Thanks,

              Comment

              • NOB
                Senior Member
                Zabbix Certified Specialist
                • Mar 2007
                • 469

                #8
                Originally posted by NOB
                Hi

                [... some test deleted]

                I'll investigate the agent on server OS (english) tomorrow.

                Regards

                Norbert.
                even on English versions of Windows, where the 1.4.5 Agent worked fine,
                the 1.6 agent crashes with the famous error message:

                Contents of the Logfile is the same as with others or see my post in here.

                Regards

                Norbert.

                Comment

                • Sasha
                  Zabbix developer
                  • Sep 2007
                  • 60

                  #9
                  Thanks!
                  Problem fixed in rev. 6125
                  ZABBIX Developer
                  Riga, Latvia

                  Comment

                  • JSylvia007
                    Junior Member
                    • Sep 2007
                    • 29

                    #10
                    This may be stupid, but where can I get the updated 1.6 agend now that the bug is closed?

                    Comment

                    • Sasha
                      Zabbix developer
                      • Sep 2007
                      • 60

                      #11
                      Windows agents

                      Please get Pre 1.6.x (stable) from http://www.zabbix.com/developers.php.
                      ZABBIX Developer
                      Riga, Latvia

                      Comment

                      • JSylvia007
                        Junior Member
                        • Sep 2007
                        • 29

                        #12
                        Many thanks!

                        Comment

                        • Palmertree
                          Senior Member
                          • Sep 2005
                          • 746

                          #13
                          Originally posted by Sasha
                          Thanks!
                          Problem fixed in rev. 6125
                          Has anyone gotten the zabbix_agentd build 6125 (Oct 8) for windows 32 (Server 2000) to work? We are getting the following error message when installing:
                          Attached Files

                          Comment

                          • DoubleP
                            Junior Member
                            • Dec 2007
                            • 10

                            #14
                            I am getting the same error...

                            ....when starting zabbix_agentd build 6125 on a win2k sp4 machine

                            Comment

                            • BrendanG
                              Junior Member
                              • Nov 2006
                              • 18

                              #15
                              I'm getting the error in the screenshot from the post above on Windows 2000 using the W32 binaries in the 1.6.1 release. Text of the error:
                              zabbix_agentd.exe - Entry Point Not Found
                              The procedure entry point freeaddrinfo could not be located in the dynamic link library WS2_32.dll.

                              This message box pops up when simply doing a zabbix_agentd.exe -v to check the version. A quick search turns up this suggestion http://forums.pcworld.co.nz/archive/...p/t-50226.html:

                              The error you mentioned happens on win2k and prior.

                              To get around it, include these 2 files at the end of your stdafx.h (or at the top of your cpp files just after the stdafx.h)

                              #include <Ws2tcpip.h>
                              #include <Wspiapi.h>
                              Can anyone confirm that 1.6.1 works on Windows 2000?

                              Comment

                              Working...