Hi,
Fresh install of dynaTrace version 6.0.0.6738 gives error Unrecognized Win32 error code 14001 when starting the server service, or any service for that matter.
Running on a windows 2003 SP2 build 3790 server Enterprise x64 edition. This is a virtual server with 6gb ram and 2 cores running at 2.7ghz.
What could be the issue here?
Full server start log is :
2014-09-15 16:21:00 [0000009c] severe [native] Failed to get Java version: Unrecognized Win32 error code 14001
2014-09-15 16:21:00 [0000009c] info [native] Memory model not defined (-memory parameter not set), default memory model "demo" will be used
2014-09-15 16:21:00 [0000009c] info [native] Starting "dynaTrace Server 6.0.0" as service...
2014-09-15 16:21:00 [000000b0] info [native] -----------------------------------------------------------------------------
2014-09-15 16:21:00 [000000b0] info [native] dynaTrace Server, Copyright (C) 2004-2014, Compuware Corporation
2014-09-15 16:21:00 [000000b0] info [native] -----------------------------------------------------------------------------
2014-09-15 16:21:00 [000000b0] info [native] Native Launcher version: 6.0.0.6738 - built 2014-08-01 16:07:50 +0200
2014-09-15 16:21:00 [000000b0] info [native] Starting service "dynaTrace Server 6.0.0"...
2014-09-15 16:21:00 [000000b0] info [native] Processing additional service parameters (executable <args>):
2014-09-15 16:21:00 [000000b0] info [native] "D:\dynaTrace 6.0.0\dtserver.exe" -loglevel 0
2014-09-15 16:21:00 [000000b0] severe [native] Failed to get Java version: Unrecognized Win32 error code 14001
2014-09-15 16:21:00 [000000b0] finest [native] agentpath for dtserverhelperagent already set: -agentpath:D:\dynaTrace 6.0.0\server\lib\dtserverhelperagent.dll
2014-09-15 16:21:00 [000000b0] warning [native] -Xmx1G config setting is not allowed, ignoring this setting
2014-09-15 16:21:00 [000000b0] warning [native] -Xms1G config setting is not allowed, ignoring this setting
2014-09-15 16:21:00 [000000c8] fine [native] WatchDog started successfully, listening on socket 50000
2014-09-15 16:21:00 [000000b0] fine [native] Cleaning OSGI cache: D:\dynaTrace 6.0.0\server\osgi
2014-09-15 16:21:00 [000000b0] info [native] Launcher configuration summary for dynaTrace Server:
2014-09-15 16:21:00 [000000b0] info [native] Launcher: D:\dynaTrace 6.0.0\dtserver.exe
2014-09-15 16:21:00 [000000b0] info [native] Java VM: D:\dynaTrace 6.0.0\jre\bin\java.exe
2014-09-15 16:21:00 [000000b0] warning [native] Java version could not be detected!
2014-09-15 16:21:00 [000000b0] info [native] Working directory: D:\dynaTrace 6.0.0\server
2014-09-15 16:21:00 [000000b0] info [native] Configuration file: D:\dynaTrace 6.0.0\dtserver.ini
2014-09-15 16:21:00 [000000b0] info [native] Pid file: C:\DOCUME~1\NZDYNA~1\LOCALS~1\Temp\dtserver.pid
2014-09-15 16:21:00 [000000b0] info [native] Native watchdog enabled, port: 50000, timeout: 180 sec (timeout for graceful shutdown: 300 sec)
2014-09-15 16:21:00 [000000b0] finest [native] Application Arguments:
2014-09-15 16:21:00 [000000b0] finest [native] -basedir=server
2014-09-15 16:21:00 [000000b0] finest [native] -restartonfailure
2014-09-15 16:21:00 [000000b0] finest [native] -vm=D:\dynaTrace 6.0.0\jre\bin\java.exe
2014-09-15 16:21:00 [000000b0] finest [native] -watchdogaddress=127.0.0.1
2014-09-15 16:21:00 [000000b0] finest [native] -memory=demo
2014-09-15 16:21:00 [000000b0] finest [native] Command line arguments:
2014-09-15 16:21:00 [000000b0] finest [native] -XX:MaxPermSize=128M
2014-09-15 16:21:00 [000000b0] finest [native] -XX:PermSize=128M
2014-09-15 16:21:00 [000000b0] finest [native] -XX:+UseConcMarkSweepGC
2014-09-15 16:21:00 [000000b0] finest [native] -XX:+DisableExplicitGC
2014-09-15 16:21:00 [000000b0] finest [native] -XX:CMSInitiatingOccupancyFraction=60
2014-09-15 16:21:00 [000000b0] finest [native] -XX:CMSIncrementalSafetyFactor=40
2014-09-15 16:21:00 [000000b0] finest [native] -XX:+CMSClassUnloadingEnabled
2014-09-15 16:21:00 [000000b0] finest [native] -Djava.endorsed.dirs=lib/endorsed
2014-09-15 16:21:00 [000000b0] finest [native] -Djava.awt.headless=true
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.configuration.area=osgi
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.checkConfiguration=true
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, com.dynatrace.diagnostics.serverbootstrap.jar@4:start, org.eclipse.equinox.event@start, org.eclipse.equinox.ds@start
2014-09-15 16:21:00 [000000b0] finest [native] -Declipse.ignoreApp=true
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.noShutdown=true
2014-09-15 16:21:00 [000000b0] finest [native] -Djava.util.logging.manager=com.dynatrace.diagnostics.util.modern.LogManager
2014-09-15 16:21:00 [000000b0] finest [native] -Dorg.osgi.framework.language=en
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.framework.extensions=com.dynatrace.diagnostics.bootstrap.hook
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.nl=en_US
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.nl.user=en_US
2014-09-15 16:21:00 [000000b0] finest [native] -Duser.country=US
2014-09-15 16:21:00 [000000b0] finest [native] -Duser.language=en
2014-09-15 16:21:00 [000000b0] finest [native] -DproxyHost
2014-09-15 16:21:00 [000000b0] finest [native] -DproxyPort
2014-09-15 16:21:00 [000000b0] finest [native] -Dhttp.proxyUser
2014-09-15 16:21:00 [000000b0] finest [native] -Dhttp.proxyPassword
2014-09-15 16:21:00 [000000b0] finest [native] -server
2014-09-15 16:21:00 [000000b0] finest [native] -XX:+UseCompressedOops
2014-09-15 16:21:00 [000000b0] finest [native] -Xrs
2014-09-15 16:21:00 [000000b0] finest [native] -Dcom.dynatrace.diagnostics.WatchDogTimeout=180
2014-09-15 16:21:00 [000000b0] finest [native] -agentpath:D:\dynaTrace 6.0.0\server\lib\dtserverhelperagent.dll
2014-09-15 16:21:00 [000000b0] finest [native] -Dcom.dynatrace.diagnostics.server.ini=D:\dynaTrace 6.0.0\dtserver.ini
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.os=win32
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.ws=win32
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.arch=x86
2014-09-15 16:21:00 [000000b0] finest [native] -Dcom.dynatrace.diagnostics.memorymodel=demo
2014-09-15 16:21:00 [000000b0] finest [native] -Xmx1G
2014-09-15 16:21:00 [000000b0] finest [native] -Xms1G
2014-09-15 16:21:00 [000000b0] finest [native] -Dcom.dynatrace.diagnostics.WatchDogAddress=127.0.0.1
2014-09-15 16:21:00 [000000b0] finest [native] -Dcom.dynatrace.diagnostics.server.ini=D:\dynaTrace 6.0.0\dtserver.ini
2014-09-15 16:21:00 [000000b0] finest [native] -Dcom.dynatrace.diagnostics.WatchDogPort=50000
2014-09-15 16:21:00 [000000b0] finest [native] -jar "D:\dynaTrace 6.0.0\server\plugins\org.eclipse.equinox.launcher_1.2.0.v20110502.jar"
2014-09-15 16:21:00 [000000b0] finest [native] -name dtserver
2014-09-15 16:21:00 [000000b0] finest [native] -showsplash
2014-09-15 16:21:00 [000000b0] finest [native] -launcher "D:\dynaTrace 6.0.0\dtserver.exe"
2014-09-15 16:21:00 [000000b0] finest [native] Internal Settings:
2014-09-15 16:21:00 [000000b0] finest [native] LogFile=D:\dynaTrace 6.0.0\log\server\ServerLauncher.log
2014-09-15 16:21:00 [000000b0] finest [native] BasedirAbsolute=D:\dynaTrace 6.0.0\server
2014-09-15 16:21:00 [000000b0] finest [native] InstanceDirectory=D:\dynaTrace 6.0.0\server
2014-09-15 16:21:00 [000000b0] finest [native] OSGIConfigCache=D:\dynaTrace 6.0.0\server\osgi
2014-09-15 16:21:00 [000000b0] severe [native] Failed to create new process "D:\dynaTrace 6.0.0\jre\bin\java.exe" - Unrecognized Win32 error code 14001
2014-09-15 16:21:00 [000000b0] finest [native] Terminating native watchdog...
2014-09-15 16:21:01 [000000b0] finest [native] Watchdog terminated successfully
2014-09-15 16:21:01 [000000b0] info [native] dynaTrace Server terminated
2014-09-15 16:21:01 [000000b0] severe [native] Service exit code: 4
2014-09-15 16:21:01 [0000009c] info [native] Service "dynaTrace Server 6.0.0" was stopped.
Answer by Andreas G. ·
A Google search on Win32 14001 Error shows a couple of interesting discussions on that topic. One which seemed to work for several folks was to reinstall the MSVC Runtime Library: https://groups.google.com/forum/#!topic/alt.computer/kWJDTgW59f4
Could be that the JVM can't load certain native DLLs. What is still odd though - and I guess thats also what Reinhard was getting at - is that our logout indicates that you are running on x86 and not x64. That however could again be a sideeffect of the dll loading problem.
If you dont make progress on this I suggest to open a support ticket. Maybe our support engineers are already aware of a problem specific to your platform and have a resolution for it.
Answer by Marsh S. ·
yes that works fine:
D:\>cd D:\dynaTrace 6.0.0\jre\bin
D:\dynaTrace 6.0.0\jre\bin>java.exe -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
This looks strange to me:
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.os=win32
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.ws=win32
2014-09-15 16:21:00 [000000b0] finest [native] -Dosgi.arch=x86
You are running on Intel x86_64, right?
OS Name Microsoft(R) Windows(R) Server 2003 Enterprise x64 Edition
Version 5.2.3790 Service Pack 2 Build 3790
OS Manufacturer Microsoft Corporation
System Manufacturer VMware, Inc.
System Model VMware Virtual Platform
System Type x64-based PC
Processor EM64T Family 6 Model 45 Stepping 2 GenuineIntel ~2700 Mhz
Processor EM64T Family 6 Model 45 Stepping 2 GenuineIntel ~2700 Mhz
Answer by Marsh S. ·
Have downloaded the windows x64 full installer again, but still receive the same error. I cannot see any errors being reported during installation. Is there an installation log somewhere, since I cannot find one?
It doesn't seem like this is related to the installation itself. It seem the java virtual machine fails to run.
Can you try the following:
In a console navigate to D:\dynaTrace 6.0.0\jre\bin and try launching java.exe -version.
Does that work? Do you maybe have something like data execution prevention enabled on your machine?
Answer by Andreas G. ·
You had no errors during the installation process? Maybe a corrupted msi file that causes this problem?
Have you tried re-installing dynaTrace - just to rule out any problem that happened during the installation? if you do that - you may also want to try to re-download the package. In the past we have seen some of these errors being related to corrupted msi downloads.
JANUARY 15, 3:00 PM GMT / 10:00 AM ET