LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2016, 02:30 PM   #1
Slack-Lars
LQ Newbie
 
Registered: Jun 2006
Distribution: Slackware Current
Posts: 16

Rep: Reputation: 1
TOR won't work on current


Hi all,

updated to current, Thu Mar 3 05:41:26 UTC 2016 64bit, and can not get tor 0.2.7.6 running. Recompiled it but it even doesn't write a line in the logfiles on startup...
strace /usr/bin/tor stops at:
open("/usr/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300)\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=89480, ...}) = 0


Anyone got the same problem or is it just me ?
 
Old 03-03-2016, 04:23 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
try rebuilding after Thu Mar 3 20:05:41 UTC 2016 update
 
Old 03-03-2016, 09:31 PM   #3
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
Had that problem for a few months, but once the slackbuild script was updated on 9 January 2016, I've been able to build and use TOR with current.
 
Old 03-04-2016, 08:08 AM   #4
Slack-Lars
LQ Newbie
 
Registered: Jun 2006
Distribution: Slackware Current
Posts: 16

Original Poster
Rep: Reputation: 1
Upgradede to current Thu Mar 3 20:05:41 UTC 2016 and rebuild. Still nothing.
I ran another strace and noticed that it can't find "/etc/malloc.conf" but it still continues to hang at:

open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=237445, ...}) = 0
mmap(NULL, 237445, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa8c4304000
close(3) = 0
open("/usr/lib64/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300)\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=89480, ...}) = 0

For those interested in the complete strace output, i posted it to pastebin: http://pastebin.com/4jMW32Qc
 
Old 03-04-2016, 02:26 PM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Is TOR still a viable application?
 
Old 03-04-2016, 06:01 PM   #6
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089

Rep: Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263Reputation: 7263
Quote:
Originally Posted by enorbet View Post
Is TOR still a viable application?

Why not?

While the TOR Project strongly recommends the use of the "TOR Browser," one can still launch TOR, using Vidalia, and then run individual applications after they have been properly configured.

The people at PC-BSD have incorporated TOR into their version of FreeBSD in such a way that once TOR has been launched, all traffic is routed through TOR without having to set up each applicable application.

So, yes, regardless of the recent legal decision, it is still viable.

Last edited by cwizardone; 03-05-2016 at 06:31 PM.
 
1 members found this post helpful.
Old 03-05-2016, 05:31 AM   #7
Slack-Lars
LQ Newbie
 
Registered: Jun 2006
Distribution: Slackware Current
Posts: 16

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by enorbet View Post
Is TOR still a viable application?
Not only is it a viable application... It is what the Tor network is made of...
Without Tor (the one I can't build at the moment) there is no network the Tor browser can connect to.
So... I'd say it is not only viable.. It is a Very Important Program :-)
 
1 members found this post helpful.
Old 03-05-2016, 10:58 AM   #8
Slack-Lars
LQ Newbie
 
Registered: Jun 2006
Distribution: Slackware Current
Posts: 16

Original Poster
Rep: Reputation: 1
Lightbulb

Compiled again against today's current but, again, no luck....
But ... Wait... In the trace its said something about malloc ?!

readlink("/etc/malloc.conf", 0x7ffeb296f930, 63) = -1 ENOENT (No such file or directory)

and in the Slackbuild there is a config option:
--enable-openbsd-malloc

What if ... ??

Taadaa ! Removing this config option from the Slackbuild, builds a working Onion Router !!

Problem solved !
 
  


Reply



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
Why does Tor not properly work? thenarwhal Linux - Newbie 3 07-19-2013 02:38 AM
How to get Tor to work? SentralOrigin Debian 8 04-10-2009 02:06 PM
Cannot tor to work nigelc Linux - Software 4 07-31-2008 06:54 AM
Slackware current--imagemagick won`t work. AlanL Slackware 1 05-09-2006 12:46 AM
Tor doesnt work Smokey Ubuntu 0 10-16-2005 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:08 PM.

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