joseamaita / openopc120

OpenOPC for Python 1.2.0 (works with Python 3.7+ and Pyro4 4.80+)
Other
26 stars 20 forks source link

net start zzzOpenOPCService is giving error The service is not responding to the control function. More help is available by typing NET HELPMSG 2186. #5

Open Saleem344 opened 3 years ago

Saleem344 commented 3 years ago
after installing the service it's not starting 
when executed net start zzzOpenOPCService
The service is not responding to the control function.

More help is available by typing NET HELPMSG 2186.

can anyone give me solution?

thanks

jorge-datanalyst commented 3 years ago

Hello, I have the same problem and I have been thinking about a solution for days without being successful, can someone help?

@joseamaita

joseamaita commented 3 years ago

What version of Python did you install?

jorge-datanalyst commented 3 years ago

Python = 3.8.10 ISO Widows 10 on VMware

joseamaita commented 3 years ago
jorge-datanalyst commented 3 years ago

Thanks for your reply, don't need to do that.

The following worked, I reassembled the development environment from scratch and then I did the steps in your guide, but unlike the previous test I skipped the step C:\OpenOPC37\bin> net start zzzOpenOPCService from the section "Start the OpenOPC Gateway Service "and go directly to the next step which is to run the command C:\OpenOPC37\src> python OpenOPCService.py debug in the terminal.

I don't know if what I did makes any sense or it was just my mistake in the beginning but this worked for me.

Another change I made was to assign the value 127.0.0.1 to the variable OPC_GATE_HOST since for now I am doing tests on my premises.

Thank you again for your help.