Monitors not working - DLL error

FNWMediaFNWMedia
Although I guess my problem is rather special and probably related to this particular machine (Windows Server 2008 R2), I hope to probably get some more hints here.



I installed the latest version (10.3) of ServersCheck on this machine (like I did on many others before) but had to face the fact that none of the monitors I set up seems to be working: The check counter doesn't increase and if I manually bring the application observed by a certain monitor down, I don't get any email notification nor the linked corrective action is taken.

Even the basic WINDOWSHEALTH one does not show CPU & RAM data (instead "No CPU data!" / "No memory data!" is displayed in the dashboard).



Hence, I first tried to run the corresponding system services using my current user account which has administrative privileges (although this was never necassary on any other Windows Server 2008 R2 machine before) as proposed in the FAQ.

As doing so didn't improve the situation, I started ServersCheck in debug mode as described and at least got a small hint regarding the cause of trouble: When I try to test any of the monitors I have set up (it doesn't matter which one), I immediately get an error message popup reading the following message:



The ordinal number 4046 was not found in the DLL "LIBEAY32.dll"



I already did some research and tried different versions of the corresponding (OpenSSL-related) DLL (even in the SysWOW64 folder). Although I also found a version which integrated the obviously missing function, I then ran into a C++ runtime error (unfortunately, I did not write down this message) which made me think that this manual fixing isn't the way to go...



Finally, I also tried to install an older version (9.1.0) of ServersCheck, but his one didn't even start S-Service.exe and if I tried to do so manually, I received a very similar error (featuring the same DLL - LIBEAY32.dll - but just with a different ordinal number).



So I finally want to ask if this particular (and obviously really special) problem is known and if there is any way to do something about it on my part. I could re-install the machine but as there are already several applications running (which all work just fine) on it, it would cost me lots of time to get everything up and running again...



Any help is highly appreciated !





P.S.: I attached the debug log as well as the content of the console window displayed during the debug session as the latter contains some error messages which might probably give a hint to the developers.



----------------------------------------------------------

DEBUG LOG

----------------------------------------------------------

# Starting up app

#

# ServersCheck Web Server

# ServersCheck Freeware Edition - version 10.3.0

#

# Number of monitors allowed: 100

#

# Installed on - CT60213

#

# Loading language file: EN.lang

# version 10.3.0

#

#

# (c) Copyright 2003-2013 - ServersCheck BVBA

# www.serverscheck.com

#

#

#

#

#

# Start: Tue Nov 5 11:09:09 2013 - End: Tue Nov 5 11:09:10 2013

#

# Configuration server ready, serving on port "1272"...

#

#

# Tue Nov 5 11:09:15 2013 Reading configuration file - last was

# Tue Nov 5 11:09:15 2013 Reading conf file completed

# Tue Nov 5 11:09:15 2013 Importing current status of each monitor

# Tue Nov 5 11:09:15 2013 End importing current status of each monitor



WINDOWSHEALTH

C:serverscheck_databasesrrdtool.exe graph "C:Program Files (x86)ServersCheck/outputgraphs1171011122WINDOWSHEALTH-cpu.gif" -u 1 -h 200 -w 500 -v "CPU usage in %" -t "WINDOWSHEALTH - CPU Usage (Local System)" DEF:line1=C:serverscheck_databases1171011122WINDOWSHEALTH-cpu.rrd:response:MAX LINE1:line1#FF9933:"CPU Usage" GPRINT:line1:MIN:"Min %.2lf" GPRINT:line1:MAX:"Max %.2lf" GPRINT:line1:AVERAGE:"Avg %.2lf" GPRINT:line1:LAST:"Last %.2lfn" COMMENT:n COMMENT:n COMMENT:"" COMMENT:"Graph created on Tue Nov 5 11:09:18 2013 by ServersCheck Freeware Edition"

# Tue Nov 5 11:09:18 2013 1171011122WINDOWSHEALTH - Graph plotting: 597x293



WINDOWSHEALTH

C:serverscheck_databasesrrdtool.exe graph "C:Program Files (x86)ServersCheck/outputgraphs1171011122WINDOWSHEALTH-mem.gif" -u 1 -h 200 -w 500 -v "Free memory in %" -t "WINDOWSHEALTH - Free Memory (Local System)" DEF:line1=C:serverscheck_databases1171011122WINDOWSHEALTH-mem.rrd:response:MAX LINE1:line1#FF9933:"Free Memory" GPRINT:line1:MIN:"Min %.2lf" GPRINT:line1:MAX:"Max %.2lf" GPRINT:line1:AVERAGE:"Avg %.2lf" GPRINT:line1:LAST:"Last %.2lfn" COMMENT:n COMMENT:n COMMENT:"" COMMENT:"Graph created on Tue Nov 5 11:09:18 2013 by ServersCheck Freeware Edition"

