Firefox not starting

Hello, I have a big problem.
Firefox doesn’t start.
When I start Firefox,there is by the cursor the jumping symbol and on the taskline too. But after a short time it has vanished and the browser isn’t started. I’ve already reinstalled Firefox, but there is still the same problem. Maybe someone know the answer.
My OS is OpenSuse 11.2 32bit with KDE 4.

I tested to start Firefox with the console:
The output was:
/usr/bin/firefox: line 127: /usr/lib/firefox/firefox: File or Folder not found

Please copy paste the output of;
rpm -qa | grep -i mozilla

I typed rpm -qa | grep -i mozilla and the output was:

MozillaThunderbird-translations-common-3.0b4-3.6.i586
mozilla-xulrunner191-translations-common-1.9.1.5-1.2.1.i586
mozilla-xulrunner191-1.9.1.5-5.1.i586
mozilla-nspr-4.8.2-1.1.3.i586
MozillaFirefox-theme-oxygen-1.4.90-3.2.noarch
mozilla-xulrunner191-kde4-0.6-0.1.1.i586
mozilla-xulrunner191-gnomevfs-1.9.1.5-5.1.i586
mozilla-nss-3.12.4-2.4.i586
MozillaFirefox-branding-upstream-3.5.5-1.1.2.i586
MozillaFirefox-3.5.5-3.1.i586
MozillaThunderbird-3.0b4-3.6.i586

Here is mine, which works fine

MozillaFirefox-branding-openSUSE-3.5-8.9.1.i586
mozilla-xulrunner191-gnomevfs-1.9.1.5-1.2.1.i586
MozillaFirefox-translations-common-3.5.5-1.1.2.i586
MozillaFirefox-theme-oxygen-1.4.90-3.2.noarch
mozilla-nss-3.12.4-2.4.i586
mozilla-nspr-4.8.2-1.1.3.i586
mozilla-xulrunner191-kde4-0.6-0.1.1.i586
mozilla-xulrunner191-translations-common-1.9.1.5-1.2.1.i586
mozilla-xulrunner191-1.9.1.5-1.2.1.i586
MozillaFirefox-3.5.5-1.1.2.i586

Let’s see your repo’s

zypper lr -d

| Alias | Name | Aktiviert | Aktualisieren | Priorität | Typ | URI | Dienst

—±------------------------------±---------------------------±----------±--------------±----------±-------±-----------------------------------------------------------------±------
1 | download.opensuse.org-non-oss | Haupt-Repository (NON-OSS) | Ja | Ja | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
2 | download.videolan.org-SuSE | VideoLan Repository | Ja | Ja | 99 | rpm-md | Index of /pub/videolan/vlc/SuSE/11.2/ |
3 | ftp.skynet.be-suse | Packman Repository | Ja | Ja | 99 | rpm-md | Index of /pub/packman/suse/11.2 |
4 | mozilla | mozilla | Ja | Ja | 99 | rpm-md | Index of /repositories/mozilla/openSUSE_11.2 |
5 | nvidia | nvidia | Ja | Ja | 99 | rpm-md | ftp://download.nvidia.com/opensuse/11.2/ |
6 | repo-debug | openSUSE-11.2-Debug | Nein | Ja | 99 | NONE | Index of /debug/distribution/11.2/repo/oss |
7 | repo-non-oss | openSUSE-11.2-Non-Oss | Ja | Ja | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
8 | repo-oss | openSUSE-11.2-Oss | Ja | Ja | 99 | yast2 | Index of /distribution/11.2/repo/oss |
9 | repo-source | openSUSE-11.2-Source | Nein | Ja | 99 | NONE | Index of /source/distribution/11.2/repo/oss |
10 | repo-update | openSUSE-11.2-Update | Ja | Ja | 99 | rpm-md | Index of /update/11.2 |

Try going to software management
filter by repo and select the mozilla repo from the list on the left
and do like this example showing packman
http://thumbnails20.imagebam.com/5446/6b67e954459645.gif](http://www.imagebam.com/image/6b67e954459645)

see if that sorts it

Try this:

which firefox

Also try

rpm -ql MozillaFirefox-3.5.5-3.1

I might have a related issue, but have no solution for it.
4 times out of 10 firefox wont start from the quick launch panel I created to emulate a OSX style dock, it might be a bug somewhere.

(with Dolphin or Konqueror) navigate to the dir
/usr/lib/firefox
ans see if there is a file called firefox
if there is open a terminal in that dir and start firefox directly: #./firefox

the file /usr/bin/firefox is a script that may be broken.
is this a new install or an upgrade from a previous SUSE

from a terminal try running /usr/lib/firefox/firefox
what’s the output?

forgot about this one :frowning:
in a terminal execute the whereis program

#whereis firefox

does the result include

/usr/lib/firefox/firefox

what’s the output of whereis ?

