Service wont start
Anon
anon4321 at gmail.com
Tue Jan 26 01:07:31 CET 2010
>> Hi Anon,
>> Please run tincd in debug mode to find more information.
>> tincd -n vpn -D -d5
>> Mike
Hi, Mike,
Thanks for the quick response!
I did what you said and was told that my "MyName" file in my "hosts"
directory had a variable for which there was no value.
Upon examining that file I found (hope this formats right):
Subnet = 10.20.40.0/24-----BEGIN <http://10.20.40.2/32-----BEGIN> RSA
PUBLIC KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
----END RSA PUBLIC KEY-----
So I changed it to:
Subnet = 10.20.40.0/24 <http://10.20.40.2/32>
-----BEGIN RSA PUBLIC KEY-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
----END RSA PUBLIC KEY-----
When I reran:
tincd -n vpn -D -d5
it
found my tap device (listening on 0.0.0.0 port 655), announced it was
"ready" and then proceeded to tell me that my config file for the
server was not found and that, of course, there was no address
specified for the server. That is fine, because it doesn't exist. At
that point the command would hang and I needed to cntl-C out of it.
After that, I ran:
tincd -n vpn
and, I think it
w orked. It told me that it couldn't create the service (since it
already exists) and then it started the service.
I can now stop it and start it from the Services window.
So, the question is how did my c:\program
files\tinc\vpn\hosts\MyName file get created improperly? It appears
that when entering the subnet in my MyName file, I didn't input a return
after typing /24. When I then generated the keys, it put the key
exactly where I left off. All for the want of a single <cr><lf>.
I sent this email just to document it for those who might run into
this in the future.
Thanks, again.
On 22/01/2010, at 9:53 AM, Anon wrote:
>* WindowsXPsp3
*>*
*>* All of the installation steps worked fine, it seemed. But after I ran:
*>*
*>* tincd -n vpn
*>*
*>* even though I got:
*>*
*>* tinc.vpn service installed
*>* tinc.vpn service started
*>*
*>* when I look at my connections (using ipconfig /all), the "Media
State" is "Media disconnected" for the "Ethernet adapter vpn:".
*>*
*>* Further, when I look at Services, I find tinc.vpn with Startup
Type = Automatic, but the Status is "blank" and when I right click and
select "Start", I get the following message: "The tinc.vpn service on
Local Computer started and then stopped. Some services stop
automatically if they have no work to do, for example, the Perfomance
Logs and Alerts service."
*>*
*>* Of course, my icon in the task bar has a little red x in it.
*>*
*>* This is my first attempt at this, so please be gentle!
*>*
*>* Thanks
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20100125/796132c8/attachment.htm>
More information about the tinc
mailing list