pepdwill Honored Contributor.
Honored Contributor.
86 views

Reinstalling Windows Service...

Quick question - what's the correct way to reinstall the Windows PPM service?  Having some issues after updating the java version (the kConfig util was not applying the change to the java path) - and would like to know what next.

 

 

Thanks!

0 Likes
4 Replies
CGut Absent Member.
Absent Member.

Re: Reinstalling Windows Service...

Hi Pepdwill,


Can you please go to PPM_HOME/bin and locate the ksvc.exe file and try to use it to create the window service from the DOS prompt. The usage of this command is:
---
Usage:
ksvc list [-all true|false]
ksvc install server-name [-kh kintana-home] [-jh java-home]
ksvc remove server-name
ksvc install-all [-kh kintana-home] [-jh java-home]
ksvc remove-all [-kh kintana-home]
ksvc sync [-kh kintana-home] [-jh java-home]

If -kh is missing, ksvc will try to determine kintana home from the location of ksvc.exe.

If -jh is missing, ksvc will read the environment variable JAVA_HOME.

The commands remove-all, install-all, and sync will only configure services for the given kintana home.
The command list by default shows only services relative to the given kintana-home. When supplying "-all true" all
Kintana services are displayed. The exit code is the number of running services displayed.
-----
Please try it and let me know if that works,

Best Regards,
Carolina.


“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
0 Likes
pepdwill Honored Contributor.
Honored Contributor.

Re: Reinstalling Windows Service...

Thanks Carolina -

 

The steps you provided did work for removing/readding the service.  The issue we're now having is that the service does not start up quickly enough and just displays a status of "Starting" in Windows.  That said, PPM does start up.  Due to the status showing as "Starting" though, it makes it impossible for us to gracefully kill the process if needed to recycle the service.

 

Any ideas on what can be done about this?

 

0 Likes
pepdwill Honored Contributor.
Honored Contributor.

Re: Reinstalling Windows Service...

I think I fixed the service startup issue by removing an old java path from our path environment variable.  (Or at least, after doing this, the service started up quickly - not sure if that's a known thing).

 

 

0 Likes
CGut Absent Member.
Absent Member.

Re: Reinstalling Windows Service...

Hi pepdwill, 

 

It could a be possible fix, aslo killing all java process before start the service could help.

 

 

Let me know if you need something else about this thread. 

 

Best Regards, 

Carolina. 


“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.