[tor-bugs] #10028 [- Select a component]: startup problem
Tor Bug Tracker & Wiki
blackhole at torproject.org
Fri Oct 25 22:53:37 UTC 2013
#10028: startup problem
----------------------------------+---------------------
Reporter: user777w | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: - Select a component | Version:
Keywords: | Actual Points:
Parent ID: | Points:
----------------------------------+---------------------
Hello! I install Tor v0.2.4.17-rc on centos 6.4.
I have a problem with the launch of a non-privileged user.
useradd toruser
su - toruser -c "service tor start"
{{{Raising maximum number of filedescriptors (ulimit -n) to
16384/etc/init.d/tor: line 87: ulimit: open files: cannot modify limit:
Operation not permitted
: FAILED.
Starting tor: Oct 24 21:18:49.898 [notice] Tor v0.2.4.17-rc (git-
b1bee21e952db4ae) running on Linux with Libevent 1.4.13-stable and OpenSSL
1.0.0-fips.
Oct 24 21:18:49.898 [notice] Tor can't help you if you use it wrong! Learn
how to be safe at https://www.torproject.org/download/download#warning
Oct 24 21:18:49.898 [notice] Read configuration file "/etc/tor/torrc".
Oct 24 21:18:49.902 [notice] Opening Socks listener on 127.0.0.1:9050
Oct 24 21:18:49.902 [warn] Error setting groups to gid 503: "Operation not
permitted".
Oct 24 21:18:49.902 [warn] If you set the "User" option, you must start
Tor as root.
Oct 24 21:18:49.902 [warn] Failed to parse/validate config: Problem with
User value. See logs for details.
Oct 24 21:18:49.902 [err] Reading config failed--see warnings above.
/usr/bin/torctl start: tor could not be started
[FAILED]}}}
If i root - no problem:
{{{
service tor start
Raising maximum number of filedescriptors (ulimit -n) to 16384.
Starting tor: Oct 24 21:21:39.150 [notice] Tor v0.2.4.17-rc (git-
b1bee21e952db4ae) running on Linux with Libevent 1.4.13-stable and OpenSSL
1.0.0-fips.
Oct 24 21:21:39.150 [notice] Tor can't help you if you use it wrong! Learn
how to be safe at https://www.torproject.org/download/download#warning
Oct 24 21:21:39.150 [notice] Read configuration file "/etc/tor/torrc".
Oct 24 21:21:39.154 [notice] Opening Socks listener on 127.0.0.1:9050
/usr/bin/torctl start: tor started
[ OK ]
}}}
I uncommented in torrc "Log debug file /var/log/tor/debug.log"
but there is no /var/log/tor/debug.log
I wanted to check HiddenService and uncommented:
HiddenServiceDir /usr/local/etc/tor/hidden_service/
HiddenServicePort 80 127.0.0.1:80
but private_key and hostname do not create in
/usr/local/etc/tor/hidden_service/
you have Russian language support?
I can write in Russian?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10028>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list