LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-31-2002, 10:26 AM   #1
nutecinc
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Rep: Reputation: Disabled
I can see the file, but I can't run it ....


I am using RH 7.2 now. When I tried to run a application file iptraf from CD-ROM, when I do the ls -al command, it show me the file:
-r-xr-xr-x 1 root root 153944 May28 1999 iptraf

But when I tried to run it using ./iptraf, it gave me the followng message:
bash:./iptraf: No such file or directory

I am log in as a root and I am in the right directory. Any idea what's the reason?

Thanks in advance for help!
 
Old 12-31-2002, 10:31 AM   #2
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
A binary dated 1999 maybe linked to some really old libs, try getting the source and compiling it instead.
 
Old 12-31-2002, 10:32 AM   #3
buddy
LQ Newbie
 
Registered: Dec 2002
Location: Montreal
Distribution: Mdk9
Posts: 20

Rep: Reputation: 0
IPTraf and not iptraf.

As with most UNIX commands, IPTraf command-line parameters are case-sensitive

Any help?
 
Old 12-31-2002, 10:37 AM   #4
nutecinc
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks for the answers!

I did check the file. I swear it was there and its file name is iptraf not ipTraf. I can use "find" or "ls" command to locate the file but when I tried to run it, it just said the file was not there.

niknah, thanks for the tip. I will try to download a new version.

Thanks to Buddy and niknah
 
Old 12-31-2002, 10:49 AM   #5
SlickWilly
Member
 
Registered: Dec 2002
Posts: 327

Rep: Reputation: 30
Not entirely sure why it's not working for you. But I have one question, and one guide :

1) Why are you running it from cd? Did you install it to cd? You're not trying to run the RPM are you?

2) Here is the homepage for iptraf.

http://iptraf.seul.org/

You can download binaries for 7.2 here :

ftp.redhat.com/pub/redhat/linux/7.2/en/os/i386/RedHat/RPMS/iptraf-2.7.0-3.i386.rpm

rpm -i iptraf-[blah]

iptraf




Slick
 
Old 12-31-2002, 11:10 AM   #6
nutecinc
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Original Poster
Rep: Reputation: Disabled
SlickWilly:

I got the CD from the linux book I bought. And I am kind of lazy to download it in the beginning ><, that's the reason I run it from the CD. It's not RPM file, it's executable file. But for some reason, lots of files on the CD gave me same error messages. I can see those files but I just won't be able to run it. I even copy those files to the local disk but still the same problem. So I download the source file from internet and it works now.

But I am still interested to find out why I can see the file but won't be able to run it though...

Thanks for the guide.
 
Old 12-31-2002, 11:59 AM   #7
niknah
Member
 
Registered: Dec 2002
Location: In front of a computer
Distribution: UPS, DHL, FedEx
Posts: 466

Rep: Reputation: 38
linux sometimes returns a "No such file or directory" if it can't find the libs to link it with, it could mean it can't find the libs not the file.
 
Old 01-01-2003, 09:37 AM   #8
nutecinc
LQ Newbie
 
Registered: Dec 2002
Posts: 15

Original Poster
Rep: Reputation: Disabled
niknah:

Thanks for the answer. I thought it should return like "can't find *.lib or something instead of no such file or directory. But it explains the situation. Thanks again!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
run a file tyranus Debian 4 09-07-2005 03:36 AM
How do I run a ¨.run¨ file? Jube Linux - Newbie 4 07-03-2005 10:12 PM
.run file rogk Linux - General 2 07-18-2004 01:11 AM
What to do with a .run file? MaicoMedia Linux - Software 2 06-18-2004 05:46 PM
how to run file *.run pixelV Linux - Newbie 1 03-10-2003 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:16 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
Open Source Consulting | Domain Registration