Re: [tor-relays] confusing error from "tor --verify-config"

2016-12-21 Thread Peter Palfrader
On Tue, 20 Dec 2016, Patrice wrote: > my relay is running fine [zeiberschnitzel] and it got no errors. I can`t see > anything in the logs either. > But when I do the command > > #tor --verify-config FJTR, the service actually runs this: | weasel@orinoco:~$ grep verify

Re: [tor-relays] confusing error from "tor --verify-config"

2016-12-21 Thread Patrice
Hi, My bad, shell for debian-tor is set to /bin/false and so it prevents any command from running. Setting shell should "fix" this: su debian-tor -s /bin/sh -c "tor --verify-config" -- Ivan Markin thank you for your hint, that solved it. :-) Now I`ve got this beautiful non error output:

Re: [tor-relays] confusing error from "tor --verify-config"

2016-12-21 Thread Ivan Markin
Patrice: > After I run the following command I`ve got no output. > Is this correct then? I expected a few lines somehow. > > su -c "/etc/init.d/tor --verify-config" debian-tor My bad, shell for debian-tor is set to /bin/false and so it prevents any command from running. Setting shell should

Re: [tor-relays] confusing error from "tor --verify-config"

2016-12-20 Thread Petrusko
If you try : sudo -u debian-tor tor --verify-config Le 21/12/2016 à 01:59, Patrice a écrit : > Hi, >> I would suggest running tor --verify-config as debian-tor user instead of >> root > After I run the following command I`ve got no output. > Is this correct then? I expected a few lines

Re: [tor-relays] confusing error from "tor --verify-config"

2016-12-20 Thread Patrice
Hi, I would suggest running tor --verify-config as debian-tor user instead of root After I run the following command I`ve got no output. Is this correct then? I expected a few lines somehow. su -c "/etc/init.d/tor --verify-config" debian-tor I would suggest not running tor as root .:) As

Re: [tor-relays] confusing error from "tor --verify-config"

2016-12-20 Thread Ivan Markin
Pascal Terjan: > I would suggest running tor --verify-config as debian-tor user > instead of root I would suggest not running tor as root . :) As root you can do: su debian-tor "tor --verify-config" -- Ivan Markin ___ tor-relays mailing list

[tor-relays] confusing error from "tor --verify-config"

2016-12-20 Thread Patrice
Hi folks, my relay is running fine [zeiberschnitzel] and it got no errors. I can`t see anything in the logs either. But when I do the command #tor --verify-config I got these outputs: Dec 20 18:20:27.946 [notice] Tor v0.2.8.11 (git-9fc59eddc17a726a) running on Linux with Libevent

[tor-relays] confusing error from "tor --verify-config"

2016-12-20 Thread Patrice
Hi folks, my relay is running fine [zeiberschnitzel] and it got no errors. I can`t see anything in the logs either. But when I do the command #tor --verify-config I got these outputs: Dec 20 18:20:27.946 [notice] Tor v0.2.8.11 (git-9fc59eddc17a726a) running on Linux with Libevent