Ethereal-users: Re: [Ethereal-users] Unable to launch ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Eduard Polyakov <ed_po@xxxxxxxxxxxxxxxx>
Date: Mon, 05 Sep 2005 14:46:34 +0000
Banibrata Dutta wrote:

hello eduard:

i can suggest u 2 things. either use http://rpmfind.net to lookup
ethereal-0.10.2 's rpm, and when you click on the link to show it's
details, it should show all the files delivered in the rpm package,
and just check in which path ethereal is installed. or, if u have
local copy of the rpm, then you can use the "rpm -qpl <rpm>" (plz
verify the rpm manpage to see if that's the correct option to print
the contents of an rpm -- i have a debian machine so don't have rpm
manpage).

once u've the path for ethereal, which BTW should be same as the path
for tethereal, do a "ls -l" on it to see if it exists, and what it's
permissions are.

regards,
bdutta


On 9/4/05, Eduard <ed_po@xxxxxxxxxxxxxxxx> wrote:
Banibrata Dutta wrote:

Eduard,

assuming that you are a unix newbie, i think you need to make sure
that the ethereal binary/executable is in your $PATH (i gues it is,
because tethereal also gets installed in the same dir, and u said u
are able to use it), still just check. secondly check that ethereal
has execute permissions.

if your installation via rpm went without any error being reported
(assuming you did:  rpm -ivh ethereal....rpm), then it's really very
surprising that in this case you can run tethereal but not ethereal.

regards,
bd

On 9/3/05, Eduard <ed_po@xxxxxxxxxxxxxxxx> wrote:


Hello everyone!
I am a newbie. I'm trying to install ethereal* *via rpm.
While trying to run ethereal got the following error:
[root@localhost /]# ethereal -i wlan0
bash: ethereal: command not found

Here is my configuration:
FC4, KDE, I have the following packages installed:
libcap-1.10-22
gtk+1.2.10-39.i386
gtk+-devel-1.2.10-39.i386
glib-1.2.10-16.i386
glib-devel-1.2.10-16.i386
gtk2-devel-2.6.7-4.i386
elfutils-devel-0.108-1.i386
net-snmp-5.2.1-12.i386.rpm
net-snmp-utils-5.2.1-12.i386
net-snmp-devel-5.2.1-12.i386
Installing ethereal-0.10.11-2.i386 from RPM repository goes without any
error and rpm query command also gives correct output. I tried also to
install source rpm without success as well- the same error!

After all i decided to install from source, here is the error i got,
although i thing it has nothing in common with previous one:
make[2]: Entering directory `/usr/local/src/ethereal-0.10.12'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./wiretap -I/usr/local/include
-DINET6 -D_U_="__attribute__((unused))" -Wall -W -g -O2
-I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -MT version_info.o -MD -MP
-MF ".deps/version_info.Tpo" -c -o version_info.o version_info.c; \
then mv -f ".deps/version_info.Tpo" ".deps/version_info.Po"; else rm -f
".deps/version_info.Tpo"; exit 1; fi
In file included from version_info.c:64:
/usr/include/ucd-snmp/version.h:9:2: error: #error "Please update your
headers or configure using --enable-ucd-snmp-compatibility"
version_info.c: In function 'get_compiled_version_info':
version_info.c:163: error: 'VersionInfo' undeclared (first use in this
function)
version_info.c:163: error: (Each undeclared identifier is reported only once
version_info.c:163: error: for each function it appears in.)
make[2]: *** [version_info.o] Error 1
make[2]: Leaving directory `/usr/local/src/ethereal-0.10.12'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ethereal-0.10.12'
make: *** [all] Error 2

Here is my ./configure output:

The Ethereal package has been configured with the following options.
Build ethereal : yes
Build tethereal : yes
Build capinfos : yes
Build editcap : yes
Build mergecap : yes
Build text2pcap : yes
Build idl2eth : yes
Build randpkt : yes
Build dftest : yes

Install setuid : no
Use plugins : yes
Use GTK+ v2 library : no
Use pcap library : yes
Use zlib library : yes
Use pcre library : yes
Use kerberos library : yes (MIT)
Use GNU ADNS library : no
Use SSL crypto library : no
Use IPv6 name resolution : yes
Use UCD SNMP/Net-SNMP library : no
----------------------------------------------------

I can run tethereal but not ethereal!
What am i doing wrong??

Thanks in advance!





_______________________________________________
Ethereal-users mailing list
Ethereal-users@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-users



Thank you  for response!
I agree with you, probably it's a common mistake for newbie ,but  I was
thinking that if it was a permission i would get permission denied error
or something, or am i wrong?  Another thing that i can't locate
executable file itself, in wich location I'm supposed to look for it by
default?
Thanks.




