Hello,
I’m an absolute beginner with openHAB - sorry, if make silly mistakes.
I have a Windows Server 2008r2 running and try to install openHAB 2, following the advice given by https://docs.openhab.org/installation/windows.html#connecting-to-the-openhab-console
I also installed JAVA (tried both jre and jdk, and set the %JAVA_HOME% to the pathes as system variable).
When typing "net start “openHAB2"” , about 20 dots are comming, and the information "system error 1067 has occurred ".
The computer managemet shown openHAB2 as a service, but it also doesn’t start.
I believe 1067 is related to permissions. Make sure the user id under which you run the service has access to any required directories and files and is allowed network access.
Just reread your first post. Your trying to start OH as a Windows service. What happens when you just click on the batch file (start.bat) to start OH and not run it as a service, does it run that way?
Concerning the permissions: the server is placed in the basement and I’m controlling it by Remote desktop as a administrator. I’m also always starting the command prompt with “run as admin”.
When staring start. bat this happens:
Hello, I think I’ve found my mistake.
I first tried to install from a different folder and this folder is still shown in the Services as “Path to executable”:
It is not possible to install the service again, as it already exists.
How do I delete this service to install it again?
Thanks for your help and sorry for my mistakes
Philipp
I realize this is an older post, but I went thru this same error troubleshooting and finally resolved it.
Make sure you’re doing this running as Administrator.
After you make the updated conf file, make sure your directory path and syntax is correct. I found I had a “/” at the end of my directory path
I received a 1067 after it said the service was installed, but yet it wouldn’t start. To delete the service - SC DELETE openHAB2. This removed it and I was able to build the service with the correct path.
Hi all, I’m also a newbie, so please forgive any stupid questions! I’m facing a very similar situation.
I followed the description from here step by step. When trying to start the service, I got system error 1067.
The installed service points to the path C:\openHAB2\userdata\bin\openHAB2-wrapper.exe -s C:\openHAB2\userdata\etc\openHAB2-wrapper.conf - is this correct? If I try to execute this command manually (from an elevated shell, of course), I get:
PS C:\openHAB2> C:\openHAB2\userdata\bin\openHAB2-wrapper.exe -s C:\openHAB2\userdata\etc\openHAB2-wrapper.conf
Attempting to start openHAB2 as an NT service.
Calling StartServiceCtrlDispatcher...please wait.
StartServiceControlDispatcher failed!
For help, type
C:\openHAB2\userdata\bin\openHAB2-wrapper.exe /?
PS C:\openHAB2> C:\openHAB2\userdata\bin\openHAB2-wrapper.exe /?
FATAL | wrapper | Unable to open configuration file. C:\?
PS C:\openHAB2>
Can you give me any pointer how to solve the problem? Thanks in advance!
Christoph
(The following should not be a problem, should it?