Re: [tor-relays] Running 2 relays with 0.4.0.2_alpha [err] descriptor at 0x8a0acdb0830 begins with unexpected string "".

2019-02-28 Thread technonerd

> >> ORPort []:9050
> > 
> > This config line will probably cause a parse error.
> > 
> > If this is meant to be an IPv6 ORPort, try:
> > 
> > ORPort [::]:9050
> > 
> > T
> 
> Indeed, ORPort []:9050 is incorrect, even it's not the reason of the
> error described in this message.

Sorry for the confusion I had removed the ipv6 address before sending the 
email. But it would be ORPort [ipv6_address]:9050

> Back to the err message:
> I see you use two Tor instances and properly set up two different
> datadirectories for each, one in /var/lib/tor/data and one in
> /var/lib/tor2/data -- so the possibility of two (Tor) processes running
> in the same datadirectory shouldn't be of concern.
> 
> Please follow-up this bug, maybe downgrade your logs to at least info
> level and monitor the processes running and using the Tor DataDirectory
> paths.

I have been using nyx to monitor the relay process via "sudo -u tor nyx" I will 
stop using it for the time being and just monitor the files.

> Already crashed twice so far? Which instance crashed the one running a
> relay or the one hosting onion services?

The relay has crashed twice, the one hosting the onion service has been 
unaffected.

___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Running 2 relays with 0.4.0.2_alpha [err] descriptor at 0x8a0acdb0830 begins with unexpected string "".

2019-02-28 Thread s7r
Hello,


teor wrote:
> Hi,
> 
>> On 28 Feb 2019, at 09:57, technon...@fea.st wrote:
>>
>> I run one relay and another tor instance for hidden services and socksport.  
>> Haven't had a problem until 0.4.0.2_alpha.  Ive had it crash twice so far. 
>> Maybe my configs aren't sane?
>>
>> [err] descriptor at 0x8a0acdb0830 begins with unexpected string "".  Is 
>> another process running in our data directory?  Exiting.
> 
> Which instance do the errors occur on?
> 
>> ORPort []:9050
> 
> This config line will probably cause a parse error.
> 
> If this is meant to be an IPv6 ORPort, try:
> 
> ORPort [::]:9050
> 
> T

Indeed, ORPort []:9050 is incorrect, even it's not the reason of the
error described in this message.

teor:
However, shouldn't the line:
ORPort 9050

bind to all v4 and v6 available interfaces / IP addresses? If it does
not, we should fix it to do so. As in:

ORPort 9050 - bind to all available v4 and v6
ORPort 0.0.0.0:9050 - bind to all available from the v4 class
ORport [::]:9050 - bind to all available from the v6 class
ORPort :port - bind to specified address exactly

Back to the err message:
I see you use two Tor instances and properly set up two different
datadirectories for each, one in /var/lib/tor/data and one in
/var/lib/tor2/data -- so the possibility of two (Tor) processes running
in the same datadirectory shouldn't be of concern.

Please follow-up this bug, maybe downgrade your logs to at least info
level and monitor the processes running and using the Tor DataDirectory
paths.

Already crashed twice so far? Which instance crashed the one running a
relay or the one hosting onion services?



signature.asc
Description: OpenPGP digital signature
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays


Re: [tor-relays] Running 2 relays with 0.4.0.2_alpha [err] descriptor at 0x8a0acdb0830 begins with unexpected string "".

2019-02-27 Thread teor
Hi,

> On 28 Feb 2019, at 09:57, technon...@fea.st wrote:
> 
> I run one relay and another tor instance for hidden services and socksport.  
> Haven't had a problem until 0.4.0.2_alpha.  Ive had it crash twice so far. 
> Maybe my configs aren't sane?
> 
> [err] descriptor at 0x8a0acdb0830 begins with unexpected string "".  Is 
> another process running in our data directory?  Exiting.

Which instance do the errors occur on?

> ORPort []:9050

This config line will probably cause a parse error.

If this is meant to be an IPv6 ORPort, try:

ORPort [::]:9050

T


signature.asc
Description: Message signed with OpenPGP
___
tor-relays mailing list
tor-relays@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays