"creating socket failed while establishing local IP - are you root?" even when root

Bug #1543303 reported by Erik Nasaroff
32
This bug affects 7 people
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://fi.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

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
ProcVersionSignature: Ubuntu 4.4.0-2.16-generic 4.4.0
Uname: Linux 4.4.0-2-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
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)

Revision history for this message
Erik Nasaroff (erik-nasaroff) wrote :
Revision history for this message
Wade Menard (wade-ezri) wrote :

This was fixed upstream in 0.8.1. https://github.com/raboof/nethogs/issues/9

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nethogs (Ubuntu):
status: New → Confirmed
Revision history for this message
Stephan Henningsen (zta77) wrote :

Please update the package. And don't forget to backport to Ubuntu 14.04 LTS.

Revision history for this message
TomaszChmielewski (mangoo-wpkg) wrote :

Interestingly, nethogs 0.8.0 works for me with 64 bit Ubuntu 14.04 running "3.13.0-77-generic #121-Ubuntu" kernel, however, fails to start on Ubuntu 14.04 running "3.13.0-86-generic #130-Ubuntu" kernel (64 bit).

# nethogs eth0
creating socket failed while establishing local IP - are you root?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.