Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Agent on Windows Vista

  • Agent on Windows Vista

    Posted by stripeset on November 17, 2006 at 17:26

    Hello Folks,

    i just wanted to run the agent on Windows Vista (RC2/Build 5744).

    Installation worked and i can successfully run the SSH-Test.

    The Service starts without any error, but then it disappears without a message.

    This is the Event-Log-Entry:

    Fehlerhafte Anwendung PandoraAgent.exe, Version 0.0.0.0, Zeitstempel 0x45113735, fehlerhaftes Modul msvcrt.dll, Version 7.0.5744.16384, Zeitstempel 0x45235880, Ausnahmecode 0xc0000005, Fehleroffset 0x00021ff0, Prozess-ID 0x166c, Anwendungsstartzeit 01c70a4a56da876a.

    It is german, but i think relevant information is clear.

    Greetings
    Mario

    jjm3411 replied 17 years, 4 months ago 5 Members · 13 Replies
  • 13 Replies
  • steve-o

    Member
    November 17, 2006 at 20:33
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi!

    We haven’t tried Pandora Agent in Windows Vista, because we don’t have a Vista license (neither a computer to run it, btw :P). So basically, it’s not supported because we can’t prove it. The error message is not relevant, because it’s not descriptive enough. It’s just a couple of meaningless and useless hexadecimal numbers. Thanks anyway for posting it 🙂

    This is the translation into english of the error (using Google):

    Incorrect application PandoraAgent.exe, version 0.0.0.0, Zeitstempel 0x45113735, incorrect module msvcrt.dll, version 7.0.5744.16384, time stamp 0x45235880, exception code 0xc0000005, error offset 0x00021ff0, process ID 0x166c, application starting time 01c70a4a56da876a.

    So it suggest to me that the way it has been developed is not compatible with Vista. Remember what “backward compatibilty” term means to Microsoft: “just pay again for your software and it will be compatible”. Don’t worry, Pandora will always be free software.

    We may try to install it when Vista will be available, but it is not yet, so we are not worry about it. Anyway, keep an eye on us 🙂

    Thanks for the feedback!

  • Sancho

    Administrator
    November 19, 2006 at 02:59
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I could be only a specific module incompability, please, edit your .conf and use different possible setups, using only a module for possible setup, trying to test if using agent with some modules works, and what modules dont work in VISTA.

    Thanks for your post, its very interesting to know that we could have some problems with Vista.

  • jjm3411

    Member
    October 17, 2007 at 04:55
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Not sure if this belongs here or I should open a new post? I recently installed Pandora FMS 1.3 on Vista, and I’m getting a similar if not the same error.

    Faulting application PandoraAgent.exe, version 0.0.0.0, time stamp 0x46e6c2c3, faulting module msvcrt.dll, version 7.0.6000.16386, time stamp 0x4549bd61, exception code 0xc0000005, fault offset 0x0000ec90, process id 0x1480, application start time 0x01c81054715c398e.

    I’ve tried disabling various modules with no luck. Also tried changing the compatibility level to XP.

  • raul

    Member
    October 17, 2007 at 13:33
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I think the problem can be the version of the Visual Studio used to compile the executable (http://support.microsoft.com/kb/192123).

    Does any of you have access to a new version to compile Pandora Agent on Vista?

    Thanks

    Not sure if this belongs here or I should open a new post? I recently installed Pandora FMS 1.3 on Vista, and I’m getting a similar if not the same error.

    Faulting application PandoraAgent.exe, version 0.0.0.0, time stamp 0x46e6c2c3, faulting module msvcrt.dll, version 7.0.6000.16386, time stamp 0x4549bd61, exception code 0xc0000005, fault offset 0x0000ec90, process id 0x1480, application start time 0x01c81054715c398e.

    I’ve tried disabling various modules with no luck. Also tried changing the compatibility level to XP.

  • jjm3411

    Member
    October 18, 2007 at 06:15
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I attempted to compile 1.2 using the latest beta version of Dev-C++ with no success, many compile errors. 🙁 I’ll try the latest stable release of Dev-C++ and I’m also in the process of downloading Visual Studio 2008 Beta 2 and will try both when I have the time. I will also attempt to compile the latest svn version of 1.3.

    FYI… I’m trying to compile while using Vista.

  • Sancho

    Administrator
    October 18, 2007 at 15:25
    2321 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    I attempted to compile 1.2 using the latest beta version of Dev-C++ with no success, many compile errors. 🙁 I’ll try the latest stable release of Dev-C++ and I’m also in the process of downloading Visual Studio 2008 Beta 2 and will try both when I have the time. I will also attempt to compile the latest svn version of 1.3.

    FYI… I’m trying to compile while using Vista.

    Please keep us informed about it (specially steve-o who is the main developer for windows agent), at this moment Vista is not a big priority because major Windows server platform is 2000 or 2003 but will be very important in the future that agent works on vista.

  • jjm3411

    Member
    October 19, 2007 at 06:34
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I tried compiling the latest source available. I was receiving compiling errors pointing to the ftp *.cc and *.h files. After commenting out the ftp info in the main.cc and pandora_agent_service.h & .cc files. I’m stuck at one error…

    C:Windows_FMS_Agent.src_1.3Makefile.win [Build Error] [windows/wmi/disphelper.o] Error 1

    Compile Log
    gcc.exe -D__DEBUG__ -S windows/wmi/disphelper.c -o nul -I”C:/Dev-Cpp/include” -g3

    gcc.exe: installation problem, cannot exec `cc1′: No such file or directory

    make.exe: *** [windows/wmi/disphelper.o] Error 1

    Execution terminated

  • raul

    Member
    October 19, 2007 at 11:31
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
  • jjm3411

    Member
    October 19, 2007 at 15:00
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Raul, thanks for the googling. I followed that post and tried compiling the agent again. I went from one error to 275 errors. After looking at the compiling logs it appeared that the disphelper.cc file was calling on additional libraries from from within the c:Dev-Cppinclude directory and of course it not on my system. I checked for web updates on dev-C++ and downloaded loaded what it looked to be useful. Installed and sure enough the include directory now exists. Started to compile again and got the same errors.

    Once I get this compiled, I’ll try to post exactly everything I did, but as for now this is what i’ve done.

    I’ve commented out using “/*” & “*/” at the following lines in the following files.
    ———————————————–
    main.cc
    line 24 – /*#include “ftp/pandora_ftp_test.h”*/
    line ? – /* FTP::Pandora_FTP_Test ftp_test; */
    line ? – /* ftp_test.test (); */

    pandora_windows_service.cc
    line 27 – /*#include “ftp/pandora_ftp_client.h” */
    line ? – /*void (Comments out the entire sectino for ftping
    line ? – }*/

  • jjm3411

    Member
    October 21, 2007 at 21:15
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I was successful in compiling the agent on vista, but no luck on getting it to work. I receive the same error message with msvcrt.dll, version 7.0.6000.16386. Below are the latest package version and settings I used with dev-C++.

    I copied all files from “C:Dev-Cpplibexecgccmingw323.4.2” to “C:Dev-Cppbin”, thanks to Raul for googling in a prior issue.

    Packages (obtained from devpaks)
    —————————————————————–
    binutils 2.16.91-20060119-1
    gcc-core 3.4.2-20040916-1
    gcc-g++ 3.4.2-20040916-1
    libcurl 7.14.0
    GNU Make 3.81-1
    MinGW runtime 3.11
    OpenSSL 0.9.8a
    Windows32 API 3.10
    Zlib 1.2.3

    The following options were updated….

    Project > Project Options > Directories > Include Directories… (Updated directories and pointed to installation path “C:Dev-CPP”)

    Tools > Compiler Options > Programs > (Added installation path of dev-c++ to all prorams. This fixed the wmi/disphelper compiling errors.
    C:Dev-Cppbingcc.exe
    C:Dev-Cppbing++.exe
    C:Dev-Cppbinmake.exe
    C:Dev-Cppbingdb.exe
    C:Dev-Cppbinwindres.exe
    C:Dev-Cppbindllwrap.exe
    C:Dev-Cppbingprof.exe

  • steve-o

    Member
    October 22, 2007 at 14:48
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    Sorry for the late reply, I usually do not read this forum…

    First of all, you must compile LsaExt.dll, which is a library to be injected into Lsa proccess and retrieve user password. This library is stored in lsa directory. Open LsaExt.dev with Dev-C++ and build it. This part is highly dependant on Windows security layer, so it will probably fail in Vista, but it won’t in XP or 2000.

    Once compiled, try to compile BabelAgent and send your output here. Please, use Pastebin.com service to send us all your output. Paste output there, submit and send us the next URL in your browser (something like http://pastebin.com/m3537fba3 ). This will be the best way to help you on compiling it. Without the output we can’t guess your problem.

    Greetings

  • raul

    Member
    October 22, 2007 at 15:08
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    I think you want to say “Pandora Agent” not “Babel Agent”, don’t you?

    Raúl

  • jjm3411

    Member
    October 23, 2007 at 00:27
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Raul,

    Your correct, I was talking about Pandora Agent. I did successfully compile the babel agent. But the same errors occur (provided on a different post). I did add the LsaEXT as a linker in the pandora agent and compiled it. Still no luck. 🙁