Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install Kaazing - windows svcutil #929

Closed
GodelMachine opened this issue Feb 22, 2021 · 4 comments
Closed

Cannot install Kaazing - windows svcutil #929

GodelMachine opened this issue Feb 22, 2021 · 4 comments

Comments

@GodelMachine
Copy link

Can the bug be reproduced in a Kaazing demo out-of-the-box? - On my computer I believe

Steps to reproduce the problem -

  1. Install Kaazing.
  2. Delete from registry editor
  3. Try installing Kaazing again, either in same location or different location

Expected behavior - Kaazing should install seamlessly

Actual behavior - I get the following. After I press enter 3 times it says - "KWIC service installed

Press RETURN to continue
KWIC installed as a Service." when the fact is its not installed.

Below is entire execution trace

D:\Kaazing_doc_4\kwic-5.9.16>kwic.setup.exe --service
Running in service installer mode
Inside serviceOnly ...
KWIC service not installed ...
Calling installDaemon() ...
Installing the KWIC service ...
Windows:svcutilPath: D:\Kaazing_doc_4\kwic-5.9.16\ext\bin\kwic.service.exe
WARNING: unable to install the KWIC service
Press RETURN to continue
Starting the KWIC service ...
Windows:svcutilPath: D:\Kaazing_doc_4\kwic-5.9.16\ext\bin\kwic.service.exe
WARNING: unable to start the KWIC service
Press RETURN to continue
KWIC service installed
Press RETURN to continue
KWIC installed as a Service.

Logs/Wiresharks - Not gathered

Specifications

  1. Gateway Java version - Don't know where to check
  2. OS version - Windows 10
  3. Java version - 1.8.0_45
  4. Backend system version - Not relevant
  5. Browser version - Not relevant
@jselit
Copy link

jselit commented Feb 23, 2021

Hi, are you a Kaazing Gateway customer? If so, it would be better to file a support ticket.

@GodelMachine
Copy link
Author

GodelMachine commented Feb 23, 2021 via email

@jselit
Copy link

jselit commented Feb 23, 2021

Hi,

Typically, the recommended procedure is that you contact BMC for issues first, then BMC will contact us if they need help solving the issue. Please do so for any issues you encounter in the future.

As for your service issue, there is a registry entry you need to delete. Go into your registry and go to this location:
SYSTEM\CurrentControlSet\Services\EventLog\Application\KWICService

Delete the KWICService folder there and then you should be able to install the service once again. In the future, if you wish to delete a service, we recommend using the tool at inside your KWIC directory at kwic-5.9.19\ext\bin\kwic.service.exe. Run the kwic.service.exe once to see what commands are accepted. Note that the service must be stopped before trying to remove it.

@GodelMachine
Copy link
Author

GodelMachine commented Feb 23, 2021

Hi,

Typically, the recommended procedure is that you contact BMC for issues first, then BMC will contact us if they need help solving the issue. Please do so for any issues you encounter in the future.

As for your service issue, there is a registry entry you need to delete. Go into your registry and go to this location:
SYSTEM\CurrentControlSet\Services\EventLog\Application\KWICService

Delete the KWICService folder there and then you should be able to install the service once again. In the future, if you wish to delete a service, we recommend using the tool at inside your KWIC directory at kwic-5.9.19\ext\bin\kwic.service.exe. Run the kwic.service.exe once to see what commands are accepted. Note that the service must be stopped before trying to remove it.

Hi there,

Thank you so much for your valuable help.

I was able to follow the steps you provided viz. delete "KWICService" from HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\KWICService and then installed Kaazing as per the steps laid down in the document.

I also checked \kwic-5.9.4-windows\kwic-5.9.4\ext\bin folder and ran the kwic.service executable in command prompt, upon which I got the following output →

"2021/02/24 03:03:35 Error no arguments
Use kwic.service install, remove, debug, start, stop or status."

Based on the output, I surmise the command that should be run in order to remove the service would be "kwic.service remove" from the command prompt, after having the execution location set to \kwic-5.9.4-windows\kwic-5.9.4\ext\bin.

Next time forth, I will bear in mind to reach out to BMC first.

Please close this Issue and once again, million heartfelt thanks for your timely help and assistance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants