[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] windows 2003 service not starting


  • Subject: Re: [Openvpn-users] windows 2003 service not starting
  • From: Glen Marchesani <glenlist@xxxxxxxxxx>
  • Date: Fri, 08 Jul 2005 03:53:31 -0400


I uninstalled OpenVPN GUI 2.0 then re-installed OpenVPN 2.0 and the service starts fine and everything works great. Also the strange registry entries I mentioned previously are now gone.


I am wondering if the OpenVPN GUI installer does the uninstalling that the OpenVPN installer does.




James Yonan wrote:
On Thu, 16 Jun 2005, Glen Marchesani wrote:


Turns out I must have done an old install of openvpn because there is a TAP service (which is not on any of my other boxes) and a tap0801 (which is) service.


Older version of OpenVPN (1.x and some of the very early 2.0 betas) used a "TAP" service. This was renamed to TAP0801 to work around the "TAP Icon missing from XP SP2 bug".

The OpenVPN 2.0 installer tries to delete the old TAP adapter before installing the TAP0801 adapter.


When I install the service the "DependOnService" points to TAP and not tap0801. When I manually switch it I get this message when I try to run the service


The OpenVPN 2.0 service lists TAP0801 as a dependency, not TAP:

In service.h:

  // list of service dependencies - "dep1\0dep2\0\0"
  #define SZDEPENDENCIES       "TAP0801\0\0"

The OpenVPN 2.0 installer also tries to delete the older 1.x service wrapper which listed TAP as a dependency.

James


==> net start openvpnservice
System error 1075 has occurred.

The dependency service does not exist or has been marked for deletion.


Any ideas? I manually removed the TAP service from the registry (current control set and all the ControlSet###) and I still get the message. I get the sneak suspicion that the old TAP is still messing things up.


Any ideas? Unfortunately this is my production server so I can't go rebooting it or re-install win2003 :-(


lmannlein@xxxxxxx wrote:

Quoting Laurent Männlein <lmannlein@xxxxxxx>:

Glen,

I have checked my Windows 2003 Server configuration for the OpenVPN Service and
hereafter is what I have found that might help you:
- The service depends on the "Tap-Win32 Adapter V8".
- The registry values for this service are:
REGEDIT4


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpenVPNService]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"=hex(2):43,3a,5c,50,72,6f,67,72,61,6d,20,46,69,6c,65,73,5c,4f,70,65,\


6e,56,50,4e,5c,62,69,6e,5c,6f,70,65,6e,76,70,6e,73,65,72,76,2e,65,78,65,00
"DisplayName"="OpenVPN Service"
"DependOnService"=hex(7):54,41,50,30,38,30,31,00,00
"DependOnGroup"=hex(7):00
"ObjectName"="LocalSystem"
"FailureActions"=hex:00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,65,00,6e,\


00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00,01,00,00,00,60,ea,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpenVPNService\Security]

"Security"=hex:01,00,14,80,b8,00,00,00,c4,00,00,00,14,00,00,00,30,00,00,00,02,\

00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\

00,00,02,00,88,00,06,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\

05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\

20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,04,00,00,00,00,\

00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,00,00,14,00,00,01,\

00,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,\

00,00,00,00,05,20,00,00,00,25,02,00,00,01,01,00,00,00,00,00,05,12,00,00,00,\

01,01,00,00,00,00,00,05,12,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OpenVPNService\Enum]
"0"="Root\\LEGACY_OPENVPNSERVICE\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

You can copy and merge the above reg file as I exported it in RegEdit4 version.

Laurent.


------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users



------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users




------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users