# Tue Nov 5 11:09:19 2013 1171011122WINDOWSHEALTH - Graph plotting: 597x293



WINDOWSHEALTH

C:serverscheck_databasesrrdtool.exe graph "C:Program Files (x86)ServersCheck/outputgraphs1171011122WINDOWSHEALTH-value.gif" -u 1 -h 200 -w 500 -v "Ping RRT in ms" -t "WINDOWSHEALTH - PING RRT in ms (Local System)" DEF:line1=C:serverscheck_databases1171011122WINDOWSHEALTH-value.rrd:response:MAX LINE1:line1#FF9933:"PING RRT in ms" GPRINT:line1:MIN:"Min %.2lf" GPRINT:line1:MAX:"Max %.2lf" GPRINT:line1:AVERAGE:"Avg %.2lf" GPRINT:line1:LAST:"Last %.2lfn" COMMENT:n COMMENT:n COMMENT:"" COMMENT:"Graph created on Tue Nov 5 11:09:18 2013 by ServersCheck Freeware Edition"

# Tue Nov 5 11:09:19 2013 1171011122WINDOWSHEALTH - Graph plotting: 597x293

# Tue Nov 5 11:09:20 2013 Logs from 1383606000:Tue Nov 5 00:00:00 2013 to 1383692400:Wed Nov 6 00:00:00 2013

# Tue Nov 5 11:09:20 2013 Scanning log: alerts-2013-11-5

# Tue Nov 5 11:09:21 2013 delete - 1171011122

# Tue Nov 5 11:09:24 2013 Serving Wizard 3 in test mode? 1

# Tue Nov 5 11:09:24 2013 Serving Wizard 4

# Tue Nov 5 11:09:32 2013 Serving Wizard 4_1 - 0

# Tue Nov 5 11:09:37 2013 Serving Wizard 4_1 - 1

# Tue Nov 5 11:09:42 2013 Serving Wizard 4_1 - 2

# Tue Nov 5 11:09:47 2013 Serving Wizard 4_1 - 3

# Tue Nov 5 11:09:52 2013 Serving Wizard 4_1 - 4

# Tue Nov 5 11:09:57 2013 Serving Wizard 4_1 - 5

# Tue Nov 5 11:10:02 2013 Serving Wizard 4_1 - 6

# Tue Nov 5 11:10:07 2013 Serving Wizard 4_1 - 7

# Tue Nov 5 11:10:12 2013 Serving Wizard 4_1 - 8

# Tue Nov 5 11:10:17 2013 Reading configuration file - last was 1383646155

# Tue Nov 5 11:10:17 2013 Reading conf file completed

# Tue Nov 5 11:10:17 2013 Serving Wizard 4_1 - 9

# Tue Nov 5 11:10:22 2013 Serving Wizard 4_1 - 10

# Tue Nov 5 11:10:27 2013 Serving Wizard 4_1 - 11

# Tue Nov 5 11:10:32 2013 Serving Wizard 4_1 - 12

# Tue Nov 5 11:10:37 2013 Serving Wizard 4_1 - 13

# Tue Nov 5 11:10:42 2013 Serving Wizard 4_1 - 14

# Tue Nov 5 11:10:45 2013 Importing current status of each monitor

# Tue Nov 5 11:10:45 2013 End importing current status of each monitor

# Tue Nov 5 11:10:48 2013 Serving Wizard 4_1 - 15

# Tue Nov 5 11:10:53 2013 Serving Wizard 4_1 - 16

# Tue Nov 5 11:10:58 2013 Serving Wizard 4_1 - 17

# Tue Nov 5 11:11:03 2013 Serving Wizard 4_1 - 18

# Tue Nov 5 11:11:08 2013 Serving Wizard 4_1 - 19

# Tue Nov 5 11:11:45 2013 Reading configuration file - last was 1383646217

# Tue Nov 5 11:11:45 2013 Reading conf file completed

# Tue Nov 5 11:12:15 2013 Importing current status of each monitor

# Tue Nov 5 11:12:15 2013 End importing current status of each monitor







----------------------------------------------------------

OUTPUT OF DEBUG CONSOLE WINDOW

----------------------------------------------------------

C:Program Files (x86)ServersCheck>s-server.exe > debug.txt

Attempt to free unreferenced scalar: SV 0x537c7e0, Perl interpreter: 0x1e9044 at /<C:Program Files (x86)ServersChecks-server.exe>SNMP_Session.pm line 148.

# Env:C:Windows

# Enabling HTTP Server

