<div class="gmail_quote">On Mon, Jan 14, 2013 at 3:46 PM, Guus Sliepen <span dir="ltr"><<a href="mailto:guus@tinc-vpn.org" target="_blank">guus@tinc-vpn.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="im">On Mon, Jan 14, 2013 at 12:15:24PM -0600, Rob Townley wrote:<br>
<br>
> i usually import a tincd.reg file with the --debug and --mlock and<br>
> --log parameters.  When tinc.myvpn is started from services.msc or sc<br>
> start tinc.myvpn, the only error is the windows error that tinc could<br>
> not be started.  Nothing in EventLog either.<br>
<br>
</div>Ah ok, I see. It should of course write something into the EventLog.<br>
<div class="im"><br>
> The frustrating thing at the moment is that using tincctl.exe stop not<br>
> only stops the service but deletes the service from the registry.  It<br>
> recreates it when tincctl.exe start is called, but it prevents<br>
> production use.  Is there a way to make it so that the service is not<br>
> deleted when stopped?  And when init, it checks if the service exists<br>
> and timeout confirms that you want to overwrite the old service entry?<br>
<br>
</div>What is the problem with the stop and start commands removing/adding the<br>
service from the registry? That is exactly what tinc 1.0.x does as well. You<br>
can stop/start the service without altering the registry from the service<br>
control panel, I believe.<br>
<br>
Tincctl init never starts or stops a daemon, so it will also not change an<br>
existing service entry. The tincctl start command (or invoking tincd directly)<br>
will also never overwrite an existing entry.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Met vriendelijke groet / with kind regards,<br>
     Guus Sliepen <<a href="mailto:guus@tinc-vpn.org">guus@tinc-vpn.org</a>><br>
</div></div><br>_______________________________________________<br>
tinc mailing list<br>
<a href="mailto:tinc@tinc-vpn.org">tinc@tinc-vpn.org</a><br>
<a href="http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc" target="_blank">http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc</a><br>
<br></blockquote></div><br>Yes, more logging.<br><br>i will try the new version this week.  The tinc service would start up and i could connect albeit with a great deal of latency.  But when stopped, the service would get disabled and then deleted.   i look forward to 1.1pre5 this week. <br>