LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-03-2005, 11:07 AM   #1
memorinex2005
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
Who can tell me why I am unable to execute bin file under RHEL AS 4?


Recently I've installed the RHEL AS 4 onto my machine.It occurs to me something strange and it goes like this:I want to install StarSuite to my system and I input ./***.bin in the console window.But it tolds me that I haven't the authority to execute the program.
I check the properties of the bin file and found that the execute item has not been chosen.When I choose it and it returned to unchosen status automatically.
I tried to use chmod commander but still failed.Who can tell me why it happen and what can I do?


Thanks
 
Old 03-03-2005, 11:16 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,535

Rep: Reputation: 100Reputation: 100
I think this means you need to be superuser to run that program. Open an Xterminal and type su and press enter. Then enter your password. You are now the superuser - attempt to run the binary that says you do are not authorized / unprivileged. It should work now.
 
Old 03-03-2005, 11:17 AM   #3
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Make sure you're root or the user of the file that you're trying to execute. Put a blanket chmod 755 on the file, then try to execute again.
 
Old 03-05-2005, 10:55 AM   #4
memorinex2005
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
I did be a root and I use the chmod 755 commander but it still doesn't work.What can I do then?
 
Old 03-07-2005, 11:00 AM   #5
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Do these things and copy/paste the results ( make sure you're in the directory where the .bin file is you're trying to exectute ):

id
ls -l *.bin
 
Old 03-07-2005, 11:10 AM   #6
lihmin
LQ Newbie
 
Registered: Sep 2003
Location: Singapore
Posts: 23

Rep: Reputation: 15
also output of mount cmd. i think if the partition contain yr ***.bin is mounted as noexec then u probably cannot execute program from there.....
 
Old 03-07-2005, 12:17 PM   #7
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Good call lihmin...that can get you too.
 
Old 03-10-2005, 09:10 AM   #8
memorinex2005
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanx a lot! I will try it.
 
  


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
How do I execute a .bin file? andi_kan Linux - Newbie 3 11-16-2005 09:15 AM
/bin/tar: cannot execute binary file dhammika Linux - General 8 11-08-2005 05:17 PM
openoffice won't start. cannot execute bin. y? dark_prancer Linux - Software 3 10-15-2005 07:55 AM
Execute .bin fiies nodnarb Linux - Software 3 07-19-2004 06:27 AM
bash: /bin/cat: cannot execute binary file inTUXicated Linux - General 9 08-06-2003 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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