Wireshark-users: Re: [Wireshark-users] duplicate protocol name - DOCSIS Vendor Specific Encodings

From: jungle boogie <jungleboogie0@xxxxxxxxx>
Date: Wed, 28 Feb 2018 23:52:50 -0800
Thus said Guy Harris on Wed, 28 Feb 2018 19:38:03 -0800
On Feb 28, 2018, at 6:44 PM, jungle boogie <jungleboogie0@xxxxxxxxx> wrote:

While I can now successfully build wireshark, I cannot actually run and open the application.

 From your previous emails, I'm assuming this is on Ubuntu.

yes, same machine.


Here am I attempting to open from the cli:

$ wireshark
18:43:10.985          Err  Duplicate protocol name "DOCSIS Vendor Specific Encodings"! This might be caused by an inappropriate plugin or a development error.
Trace/breakpoint trap (core dumped)

What's causing this? I've doing a make distclean and re-configured.

2.5.x now has the DOCSIS dissector built in; it's probably somehow finding a DOCSIS plugin.

If you've installed it (as I'm guessing might be the case, given that you're not explicitly running "./wireshark" or "run/wireshark" or "build/run/wireshark"), then, if you already had an installed version, and the new version was installed on top of it, the install process probably left behind the old plugin.  Check whether there's a "docsis.so" under the installation directory for plugins and, if so, remove it.

It did exist in my clone of wireshark, so I found two docsis.so files, deleted and rebuilt - same problem; I deleted the wireshark directory, cloned, built - same problem.

I do see docsis.so in these locations:

/usr/local/lib/wireshark/plugins/2.3.0/docsis.so
/usr/local/lib/wireshark/plugins/2.5.0/docsis.so
/usr/local/lib/wireshark/plugins/2.5/docsis.so
/usr/local/lib/wireshark/plugins/2.5/epan/docsis.so
/usr/lib/x86_64-linux-gnu/wireshark/plugins/2.2.6/docsis.so

Is it safe to remove the lib from all five locations?

Thanks!