LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2003, 06:46 AM   #1
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Rep: Reputation: 15
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?

Last edited by ntloser; 10-08-2003 at 07:17 AM.
 
Old 10-08-2003, 04:25 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
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

Last edited by jailbait; 10-08-2003 at 04:30 PM.
 
Old 10-09-2003, 01:58 AM   #3
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Original Poster
Rep: Reputation: 15
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..


Last edited by ntloser; 10-09-2003 at 02:02 AM.
 
Old 10-09-2003, 11:25 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"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
 
Old 10-09-2003, 11:48 AM   #5
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Original Poster
Rep: Reputation: 15
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
 
Old 10-09-2003, 01:06 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
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
 
Old 10-09-2003, 07:53 PM   #7
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Original Poster
Rep: Reputation: 15
Thanks Jailbait but I already have the latest mtr installed. I am just unable to make a working laucher for it.
 
Old 10-09-2003, 08:01 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
" 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
 
Old 10-09-2003, 08:03 PM   #9
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Original Poster
Rep: Reputation: 15
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.
 
Old 10-09-2003, 08:10 PM   #10
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Original Poster
Rep: Reputation: 15
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?
 
Old 10-09-2003, 08:22 PM   #11
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"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
 
Old 10-09-2003, 08:28 PM   #12
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Original Poster
Rep: Reputation: 15
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?
 
Old 10-09-2003, 08:52 PM   #13
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Original Poster
Rep: Reputation: 15
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
 
Old 10-10-2003, 04:49 PM   #14
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,751

Rep: Reputation: 272Reputation: 272Reputation: 272
"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
 
Old 11-15-2003, 01:07 AM   #15
ntloser
Member
 
Registered: Oct 2003
Posts: 56

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
traceroute overproof Linux - Newbie 5 02-01-2015 06:30 PM
traceroute - help? ocset Linux - Networking 6 10-15-2004 04:34 PM
traceroute becky_starr Linux - Networking 1 03-17-2004 09:48 AM
traceroute tied2 Linux - Software 4 11-13-2002 12:52 AM
Traceroute for RH 7.3 aushelp Linux - Networking 2 08-11-2002 03:40 PM


All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration