Traceroute Icon
Hi,
I am using redhat 9 with gnome. When I click on the traceroute ICON in the "start menu" nothing happens. I got the properties and it is set to run xmtr. It used to work and I can use xmtr from a terminal window if I specify the host or IP. What happened to it? I am vnc'ed in as root and it does nothing. If I vnc in as another user and try to launch it, it will ask for the root password and then nothing. same thing if I log on locally... Also I don't have a the "traceroute" command .. when I type traceroute from a termial window I get unknown command .. but I can use the xmtr .. is this normal? |
This may be a problem with your PATH configurations. First I suggest that you find out where xmtr and traceroute are located, if anywhere:
find / -iname "*xmtr*" find / -iname "*traceroute*" Then look at your PATH to see if these commands are libraries on the PATH: echo $PATH Check all of your PATHs. You will have different PATHs for root, user and vnc (which I assume is something like su). As a side note; on my system xmtr is called mtr and the man pages are man mtr. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
Thanks,
I found traceroute and I am now able to use the command. Strange, I did nothing but search for it. After it showed up, I was able to use it. Do you know how I can make a working launcher for xmtr. As I mentioned, there used to be one and it worked. At a later time I tried to launch it and nothing happened. However, I could always use the command in the terminal window as long as I put in an IP or hostname after it. I looked at the man files for mtr and cannot find anything about this. I made a new launcher that points to the xmtr file but nothing happens. Nothing happens when I browse to xmtr and double click.. |
"I made a new launcher that points to the xmtr file but nothing happens."
My xmtr icon starts /usr/local/sbin/mtr and it works every time. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
I dont have anything in usr/local/sbin. could this be the problem. I am thinking that my traceroute icon problems may have happened after using up2date.. Ugh I dont understand what is wrong or how to find the solution to this problem.. I tried google with all different variables and cannot find the information.. I am going to back up my config files and format
|
You can get mtr from:
ftp://ftp.bitwizard.nl/mtr/ and install it yourself. If you want to change the tar.gz file to a rpm then use checkinstall: http://asic-linux.com.mx/~izto/checkinstall/index.php ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
Thanks Jailbait but I already have the latest mtr installed. I am just unable to make a working laucher for it.
|
" I am just unable to make a working laucher for it."
Wierd. If mtr exists and you are unable to run it using the full path name for mtr then perhaps it is a permissions/ownership problem. You could check the permissions of mtr and every directory in the path name for mtr. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
Thanks...
I checked owenership and root has permission. I am trying to run the launcher as root. Should I be able to run it by double clicking on the mtr file? Of course I can run mtr and xmtr from a command prompt.. this is just confusing to me. |
This is such a small problem but now I wonder what else is not set up correctly. Do I somehow need to re-register the file with gnome or something? Do I need to make a sym link?
|
"Do I somehow need to re-register the file with gnome or something?"
If you can run mtr from a gnome-terminal using the full path name then you should be able to run mtr from a gnome desktop icon or menu entry by using the full path name. If you haven't already done so set up a new gnome desktop icon with the application name the full path to mtr and see what happens. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
hmm okay I uninstalled mtr-gtk-0.52-2.i386.rpm then reinstalled .. and the traceroute icon is back in my menu.!!!!! but it still doesn't work. ugh. Do you think this can be resolved without fomatting?
|
jailbait.. I just saw your post and I tried making another launcher that uses the whole path but nothing, I can use it from terminal without specifying path.. is there any way to remove everything that xmtr depends on and reinstall all that?
Is there anyway i can clear the installed RPM database and have it re-query the actual RPMS to make sure which version is installed. I think this problem may have started after a bad up2date session |
"Is there anyway i can clear the installed RPM database and have it re-query the actual RPMS to make sure which version is installed. "
I don't know how to use the Red Hat automated installer. I can tell you how to do it with command line rpm: rpm -qa > /root/data/my.rpm.list.txt will create a file with the name of every installed rpm. rpm -e packagename will remove an old package rpm -i /pathname/packagename.rpm will install a new package You should read the install and uninstall sections in man rpm so you know what to do if you run into complications. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
Made some progress
If I make a new launcher for "Tracroute" and specify xmtr <ip or hostname> as the path .. it will work. I can't figure out why the default one doesn't> this is getting ridiculous. I tried to install an older version of xmtr to see if that makes a difference but I am told I am missing libncurses.... I went to redhat website and looked for this RPM but couldn't find it. Certainly someone on this forum must know why traceroute is not working. |
All times are GMT -5. The time now is 06:24 AM. |