You are not logged in.

#1 2008-06-23 09:24:57

stuffjeff
Member
Registered: 2007-10-06
Posts: 6

Firefox 3 not starting from /usr/bin [fixed]

Hi,

I just installed FF3 with pacman and I found that when I try to start FF3 from /usr/bin/firefox it gives me an error and doesn't start.
If I start directly from /usr/lib/firefox-3.0/firefox it starts.

The error is :

could not read application.ini

Any ideas?

Last edited by stuffjeff (2008-06-25 15:40:40)

Offline

#2 2008-06-23 12:27:21

vor_lord
Member
From: Fort Collins, Colorado, USA
Registered: 2004-06-10
Posts: 52

Re: Firefox 3 not starting from /usr/bin [fixed]

I have the same issue.

Offline

#3 2008-06-23 12:51:05

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,863

Re: Firefox 3 not starting from /usr/bin [fixed]

reboot and see if that works ... in Gnome I had to go into gnome-control-centre --- Pref Apps ... set browser there


Mr Green

Offline

#4 2008-06-23 14:02:47

biloky
Member
Registered: 2008-03-02
Posts: 61

Re: Firefox 3 not starting from /usr/bin [fixed]

If you happen to have a file or folder bearing the name 'firefox' in your home folder, try removing or renaming it. After that, firefox will start fine.

Offline

#5 2008-06-23 17:11:54

stuffjeff
Member
Registered: 2007-10-06
Posts: 6

Re: Firefox 3 not starting from /usr/bin [fixed]

biloky wrote:

If you happen to have a file or folder bearing the name 'firefox' in your home folder, try removing or renaming it. After that, firefox will start fine.

I had and your fix didn't do the job. still have the

could not read application.ini

error

Offline

#6 2008-06-24 00:35:53

biloky
Member
Registered: 2008-03-02
Posts: 61

Re: Firefox 3 not starting from /usr/bin [fixed]

Could you try doing an strace?

# strace -e trace=file firefox

Maybe we'll get a clue as to where it is looking for the file 'application.ini'.

When I had this problem, I got the following output:

.....
getcwd("/home/biloky", 4096)             = 12
lstat64("/home/biloky/firefox", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/home/biloky/firefox", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
access("/home/biloky/xulrunner/libxpcom.so", R_OK) = -1 ENOENT (No such file or directory)
open("/home/biloky/application.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
Could not read application.ini

I ran this from my home directory and I got a folder named 'firefox'.  Removing this folder seems to solve the problem. smile

Offline

#7 2008-06-24 15:43:48

stuffjeff
Member
Registered: 2007-10-06
Posts: 6

Re: Firefox 3 not starting from /usr/bin [fixed]

strace -e trace=file firefox
execve("/usr/bin/firefox", ["firefox"], [/* 46 vars */]) = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/tls/x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/xulrunner-1.9/tls/x86_64", 0x7ffff999d7b0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/tls/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/xulrunner-1.9/tls", 0x7ffff999d7b0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/xulrunner-1.9/x86_64", 0x7ffff999d7b0) = -1 ENOENT (No such file or directory)
open("/usr/lib/xulrunner-1.9/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/xulrunner-1.9", {st_mode=S_IFDIR|0755, st_size=792, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/lib/libpthread.so.0", O_RDONLY)  = 3
open("/usr/lib/xulrunner-1.9/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
open("/usr/lib/xulrunner-1.9/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
open("/usr/lib/xulrunner-1.9/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
open("/usr/lib/xulrunner-1.9/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgcc_s.so.1", O_RDONLY) = 3
open("/usr/lib/xulrunner-1.9/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
getcwd("/home/jeffrey", 4096)           = 14
lstat("/home/jeffrey/firefox", 0x7ffff999d190) = -1 ENOENT (No such file or directory)
lstat("/bin", {st_mode=S_IFDIR|0755, st_size=2264, ...}) = 0
lstat("/bin/firefox", 0x7ffff999d190)   = -1 ENOENT (No such file or directory)
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=288, ...}) = 0
lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=58832, ...}) = 0
lstat("/usr/bin/firefox", {st_mode=S_IFREG|0755, st_size=36496, ...}) = 0
stat("/usr/bin/firefox", {st_mode=S_IFREG|0755, st_size=36496, ...}) = 0
access("/usr/bin/xulrunner/libxpcom.so", R_OK) = -1 ENOTDIR (Not a directory)
open("/usr/bin/application.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
Could not read application.ini

Looks like it searches for application.ini in /usr/bin while it's in /usr/lib/firefox-3.0/
Should I make a link to the ini file?

Last edited by stuffjeff (2008-06-24 15:45:27)

Offline

#8 2008-06-25 00:12:41

biloky
Member
Registered: 2008-03-02
Posts: 61

Re: Firefox 3 not starting from /usr/bin [fixed]

Hello,

It seems that your "/usr/bin/firefox" is a regular file.  It is supposed to be a symbolic link to "/usr/lib/firefox-3.0/firefox". Could you confirm this? Try to remove and re-install the package via pacman and see if it fixes that, or you can opt to remove the file and do the symlink manually.

big_smile

Last edited by biloky (2008-06-25 00:13:27)

Offline

#9 2008-06-25 15:40:01

stuffjeff
Member
Registered: 2007-10-06
Posts: 6

Re: Firefox 3 not starting from /usr/bin [fixed]

did a reinstall and it's fixed now. me happy big_smile

Offline

#10 2011-03-23 15:42:01

mshenrick
Member
Registered: 2011-03-08
Posts: 14

Re: Firefox 3 not starting from /usr/bin [fixed]

i just upgraded today. my problem was it was reading from ~/bin/firefox/ so i just moved it and it works fine

Offline

#11 2011-03-23 15:48:12

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,162

Re: Firefox 3 not starting from /usr/bin [fixed]

mshenrick, this thread is almost 3 years old. I am not sure how your problem is related  as the repos now have firefox4 and not firefox3.

Please do not necrobump threads. Read forum rule 10

Closing...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB