Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #9793

Closed
Open
Created Sep 20, 2013 by Trac@tracbot

stem.util.system.get_pid_by_port() doesn't work on Fedora 19

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.

Trac:
Username: kaie

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking