"creating socket failed while establishing local IP - are you root?" even when root
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nethogs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
nethogs fails with
"creating socket failed while establishing local IP - are you root?"
even when you're root.
root@drone:~# nethogs eno1
creating socket failed while establishing local IP - are you root?
root@drone:~# nethogs eno2
creating socket failed while establishing local IP - are you root?
root@drone:~#
user@drone:~$ sudo nethogs eno1
creating socket failed while establishing local IP - are you root?
user@drone:~$ sudo nethogs eno2
creating socket failed while establishing local IP - are you root?
1) The release of Ubuntu you are using, via 'lsb_release -rd'
user@drone:~$ lsb_release -rd
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
2) The version of the package you are using, via 'apt-cache policy pkgname'
user@drone:~$ apt-cache policy nethogs
nethogs:
Installed: 0.8.0-1build1
Candidate: 0.8.0-1build1
Version table:
*** 0.8.0-1build1 500
500 http://
100 /var/lib/
3) What you expected to happen
Nethogs should launch and show the programs using the network.
4) What happened instead
Nethogs failed to launch.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nethogs 0.8.0-1build1
ProcVersionSign
Uname: Linux 4.4.0-2-generic x86_64
NonfreeKernelMo
ApportVersion: 2.19.4-0ubuntu2
Architecture: amd64
Date: Mon Feb 8 23:44:20 2016
InstallationDate: Installed on 2016-02-08 (0 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160208)
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nethogs
UpgradeStatus: No upgrade log present (probably fresh install)
This was fixed upstream in 0.8.1. https:/ /github. com/raboof/ nethogs/ issues/ 9