wrapper | OpenSCManager failed - Access is denied. (0x5)

谁都会走 提交于 2020-01-22 20:08:09

问题


I am trying to install Archiva on windows 8.1 pro (64 bit) and I am continuously getting the same error as below

wrapper | OpenSCManager failed - Access is denied. (0x5).

I logged in as administrator only. But still I am getting the same error. Most of the answers for the same problem I am seeing it for VISTA and 7 etc.. But not for Windows8.1 Pro (64 bit)


回答1:


You need to run that command as an administrator.

  • Right-click on the command prompt entry in the start menu / task bar
  • Select "Run as Administrator"
  • Navigate to the Archiva installation directory

Then run:

bin\archiva install
net start archiva



回答2:


I'm not sure this is supported by the wrapper. Maybe the way to go for you is to use the war within a servlet container. Have a look here: http://archiva.apache.org/docs/2.1.0/adminguide/webapp.html

HTH




回答3:


pleas open Command Prompt run as administrator mode and then go to

{tinydms-home}/bin

then

tinydms install

to installing




回答4:


Type cmd as shown below:

Run as administrator as shown below:




回答5:


Sometimes, reopening the console or restarting the computer solves this problem for me. I hope it works



来源:https://stackoverflow.com/questions/24761318/wrapper-openscmanager-failed-access-is-denied-0x5

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!