Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just uncompressed firefox and when i run it with the ./firefox command i get this error message in the console:
/root/firefox/firefox/run-mozilla.sh: line 451: 2093 Illegal instruction "$prog" ${1+"$@"}
just a shot in the dark here, but are you logged in as normal user, and trying to run this as root in a terminal ?
if so, there is no need to be root to uncompress nor run firefox ... so just try uncompressing it into your users home folder, and then run it ....
I'm getting the exact same error. I didn't install it as root, I just downloaded it into my home directory. Funny thing is I have another PC with Fedora Core 1, the same as the one with the problem, and it works just fine.
/root/firefox/firefox/run-mozilla.sh: line 451: 2093 Illegal instruction "$prog" ${1+"$@"}
This is an error with the shell script (on line 451). Unfortunately, you apparently need to run the script, as otherwise it doesn't detect the shared libs in the same dir. If it weren't for that, I'd tell you to bypass the script and just run the prog directly "firefox-bin", but that won't work that easily.
If you're adventurous enough, you might try opening the script in a text editor and see what might be wrong on line 451 (on my system, 451 is simply "fi", so yours is probably different). You might also look into a way of setting up manually whatever the script really does to get the prog to run, and then bypassing the script (I'm considering looking into it).
Hope you get something worked out. Don't forget that Firefox is pre-release software (and I'm not so sure about RH's stability either).
I looked at that file and I've got the same fi on that line. I ended up making different error messages vi'ing the script so I removed firefox and redownloaded it. I now get the original message. You're right about the beta, but it's such a great beta! Maybe 0.9 will work!
Originally posted by tk31337 /root/firefox/firefox/run-mozilla.sh: line 451: 2093 Illegal instruction "$prog" ${1+"$@"}
This is an error with the shell script (on line 451). Unfortunately, you apparently need to run the script, as otherwise it doesn't detect the shared libs in the same dir. ...
If that is the problem, a way to fix it is to edit the "firefox" script to tell firefox where its libs are. I have the following
Quote:
MOZILLA_FIVE_HOME=/b/firefox
cd /b/firefox
curdir=/b/firefox
in my "firefox" script, since its libs are, in fact, in "/b/firefox" on my system. (Also, remove the other definition of "curdir" near the beginning of the script.)
Location: The land of the free and the home of the brave
Distribution: Slack 10
Posts: 239
Rep:
Re: root
Quote:
Originally posted by Xpiral I am root all the time because i didn't make another user for me i log in every time as root. Is that bad?
Yes, Megaman X is right. I'd just like to add a little bit. Not only is that an outside security risk, but it is more likely to be an internal error. You can easily make your system inoperable by making a mistake in root. There is no confirmation to delete files if you do not explicitly add that in.
I dug around in bugzilla and found that this problem has been reported and fixed a few times in firebird/firefox's history with Pentium I and K6 processors. So I wondered if I loaded up firebird 0.7 what would happen. I found it and it runs just fine! Just look in Mozilla's ftp site for the firebird folder and load the i686 build there if you have the same problem I had. It's close enough for my taste!
Originally posted by Xpiral I just uncompressed firefox and when i run it with the ./firefox command i get this error message in the console:
/root/firefox/firefox/run-mozilla.sh: line 451: 2093 Illegal instruction "$prog" ${1+"$@"}
What is this??? Please help!!!
I got the same Error ..
after using strace I found out that several fonts used by some pages are not readable.
So by starting firefox/mozilla as non root user check file permissions of your /usr/X11R6/lib/X11/fonts/TTF folder
especialy if you copied the Arial True Type Fonts in this folder!!! Cause this killed my firefox once it started, or better say, once i visited a web page wich tryed to use Arial Fonts and many Site use them!
This seems to be a problem oft the newer XFT enabled builds.
Also check this things:
1.) try to start firefox/mozilla from command line without displaying a page
Code:
# firefox about:blank
2.) try to start firefox/mozilla from command line with displaying something uncritical like the plugins
Code:
# firefox about: plugins
3.) use strace to debug your session
a) first edit /usr/lib/firefox/run-mozilla.sh around line 444 to show up the paths
e) change the working directory to the firefox binary path
Code:
# cd /usr/lib/firefox
e) start firefox binary with strace
Code:
# strace ./firefox-bin
f) now strace punch a lot lines on the screen, wait till the browser finished loading. Then visit your crash site and strace will print some additional infos about the error. Watch for something like
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.