LinuxQuestions.org
Register a domain and help support LQ
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 09-23-2003, 02:37 AM   #1
Lhach
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
Angry sh returns file not found....


I'm tryin' to install Halflife Ded'd Server on RedHat 9. I've done this once before on a different box by running -- sh hlds_l_3111_full.bin -- and it worked fine. Now on my machine, sh returns "No such file or directory." When I ls it's their, even in nautilus the thing is there... *boggle*
I've tried chmod but chmod also doesn't find the file, and being the *nixN00b that I am just can't figure this'un out.

Thanks
--Lhach
 
Old 09-23-2003, 02:45 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Use things like TAB autocompletion to ensure you are typing the name correctly, and tools like "ls" to list the files in the directory to make sure you are in the proper location. Then, when using chmod be sure you are the proper user to change the rights on the file (combined with all of the above of course).

Welcome to LQ

Cool
 
Old 09-23-2003, 02:49 AM   #3
Lhach
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the welcome!

Well, I've tried it logged on as root and a created user... I've used tab autocompletion, I've even tried providing the complete path... and ls, dir, and nautilus all show the file in the directory.... *cluelessness continues*
When I rclick in naut and goto properties, I can set the permissions... but chmod doesn't find it in the terminal... all the tools I've used to view the contents of a directory (ls, dir, naut) show the file is there... sh and chmod are blind to it.
 
Old 09-23-2003, 03:20 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Try renaming it... Maybe it doesn't like all those funny characters, name it something like:
stuff.bin



Cool
 
Old 09-23-2003, 03:45 AM   #5
Lhach
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Original Poster
Rep: Reputation: 0
can't rename... file not found
frustration++;

I can copy the file to other subs with nautilus though.... *boggle*
 
Old 09-23-2003, 06:41 AM   #6
natma
LQ Newbie
 
Registered: May 2003
Location: France
Posts: 7

Rep: Reputation: 0
open a shell (in a terminal: xterm, rxvt, whatever)

go to the directory where the file resides

is there any space in the filename?
can you "ls hlds_l_3111_full.bin"?
play with the parameters '-b' '-N' and '-q' of "ls" to see any special character

can you "file hlds_l_3111_full.bin" then paste the result here?

is the filesystem in noexec mode?
please do a "mount" and paste the result here, then let us know on which filesystem the file resides
 
  


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
memory stick returns error no medium found newusermike Linux - Newbie 1 08-04-2005 12:02 PM
file not found by glob? - file exists? rgdatit Linux - Newbie 2 07-29-2005 03:16 AM
apt-file returns nothing; 'bad file descriptor' overbored Debian 3 10-03-2004 10:13 PM
./configure returns "no such dir or file" fcp101 Linux - Software 12 08-02-2004 03:12 PM
snmpd installed, see file, but get error file not found PCHelper Slackware 0 11-06-2003 01:44 PM


All times are GMT -5. The time now is 01:12 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