if firefox is installed somewhere else
open the /usr/bin/firefox script with vi and edit line 127 so it points to where firefox is installed.

And if all else fails, in yast uninstall firefox and then reinstall it from the official oss repo not the mozilla one.

Well I did a quick check on the /usr/bin/firefox bash file and imo the problem is the reuse of global environment variables by most if not all mozilla programs.
What I mean is:
on start TBird sets the variables:

MOZ_DIST_BIN="/usr"
MOZ_DIST_LIB="/usr/lib/thunderbird"
MOZ_APPNAME=“thunderbird”
MOZ_PROGRAM="$MOZ_DIST_LIB/$MOZ_APPNAME-bin"

again Ffox uses the same variable names but with different arguments:

MOZ_DIST_BIN="/usr"
MOZ_DIST_LIB="/usr/lib/firefox"
MOZ_APPNAME=“firefox”
MOZ_PROGRAM="$MOZ_DIST_LIB/$MOZ_APPNAME"

the same goes with seamonkey.
are there other mozilla apps running when U try to start firefox like thunderbird?

Well I did a quick check on the /usr/bin/firefox bash file and imo the problem is the reuse of global environment variables by most if not all mozilla programs.
What I mean is:
on start TBird sets the variables:

MOZ_DIST_BIN=“/usr”
MOZ_DIST_LIB=“/usr/lib/thunderbird”
MOZ_APPNAME=“thunderbird”
MOZ_PROGRAM=“$MOZ_DIST_LIB/$MOZ_APPNAME-bin”

again Ffox uses the same variable names but with different arguments:

MOZ_DIST_BIN=“/usr”
MOZ_DIST_LIB=“/usr/lib/firefox”
MOZ_APPNAME=“firefox”
MOZ_PROGRAM=“$MOZ_DIST_LIB/$MOZ_APPNAME”

the same goes with seamonkey.
are there other mozilla apps running when U try to start firefox like thunderbird?

Yes thunderbird is installed and sometimes running. But this problem is there too, when Thunderbird is closed.

forgot about this one
in a terminal execute the whereis program

#whereis firefox

does the result include

/usr/lib/firefox/firefox

what’s the output of whereis ?

if firefox is installed somewhere else
open the /usr/bin/firefox script with vi and edit line 127 so it points to where firefox is installed.

And if all else fails, in yast uninstall firefox and then reinstall it from the official oss repo not the mozilla one.

I’ve checked this. When I open Firefox there with ./firefox Firefox will be started.But when I start firefox.sh the output is:

 ./firefox.sh: line 127: /usr/lib/firefox/firefox: File or Folder not found 

The answer of whereis is:

firefox: /usr/bin/firefox /usr/lib/firefox /usr/bin/X11/firefox /usr/share/man/man1/firefox.1.gz

Can somebody solve this mismatch?

whereis didn’t show the file
/usr/lib/firefox/firefox
this is the error you’re getting (this file is present on my system)
but it showed a file
/usr/bin/X11/firefox
now this file isn’t present on my system ?
are U running a 64bit system
imo the problem is simple
edit the script /usr/bin/firefox
and replace
MOZ_PROGRAM="$MOZ_DIST_LIB/$MOZ_APPNAME" with
MOZ_PROGRAM="$/usr/bin/X11/firefox"
this is a dirty hack but it should work without an error

I hope this helps :slight_smile:

p.s.
did U recently update firefox and from where?

disregard my previous post :frowning:
I jumped the gun a little
don’t edit the /usr/bin/firefox file
I too have /usr/bin/X11/firefox
ok do this

open a terminal

first execute

#usr/lib/firefox/firefox
can U execute this file?
if not

#cd /usr/lib/firefox
#ls firefox
check if firefox exists in /usr/lib/firefox
#stat -c=%A firefox
check the file permissions do U have execute rights on this file ?

Are U running apparmor or any other extra security feature?

well the simplest answer is sometimes hardest to remember.
you’re running kde4, do U have another desktop manager installed (Window Maker, Blackbox or Gnome) start one of them, does Firefox star from the SUSE menu? (as U said it starts from the terminal)
If it does, it’s a kde thing I’m not sure which as I don’t use kde4 :frowning:

yeh i think its a KDE bug, runs right away in Gnome.
It might be from the tweaks openSUSE has made to KDE, who knows.

Whereis is doing exactly what it is supposed to do.

Try this.

/usr/bin/firefox

If this works, then we have something else going on. If this doesn’t, you have a broken sym link.

Don’t worry about firefox.sh. It does that on mine to, and my firefox works just fine.

I have 2 entries for firefox for me.

firefox --no-remote -Profilemanager
firefox --safe-mode -no-remote -Profilemanager


I’ve installed an update today and turned appmore off and now it runs. Somehow Firefox has something changed appmore hasn’t allowedt to start it. I’ve foregotten, that I switch Appmore on, because I did it two weeks ago and it all was well. Now it runs perfectly again.lol!