LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-20-2017, 08:18 AM   #1
th3g3ntl3man
LQ Newbie
 
Registered: Jan 2017
Posts: 1

Rep: Reputation: Disabled
Tor downloaded in centOS 7 but is failing to start and giving an error mesage that is "Failed to parse/validate config: Failed to bind one "


I added following repos in etc/yum.repos.d/tor.repo:

[Tor]
name=Tor Project Repo
baseurl=http://deb.torproject.org/torproject.org/rpm/el/6/$basearch/
gpgcheck=1
enabled=1
gpgkey=http://deb.torproject.org/torproject.org/rpm/RPM-GPG-KEY-torproject.org.asc

then i downloaded tor by:

[root@dhcppc29 tor]# yum install tor

it downloaded and installed successfully but it is not working and following is the output

Jan 20 18:14:01.219 [notice] Tor v0.2.8.12 running on Linux with Libevent 2.0.21-stable, OpenSSL 1.0.1e-fips and Zlib 1.2.7.
Jan 20 18:14:01.219 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Jan 20 18:14:01.220 [notice] Read configuration file "/etc/tor/torrc".
Jan 20 18:14:01.223 [notice] Opening Socks listener on 127.0.0.1:9050
Jan 20 18:14:01.223 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
Jan 20 18:14:01.224 [warn] /run/tor is not owned by this user (root, 0) but by toranon (988). Perhaps you are running Tor as the wrong user?
Jan 20 18:14:01.224 [warn] Before Tor can create a control socket in "/run/tor/control", the directory "/run/tor" needs to exist, and to be accessible only by the user and group account that is running Tor. (On some Unix systems, anybody who can list a socket can connect to it, so Tor is being careful.)
Jan 20 18:14:01.224 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Jan 20 18:14:01.224 [err] Reading config failed--see warnings above.

Please help
 
Old 01-20-2017, 11:44 AM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
This is the part that's relevant
Quote:
Jan 20 18:14:01.223 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
Jan 20 18:14:01.224 [warn] /run/tor is not owned by this user (root, 0) but by toranon (988). Perhaps you are running Tor as the wrong user?
Did you start Tor as root? Start it as a regular user instead
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Failed to claim resource" and "platform device creation failed" when trying to boot Linux from USB on HP laptop Desertman194 Linux - Laptop and Netbook 5 11-10-2016 05:48 PM
Job Failed Error after trying to use the "service mysqld start" command? j3llimari3 Linux - Newbie 2 09-04-2015 11:28 AM
[SOLVED] Error "Failed to start the x server (Your graphical interface)..." alibabs Linux - Desktop 7 10-16-2012 04:45 AM
Centos Server Failed @ Bootup: Missing "/sbin/blkid" & "fsck" command not found beagle7 Linux - Newbie 4 08-24-2012 02:33 AM
X won't start: "Fatal server error: failed to initialize core devices" ! Debianewb Linux - Newbie 14 08-27-2002 06:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration