Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed RH9 and it is running well but I cannot find installed programs such as ethereal. The RPM log tells me it is installed and I have ran the rpm installer for it from the RH9 disks and it tells me ethereal is installed. When I try to run it from the terminal, I get a bash and command unknown. HOW DO I RUN THESE PROGRAMS IN RH9!!??!!??
The executable is apparently not in your path. Try "su -"ing to root before invoking it
I am not near a RH box at the moment, but rpm has an option that will list the locations of files installed by a package. I think the invocation is something like:
rpm -qf package.rpm
for installed packages and
rpm -q --files-by-package package.rpm
for uninstalled packages.
You can also invoke
locate ethereal
to list all files that have the string "ethereal" in their path.
I have nearly the same problem here. At first when I decided to install Ethereal, I had a lot of dependencies which had other dependencies (which had other, etc, etc, etc) until I realised I have to install nearly half the contents of the entire internet. Luckily, I have downloaded and installed ethereal-base-0.10.0a-1.RH9.i386.rpm which had a dependency on ucd-snmp-4.2.3-1.i386.rpm which had a dependency on openssl096b-0.9.6b-3.i386.rpm. Luckily I had the last file on my RH9 CD 2 which then allowed me to install ucd-snmp and the ethereal RPM package from the konqueror.
Now that I have installed it I cannot find a way to run it. I am logged in as root and when I type "ethereal" in the console it returns "bash: ethereal: command not found". "whereis ethereal" returns "ethereal: /usr/lib/ethereal /usr/share/ethereal" and I have searched those folders in konqueror just to find them with no ethereal executable files or whatsoever that can run the program.
Can someone please describe how to run ethereal step by step in detail?
EDIT: I have uninstalled the previously installed ethreal that came on the RH9 CDs before installing the downloaded version. I could not execute ethereal before new installation either. At first I believed the problem was the ethereal that came with RH9 which is why I I decided to install a new version.
I'll stick to this thead until someone finds out what is wrong. I did the "locate ethereal" command in the console logged in as root and it returned the following:
Now as I got the list I went into every directory in search of a executable. The only thing that worked is when I invoked the command "/usr/sbin/tethereal" in the console (logged in as root). That started to capture packets on eth0 but in the console. I would like to use the GUI/windowed version of ethereal and not the console one. As of hours of searching I started asking myself... Why do I have a feeling that the main ethereal executable doesn't even exist on my HDD? Did something go wrong with the installation?
Yes. I tried the Windows version of Ethereal and it had a nice GUI with a lot of functions, even more than my current windows traffic monitor! I definitely need to get the GUI working on my RH9 Linux. Elchuck, did you try invoking the "/usr/sbin/tethereal" command?
From that list it appears you have both executables: /usr/sbin/tethereal
/usr/sbin/ethereal
I just don't know why they don't execute (are you sure you haven't misspelled something here?). Can you verify that these two are in fact executables? My problem appears to be different than yours as I don't even have anything like /usr/sbin/ethereal but you may just have helped me by posting the list. I'll see what I can do.
And BTW... You were not logged in as root: [charles@Linux9 charles]$ should be [root@Linux9 charles]$
IT WORKS
Haha it works perfectly! I can now run ethereal in GUI mode! It was my fault that it did not run before due to my inexperience in Linux OS's. I installed only the base RPM package and after I saw your other RPM's in your home folder I realized I have to install those too. And so I did Lol. I thought all neccessary files come with the RPM (like in Windows where you only have to run Setup.exe and the program starts to work immediately) but I was wrong.
I installed the following packages:
ethereal-base-0.10.0a-1.RH9.i386.rpm
ethereal-base-net-snmp-0.10.0a-1.RH9.i386.rpm
ethereal-gtk+-0.10.0a-1.RH9.i386.rpm
ethereal-gtk+-net-snmp-0.10.0a-1.RH9.i386.rpm
ethereal-kde-0.10.0a-1.RH9.i386.rpm
ethereal-usermode-0.10.0a-1.RH9.i386.rpm
To run it, I log in as root, open a console, type in "ethereal" and press enter. Voila!
[root@lcserver /]# ethereal
EDIT: And by posting this post, my status changed from "newbie" to "member" Yay!
I just used ethereal to listen to my sister and what she was talking about over IRC. She didn't even realize it when I started to speak out her exact IRC channel lines to her. You should've seen her look O.o
So let's take a look a little deeper into your problem then. First of all, have you installed all the RPM's that I have listed in my prev. posts? Your file list indicates that most executables/files are there. However I believe that you are still missing some files. I am able to run Ethereal from a terminal by typing "/usr/sbin/ethereal" or "/usr/bin/ethereal" or just "ethereal" (does not matter if logged in as root as the process asks you for the root password later anyway). But I do not see "/usr/bin/ethereal" in your list.
My list now looks like this (excluding RPM's and home folders):
The only thing that I can think of right now is that you may not have installed all neccessary RPM's (I can be wrong tho). Can you doublecheck that all of them are installed?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.