[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #9793 [Stem]: stem.util.system.get_pid_by_port() doesn't work on Fedora 19
#9793: stem.util.system.get_pid_by_port() doesn't work on Fedora 19
--------------------+------------------------
Reporter: kaie | Owner: atagar
Type: defect | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Keywords: | Actual Points:
Parent ID: | Points:
--------------------+------------------------
I'm experimenting with Stem.
The example code uses stem.util.system.get_pid_by_port(port)
to find a running process, in order to stop it.
On my Fedora 19 system, this call doesn't work, it returns "None".
The command
netstat -npltu | grep 127.0.0.1:
doesn't return the name of the process :(
tcp 0 0 127.0.0.1:9160 0.0.0.0:* LISTEN
-
The lsof command doesn't work either. Looks like Fedora doesn't allow user
querying of the tor process, despite me owning the process.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9793>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs