Consultor Eletrônico



Kbase P24222: Cannot start Admin Service through Windows services when registry key is incorrect
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/05/2010
Status: Verified

SYMPTOM(s):

Cannot start Admin Service through Windows services

Could not start Admin Service on local computer

Service does not return an error

Starting from command line, proadsv.bat works fine

Registry key under HKEY_LOCAL_MACHINE for Adminserver exist

FACT(s) (Environment):

Windows NT 32 Intel/Windows 2000
Windows
Progress 9.1x
OpenEdge 10.x

CAUSE:

Incorrect registry key entry under HKEY_LOCAL_MACHINE\Software\PSC\AdminService\9.1D\StartupCmd
Where 9.1D can be your current version (9.1E, 10.1B, 10.1C, 10.2A etc...).

FIX:

1) Make a backup of proadsv.bat file
2) Edit proadsv.bat
3) Comment out "@ECHO OFF" in the beginning of the file and save file
4) Open proenv session
5) Run the following command
proadsv.bat -start

6) You will see lots of output. Go to the NOTE of this Solution to see what you get
7) Copy the startup command

Example:

C:\PROGRA~1\PROGRE~1\bin\jvmStart.exe" -o stderr -s -m silent -c @{JAVA\
JRECP};@{JAVA\PROGRESSCP};@{JAVA\FATHOMCP} "@{JAVA\JREHOME}\bin\@{JAVA\JVMEXE}"
-Djava.security.policy="@{JAVA\JAVAPOLICY}" -Dadmsrv.jvm="@{JAVA\JREHOME}\bin\@{
JAVA\JVMEXE}" -DInstall.Dir="C:\PROGRA~1\PROGRE~1" -DWork.Dir="@{WorkPath}" -Dja
va.jvmargs="@{JAVA\JVMARGS}" com.progress.chimera.adminserver.AdminServerType
-start

8) Paste this command into HKLM\Software\PSC\AdminService\9.1D\StartupCmd
9) Add "-service" at the end of the entry, after "-start"
10) Edit proadsv.bat file
11) Put back ""@ECHO OFF" in the beginning of the line and save file
12) Start the Adminserver through the Services