Hi bdutta
I've tryed these things, here is the  output of related commands:

[root@localhost i386]# rpm -qpl ethereal-0.10.11-2.i386.rpm
warning: ethereal-0.10.11-2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2
a6fd2
/etc/pam.d/ethereal
/etc/security/console.apps/ethereal
/usr/lib/ethereal
/usr/lib/ethereal/plugins
/usr/lib/ethereal/plugins/0.10.11
/usr/lib/ethereal/plugins/0.10.11/acn.so
/usr/lib/ethereal/plugins/0.10.11/agentx.so
/usr/lib/ethereal/plugins/0.10.11/artnet.so
/usr/lib/ethereal/plugins/0.10.11/asn1.so
/usr/lib/ethereal/plugins/0.10.11/ciscosm.so
/usr/lib/ethereal/plugins/0.10.11/coseventcomm.so
/usr/lib/ethereal/plugins/0.10.11/cosnaming.so
/usr/lib/ethereal/plugins/0.10.11/docsis.so
/usr/lib/ethereal/plugins/0.10.11/enttec.so
/usr/lib/ethereal/plugins/0.10.11/gryphon.so
/usr/lib/ethereal/plugins/0.10.11/irda.so
/usr/lib/ethereal/plugins/0.10.11/lwres.so
/usr/lib/ethereal/plugins/0.10.11/mate.so
/usr/lib/ethereal/plugins/0.10.11/megaco.so
/usr/lib/ethereal/plugins/0.10.11/mgcp.so
/usr/lib/ethereal/plugins/0.10.11/opsi.so
/usr/lib/ethereal/plugins/0.10.11/pcli.so
/usr/lib/ethereal/plugins/0.10.11/profinet.so
/usr/lib/ethereal/plugins/0.10.11/rdm.so
/usr/lib/ethereal/plugins/0.10.11/rlm.so
/usr/lib/ethereal/plugins/0.10.11/rtnet.so
/usr/lib/ethereal/plugins/0.10.11/rudp.so
/usr/lib/ethereal/plugins/0.10.11/stats_tree.so
/usr/lib/ethereal/plugins/0.10.11/v5ua.so
/usr/lib/ethereal/plugins/0.10.11/xml.so
/usr/lib/libethereal.so
/usr/lib/libethereal.so.0
/usr/lib/libethereal.so.0.0.1
/usr/lib/libwiretap.so
/usr/lib/libwiretap.so.0
/usr/lib/libwiretap.so.0.0.1
/usr/lib/python2.4/site-packages/ethereal_be.py
/usr/lib/python2.4/site-packages/ethereal_gen.py
/usr/sbin/capinfos
/usr/sbin/dftest
/usr/sbin/editcap
/usr/sbin/idl2eth
/usr/sbin/mergecap
/usr/sbin/tethereal
/usr/sbin/text2pcap
/usr/share/doc/ethereal-0.10.11
/usr/share/doc/ethereal-0.10.11/AUTHORS
/usr/share/doc/ethereal-0.10.11/COPYING
/usr/share/doc/ethereal-0.10.11/ChangeLog
/usr/share/doc/ethereal-0.10.11/INSTALL
/usr/share/doc/ethereal-0.10.11/NEWS
/usr/share/doc/ethereal-0.10.11/README
/usr/share/doc/ethereal-0.10.11/README.aix
/usr/share/doc/ethereal-0.10.11/README.bsd
/usr/share/doc/ethereal-0.10.11/README.hpux
/usr/share/doc/ethereal-0.10.11/README.irix
/usr/share/doc/ethereal-0.10.11/README.linux
/usr/share/doc/ethereal-0.10.11/README.macos
/usr/share/doc/ethereal-0.10.11/README.tru64
/usr/share/doc/ethereal-0.10.11/README.vmware
/usr/share/doc/ethereal-0.10.11/README.win32
/usr/share/doc/ethereal-0.10.11/doc
/usr/share/doc/ethereal-0.10.11/doc/Makefile
/usr/share/doc/ethereal-0.10.11/doc/Makefile.am
/usr/share/doc/ethereal-0.10.11/doc/Makefile.in
/usr/share/doc/ethereal-0.10.11/doc/Makefile.nmake
/usr/share/doc/ethereal-0.10.11/doc/README.capture
/usr/share/doc/ethereal-0.10.11/doc/README.design
/usr/share/doc/ethereal-0.10.11/doc/README.developer
/usr/share/doc/ethereal-0.10.11/doc/README.idl2eth
/usr/share/doc/ethereal-0.10.11/doc/README.plugins
/usr/share/doc/ethereal-0.10.11/doc/README.regression
/usr/share/doc/ethereal-0.10.11/doc/README.tapping
/usr/share/doc/ethereal-0.10.11/doc/README.tvbuff
/usr/share/doc/ethereal-0.10.11/doc/README.xml-output
/usr/share/doc/ethereal-0.10.11/doc/capinfos.pod
/usr/share/doc/ethereal-0.10.11/doc/dfilter2pod.pl
/usr/share/doc/ethereal-0.10.11/doc/editcap.pod
/usr/share/doc/ethereal-0.10.11/doc/ethereal-filter.pod
/usr/share/doc/ethereal-0.10.11/doc/ethereal-filter.pod.template
/usr/share/doc/ethereal-0.10.11/doc/ethereal-tmp.pod
/usr/share/doc/ethereal-0.10.11/doc/ethereal.pod
/usr/share/doc/ethereal-0.10.11/doc/idl2eth.pod
/usr/share/doc/ethereal-0.10.11/doc/mergecap.pod
/usr/share/doc/ethereal-0.10.11/doc/pod2htmd.tmp
/usr/share/doc/ethereal-0.10.11/doc/pod2htmi.tmp
/usr/share/doc/ethereal-0.10.11/doc/randpkt.txt
/usr/share/doc/ethereal-0.10.11/doc/tethereal.pod
/usr/share/doc/ethereal-0.10.11/doc/text2pcap.pod
/usr/share/ethereal
/usr/share/ethereal/AUTHORS-SHORT
/usr/share/ethereal/capinfos.html
/usr/share/ethereal/diameter
/usr/share/ethereal/diameter/dictionary.dtd
/usr/share/ethereal/diameter/dictionary.xml
/usr/share/ethereal/diameter/imscxdx.xml
/usr/share/ethereal/diameter/mobileipv4.xml
/usr/share/ethereal/diameter/nasreq.xml
/usr/share/ethereal/diameter/sunping.xml
/usr/share/ethereal/editcap.html
/usr/share/ethereal/ethereal-filter.html
/usr/share/ethereal/ethereal.html
/usr/share/ethereal/help
/usr/share/ethereal/help/capture_filters.txt
/usr/share/ethereal/help/capturing.txt
/usr/share/ethereal/help/display_filters.txt
/usr/share/ethereal/help/faq.txt
/usr/share/ethereal/help/getting_started.txt
/usr/share/ethereal/help/overview.txt
/usr/share/ethereal/help/toc
/usr/share/ethereal/idl2eth.html
/usr/share/ethereal/manuf
/usr/share/ethereal/mergecap.html
/usr/share/ethereal/tethereal.html
/usr/share/ethereal/text2pcap.html
/usr/share/man/man1/capinfos.1.gz
/usr/share/man/man1/editcap.1.gz
/usr/share/man/man1/idl2eth.1.gz
/usr/share/man/man1/mergecap.1.gz
/usr/share/man/man1/tethereal.1.gz
/usr/share/man/man1/text2pcap.1.gz
/usr/share/man/man4/ethereal-filter.4.gz
-----------------------------------------------
as you can see the tethereal located in /usr/sbin and it's easily exutable, but the mystery ethereal file can't be located?! I tried just to find it:
[root@localhost i386]# find / -name ethereal
/usr/share/ethereal
/usr/lib/ethereal
/usr/local/share/ethereal
/usr/local/lib/ethereal
find: WARNING: Hard link count is wrong for /proc: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
/etc/pam.d/ethereal
/etc/security/console.apps/ethereal
---------------------------
only directories and nonexutable files...
here is the rpm query, may be it will say you something:
[root@localhost i386]# rpm -qi ethereal-0.10.11-2.i386
Name        : ethereal                     Relocations: (not relocatable)
Version     : 0.10.11                           Vendor: Red Hat, Inc.
Release : 2 Build Date: Wed 25 May 2005 08:07:58 AM UTC Install Date: Mon 05 Sep 2005 12:30:52 PM UTC Build Host: decompose.build.redhat.com Group : Applications/Internet Source RPM: ethereal-0.10.11-2.src.rpm
Size        : 19886023                         License: GPL
Signature : DSA/SHA1, Wed 25 May 2005 08:23:10 PM UTC, Key ID b44269d04f2a6fd2
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.ethereal.com/
Summary     : Network traffic analyzer.
Description :
Ethereal is a network traffic analyzer for Unix-ish operating systems.
This package uses libpcap, a packet capture and filtering library, and
contains command-line utilities, plugins and documentation for ethereal. A
GTK+ based graphical user interface is available in a separate package.
------------------------------------------------------------
I couldn't understend the meaning of GTK+ separate package ?!
And also, it shows as if it's src.rpm and not rpm?! (probably becaus i tried at some stage to install src.rpm too) I don't know witch dierction to go, or i managed to destroy things so quickly..

I'd be happy if you could suggest another options!
eduard