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 06-03-2009, 02:00 PM   #1
exceed1
Member
 
Registered: Mar 2008
Location: oslo
Distribution: debian,redhat
Posts: 199

Rep: Reputation: 31
Wierd error message when starting firefox


Hi

I downloaded firefox 3.0.10 from mozilla' website because the 3.0.5 version of iceweasel i have running is crashing a LOT when using it to access flash movies, but it also gets segmentation faults several times on other sites where i cannot see that flash is used, so i thought i might upgrade or just use a newer version.

So i downloaded mozilla firefox 3.0.10 from the offical mozilla site and extracted the contents of the .bz file. Then when i executed "firefox", "run-mozilla.sh" or any other script/binary that should start firefox i get this message:
bash: ./firefox: /bin/sh: bad interpreter: Permission denied

When i look at the files i see they all start with "#!/bin/bash" and are shell scripts that the bash shell should understand (im using bash like most other people).

Does anyone know why this is happening?
 
Old 06-03-2009, 02:20 PM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 956
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
Hi, first of all check that you have execute permissions on the script (and any executables it might call) and that the partition isn't mounted with the noexec option. Second : check that you have all dependencies installed (they should be there since you use 3.0.5, but checking never hurts).
Check that there is no empty line before the #!/bin/bash line. Check if /bin/bash and /bin/sh are the same (are softlinked).
Last, you may try running "sh run-mozilla.sh"
 
Old 06-03-2009, 02:22 PM   #3
exceed1
Member
 
Registered: Mar 2008
Location: oslo
Distribution: debian,redhat
Posts: 199

Original Poster
Rep: Reputation: 31
Oh, i forgot that.. i actually had a readme file with capital letters in my home directory reminding me that i had the home dir. mounted "noexec" for security reasons (guess that doesnt work as a reminder and i end up in situations like this).. didnt remember it at all.. thanks for you answer, that reminded me of it

Last edited by exceed1; 06-03-2009 at 02:24 PM.
 
  


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
error message starting terminal skeletonca Linux - Newbie 1 10-23-2006 05:29 AM
Firefox presents wierd error indienick Linux - Software 2 06-23-2006 09:09 AM
Wierd message when starting up linux kernel theMonkeY Slackware 5 09-05-2004 09:21 AM
Error message when starting aclarion Fedora 1 08-06-2004 10:36 PM
Wierd Error message showin up dizzydauno Linux - General 11 07-20-2004 05:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:56 AM.

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