Can't load 'auto/Net/SSLeay/SSLeay.dll' for module Net::SSLeay: load_file:The specified module could not be found at /<C:Program Files (x86)ServersCheckmonitoring_test.exe>DynaLoader.pm line 221, <DATA> line 165.

at perlapp line 848

BEGIN failed--compilation aborted at monitoring_rule.pl line 8572, <DATA> line 165.

Comments

  • AdministratorAdministrator
    The issue is due to a conflict with another SSLeay.dll installed by another app and not installed in the application folder as it should.



    Rename all other SSLeay.dll and try again.



    We recommend installing the software on a clean machine just to avoid such conflicts.
  • FNWMediaFNWMedia
    Thank you very much for your fast reply and sorry for my belated answer (had several other tasks to do last week so I didn't have the time to further investigate this problem).



    The other application that also brings a SSLeay.dll is Plesk Desktop which is always installed by default on each virtual server by the hosting provider we use (Host Europe).

    Interestingly, the additional SSLeay.dll (which has a different - newer - version) is only present in the application's folder (C:ParallelsPleskAdditionalPerllibautoCryptSSLeay) while SysWOW64 and ServersCheck's installation folder feature the same version which came with ServersCheck (I simply compared the files in both paths).



    As we don't need the functionality of Plesk Desktop, I followed your proposal nevertheless and it made a difference in the console log, but not for the ordinal number error in LIBEAY32.dll (which is still exactly the same when I start the test run for an arbitrary monitor in debug mode).



    In this context, I also thought of a possible PATH environment issue and hence inspected its value. I found several more entries of Plesk Desktop here and naturally removed them to keep it from interfering with ServersCheck.

    Here is a dump of its current contents (which looks OK to me):



    ----------------------------------------------------------

    PATH VARIABLE CONTENTS

    ----------------------------------------------------------

    %SystemRoot%system32;

    %SystemRoot%;

    %SystemRoot%System32Wbem;

    %SYSTEMROOT%System32WindowsPowerShellv1.0;

    C:Program FilesTortoiseSVNbin;

    C:Program FilesMicrosoftWeb Platform Installer





    Luckily, this indeed made an impact and the LIBEAY32.dll error seems to be gone. Unfortunately, I am not receiving a runtime error R6034 in monitoring_test.exe when testing a monitor (e.g. WINDOWSHEALTH).

    The full error message (shown in a typical error message box) reads:





    Runtime Error!

    Program: C:Program Files (x86)ServersCheckmonitoring_test.exe



    R6034

    An application has made an attempt to load the C runtime library incorrectly.

    Please contact the application's support team for more information.





    Although plenty of possible reasons of and solutions for this issue can be found in the web, I hope that this error is already known to the support team and someone can give me an advice of what to do about it, here.

    I really hope that I can avoid the pain of a full OS re-install as there are already many web applications running on that particular machine (that's why I am in real need for a working monitoring software)...



    Finally, I once again posted the debug & console log of my latest debug run (by the way, is there any other possibility to attach files as these lengthy blocks of debug texts are somehow flooding the thread):



    ----------------------------------------------------------

    DEBUG LOG

    ----------------------------------------------------------

    # Starting up app

    #

    # ServersCheck Web Server

    # ServersCheck Freeware Edition - version 10.3.0

    #

    # Number of monitors allowed: 100

    #

    # Installed on - CT60213

    #

    # Loading language file: EN.lang

    # version 10.3.0

    #

    #

    # (c) Copyright 2003-2013 - ServersCheck BVBA

    # www.serverscheck.com

    #

    #

    #

    #

    #

    # Start: Tue Nov 12 15:48:04 2013 - End: Tue Nov 12 15:48:05 2013

    #

    # Configuration server ready, serving on port "1272"...

    #

    #

    # Tue Nov 12 15:48:05 2013 Reading configuration file - last was

    # Tue Nov 12 15:48:05 2013 Reading conf file completed

    # Tue Nov 12 15:48:05 2013 Importing current status of each monitor

    # Tue Nov 12 15:48:05 2013 End importing current status of each monitor



    WINDOWSHEALTH

    C:serverscheck_databasesrrdtool.exe graph "C:Program Files (x86)ServersCheck/outputgraphs1171011122WINDOWSHEALTH-cpu.gif" -u 1 -h 200 -w 500 -v "CPU usage in %" -t "WINDOWSHEALTH - CPU Usage (Local System)" DEF:line1=C:serverscheck_databases1171011122WINDOWSHEALTH-cpu.rrd:response:MAX LINE1:line1#FF9933:"CPU Usage" GPRINT:line1:MIN:"Min %.2lf" GPRINT:line1:MAX:"Max %.2lf" GPRINT:line1:AVERAGE:"Avg %.2lf" GPRINT:line1:LAST:"Last %.2lfn" COMMENT:n COMMENT:n COMMENT:"" COMMENT:"Graph created on Tue Nov 12 15:48:11 2013 by ServersCheck Freeware Edition"

    # Tue Nov 12 15:48:11 2013 1171011122WINDOWSHEALTH - Graph plotting: 597x293



    WINDOWSHEALTH

    C:serverscheck_databasesrrdtool.exe graph "C:Program Files (x86)ServersCheck/outputgraphs1171011122WINDOWSHEALTH-mem.gif" -u 1 -h 200 -w 500 -v "Free memory in %" -t "WINDOWSHEALTH - Free Memory (Local System)" DEF:line1=C:serverscheck_databases1171011122WINDOWSHEALTH-mem.rrd:response:MAX LINE1:line1#FF9933:"Free Memory" GPRINT:line1:MIN:"Min %.2lf" GPRINT:line1:MAX:"Max %.2lf" GPRINT:line1:AVERAGE:"Avg %.2lf" GPRINT:line1:LAST:"Last %.2lfn" COMMENT:n COMMENT:n COMMENT:"" COMMENT:"Graph created on Tue Nov 12 15:48:11 2013 by ServersCheck Freeware Edition"

    # Tue Nov 12 15:48:11 2013 1171011122WINDOWSHEALTH - Graph plotting: 597x293



    WINDOWSHEALTH

    C:serverscheck_databasesrrdtool.exe graph "C:Program Files (x86)ServersCheck/outputgraphs1171011122WINDOWSHEALTH-value.gif" -u 1 -h 200 -w 500 -v "Ping RRT in ms" -t "WINDOWSHEALTH - PING RRT in ms (Local System)" DEF:line1=C:serverscheck_databases1171011122WINDOWSHEALTH-value.rrd:response:MAX LINE1:line1#FF9933:"PING RRT in ms" GPRINT:line1:MIN:"Min %.2lf" GPRINT:line1:MAX:"Max %.2lf" GPRINT:line1:AVERAGE:"Avg %.2lf" GPRINT:line1:LAST:"Last %.2lfn" COMMENT:n COMMENT:n COMMENT:"" COMMENT:"Graph created on Tue Nov 12 15:48:11 2013 by ServersCheck Freeware Edition"

    # Tue Nov 12 15:48:12 2013 1171011122WINDOWSHEALTH - Graph plotting: 597x293

    # Tue Nov 12 15:48:13 2013 Logs from 1384210800:Tue Nov 12 00:00:00 2013 to 1384297200:Wed Nov 13 00:00:00 2013

    # Tue Nov 12 15:48:13 2013 Scanning log: alerts-2013-11-12

    # Tue Nov 12 15:48:13 2013 delete - 1171011122

    # Tue Nov 12 15:48:16 2013 Serving Wizard 3 in test mode? 1

    # Tue Nov 12 15:48:16 2013 Serving Wizard 4

    # Tue Nov 12 15:48:23 2013 Serving Wizard 4_1 - 0







    ----------------------------------------------------------

    OUTPUT OF DEBUG CONSOLE WINDOW

    ----------------------------------------------------------

    C:Program Files (x86)ServersCheck>s-server.exe > debug.txt

    Attempt to free unreferenced scalar: SV 0x5243d58, Perl interpreter: 0x1b52d64 at /<C:Program Files (x86)ServersChecks-server.exe>SNMP_Session.pm line 148.

    # Env:C:Windows

    # Enabling HTTP Server

    Can't load 'auto/XML/LibXML/Common/Common.dll' for module XML::LibXML::Common: load_file:The specified module could not be found at /<C:Program Files (x86)ServersCheckmonitoring_test.exe>DynaLoader.pm line 221, <DATA> line 165.

    at perlapp line 848

    BEGIN failed--compilation aborted at /<C:Program Files (x86)ServersCheckmonitoring_test.exe>XML/LibXML.pm line 12, <DATA> line 165.

    BEGIN failed--compilation aborted at /<C:Program Files (x86)ServersCheckmonitoring_test.exe>XML/LibXSLT.pm line 7, <DATA> line 165.

    BEGIN failed--compilation aborted at monitoring_rule.pl line 10668, <DATA> line 165.





    Obviously, the Common.dll is responsible for an internal problem and as this particular file is missing in ServerCheck's program directory, I guess there might be something wrong here...
  • AdministratorAdministrator
    It is clear that there is a conflict on your system with other software running.



    Installing it on a clean system (virtual or physical) should solve your problem.



    In the system requirements it is indicated that it should not be installed with other software due to the exact potential issue of conflicts.
This discussion has been closed.