Open williamtu opened 3 years ago
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/start-service?view=powershell-7.1#example-4--start-a-disabled-service looks correct maybe permission issue?
PS C:\antrea\hack\windows> sc.exe create ovsdb-server binPath= C:\openvswitch\usr\s
bin\ovsdb-server.exe
[SC] CreateService FAILED 1073:
The specified service already exists.
PS C:\antrea\hack\windows> sc.exe query ovsdb-server
SERVICE_NAME: ovsdb-server
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PS C:\antrea\hack\windows> sc.exe start ovsdb-server
[SC] StartService FAILED 1053:
The service did not respond to the start or control request in a timely fashion.
ovs-vswitchd
PS C:\antrea\hack\windows> sc.exe query ovs-vswitchd
SERVICE_NAME: ovs-vswitchd
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 1077 (0x435)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
PS C:\antrea\hack\windows> sc.exe start ovs-vswitchd
[SC] StartService FAILED 1068:
The dependency service or group failed to start.
missing libeay32, install OpenSSL
MSVCR120.dll not found
I just make a copy PS C:\Windows\System32> cp .\msvcr120_clr0400.dll msvcr120.dll
when using Antrea's Install-OVS.ps1
error