<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head><body> <br/>I checked my stunnel.con file and I find I'm not using dns names, only IP addresses. That's probably the reason it works on my side. If you are using dns names, most likely we need to add the dnscache service as a prerequisite.<br/><br/>You may want to open an elevated command prompt and try:<br/><br/>sc config stunnel depend= dnscache<br/><br/>Then reboot to see what happens<br/><hr/><div><b>From: </b> John Smith <java.dev.mtl@gmail.com>
</div><div><b>Date: </b>Mon, 22 Sep 2014 11:40:43 -0400</div><div><b>To: </b>Jose Diaz<josealf@rocketmail.com></div><div><b>Cc: </b><stunnel-users@stunnel.org></div><div><b>Subject: </b>Re: [stunnel-users] Stunnel as windows service doesn't start on restart.</div><div><br/></div><div dir="ltr">Elasticsearch. But it's stunnel itself that won't start. The stunnel service shows as started, but no logs are produced. Once I stop stunnel service and start it again the logs shows up. Also stunnel with Automatic Delayed start works fine.</div><div class="gmail_extra"><br><div class="gmail_quote">On 22 September 2014 11:34,  <span dir="ltr"><<a href="mailto:josealf@rocketmail.com" target="_blank">josealf@rocketmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u><div>John.<br><br>Looks fine to me. Same configuration works in my Windows 7 64 bits. I have no access to Windows Server 2008 R2, but I would expect it to work the same.<br><br>What are you securing with stunnel?... Perhaps the service you are securing is starting after stunnel?<br><br><br><hr><div><b>From: </b> John Smith <<a href="mailto:java.dev.mtl@gmail.com" target="_blank">java.dev.mtl@gmail.com</a>>
</div><div><b>Date: </b>Mon, 22 Sep 2014 11:09:21 -0400</div><div><b>To: </b>Jose Diaz<<a href="mailto:josealf@rocketmail.com" target="_blank">josealf@rocketmail.com</a>></div><div><div class="h5"><div><b>Subject: </b>Re: [stunnel-users] Stunnel as windows service doesn't start on restart.</div><div><br></div><div dir="ltr"><div>SERVICE_NAME: stunnel</div><div>        TYPE               : 110  WIN32_OWN_PROCESS (interactive)</div><div>        START_TYPE         : 2   AUTO_START</div><div>        ERROR_CONTROL      : 1   NORMAL</div><div>        BINARY_PATH_NAME   : "C:\Program Files (x86)\stunnel\stunnel.exe" -service -install</div><div>        LOAD_ORDER_GROUP   :</div><div>        TAG                : 0</div><div>        DISPLAY_NAME       : Stunnel SSL wrapper</div><div>        DEPENDENCIES       : TCPIP</div><div>        SERVICE_START_NAME : LocalSystem</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 September 2014 11:02, John Smith <span dir="ltr"><<a href="mailto:java.dev.mtl@gmail.com" target="_blank">java.dev.mtl@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">After reboot?</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 22 September 2014 10:11,  <span dir="ltr"><<a href="mailto:josealf@rocketmail.com" target="_blank">josealf@rocketmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Interesting. Please execute<br>
<br>
sc qc stunnel<br>
<br>
And post the output.<br>
<span><br>
<br>
<br>
-----Original Message-----<br>
From: John Smith <<a href="mailto:java.dev.mtl@gmail.com" target="_blank">java.dev.mtl@gmail.com</a>><br>
Sender: "stunnel-users" <<a href="mailto:stunnel-users-bounces@stunnel.org" target="_blank">stunnel-users-bounces@stunnel.org</a>><br>
</span><span>Date: Mon, 22 Sep 2014 09:54:10<br>
To: Michal Trojnara<<a href="mailto:Michal.Trojnara@mirt.net" target="_blank">Michal.Trojnara@mirt.net</a>><br>
Cc: <<a href="mailto:stunnel-users@stunnel.org" target="_blank">stunnel-users@stunnel.org</a>><br>
Subject: Re: [stunnel-users] Stunnel as windows service doesn't start on<br>
        restart.<br>
<br>
</span><div><div>_______________________________________________<br>
stunnel-users mailing list<br>
<a href="mailto:stunnel-users@stunnel.org" target="_blank">stunnel-users@stunnel.org</a><br>
<a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>

</div></div></div></blockquote></div><br></div>

</body></html>