LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Firefox crashes (https://www.linuxquestions.org/questions/linux-newbie-8/firefox-crashes-691714/)

rz1988 12-19-2008 10:34 AM

Firefox crashes
 
Ubnuntu 8.10 dual boot installed and seems to work, but Firefox won't open. It says it is already open, please close and try again. Firefox is not open, have rebooted and tried killall firefox Nothing seems to help, other browser work fine(I don't remember the name). Any ideas? I have also tried uninstalling and reinstalling and same problem.

repo 12-19-2008 10:37 AM

do
ps ax | grep firefox
try to open firefox in a terminal, and look for errormessages

teknik 12-19-2008 10:41 AM

you have to delete the lock and parentlock files (sometimes only one of them is there)

To do this, you need to go to your mozilla profile directory:

Code:

cd ~/.mozilla/firefox/(bunch of random characters).default/
rm lock
rm .parentlock

note: if the lock files arent in there, check other the directories in the ./mozilla/firefox/ directory.

rz1988 12-19-2008 10:50 AM

Quote:

Originally Posted by repo (Post 3381252)
do
ps ax | grep firefox
try to open firefox in a terminal, and look for errormessages

Tried that
roy@roy-2007laptop:~$ ps ax | grep firefox
6280 pts/0 S+ 0:00 grep firefox

when i open in terminal I get the same open but not responding message

rz1988 12-19-2008 10:55 AM

Quote:

Originally Posted by teknik (Post 3381255)
you have to delete the lock and parentlock files (sometimes only one of them is there)

To do this, you need to go to your mozilla profile directory:

Code:

cd ~/.mozilla/firefox/(bunch of random characters).default/
rm lock
rm .parentlock

note: if the lock files arent in there, check other the directories in the ./mozilla/firefox/ directory.

Tried that, I can't see any lock files

roy@roy-2007laptop:~/.mozilla/firefox/9tgkvvbz.default$ rm lock
rm: cannot remove `lock': No such file or directory
roy@roy-2007laptop:~/.mozilla/firefox/9tgkvvbz.default$ rm .parentlock
rm: cannot remove `.parentlock': No such file or directory
roy@roy-2007laptop:~/.mozilla/firefox/9tgkvvbz.default$

repo 12-19-2008 11:01 AM

Quote:

Tried that, I can't see any lock files
try this
cannabis:/var/lock# find /home/ -name lock
/home/repo/.mozilla/firefox/inpztry5.default/lock
cannabis:/var/lock#

teknik 12-19-2008 11:08 AM

yeah, they should be there... like I said, they may not be in that profile. So just a slight modification to what repo said:

Code:

find /home/(your user)/.mozilla/ | grep lock
should root them out. If they really aren't anywhere in .mozilla/, then I have no idea what's causing the problem. But I've had this happen a few times, and this always solved it.

rz1988 12-19-2008 11:10 AM

Quote:

Originally Posted by repo (Post 3381272)
try this
cannabis:/var/lock# find /home/ -name lock
/home/repo/.mozilla/firefox/inpztry5.default/lock
cannabis:/var/lock#

Is that all on one line?

roy@roy-2007laptop:~/.mozilla/firefox/9tgkvvbz.default$ cannabis:/var/lock# find /home/ -nme lock
bash: cannabis:/var/lock#: No such file or directory

repo 12-19-2008 11:13 AM

in a terminal type
find /home/ -name lock

rz1988 12-19-2008 11:14 AM

Quote:

Originally Posted by teknik (Post 3381279)
yeah, they should be there... like I said, they may not be in that profile. So just a slight modification to what repo said:

Code:

find /home/(your user)/.mozilla/ | grep lock
should root them out. If they really aren't anywhere in .mozilla/, then I have no idea what's causing the problem. But I've had this happen a few times, and this always solved it.

That pulled up lots of stuff, mostly with clock or block in the title not lock

I am going to try running from live cd and see what that does. I tried reinstalling ububuntu yesterday to no avail

rz1988 12-19-2008 11:15 AM

Quote:

Originally Posted by repo (Post 3381289)
in a terminal type
find /home/ -name lock

roy@roy-2007laptop:~$ find/home/ -name lock
bash: find/home/: No such file or directory

repo 12-19-2008 11:17 AM

find /home/ -name lock
look at the space between find and /home

rz1988 12-19-2008 11:20 AM

I logged in as guest and it works

rz1988 12-19-2008 11:23 AM

Quote:

Originally Posted by repo (Post 3381294)
find /home/ -name lock
look at the space between find and /home

roy@roy-2007laptop:~$ find /home/ -name lock
/home/roy/.gnome2/epiphany/mozilla/epiphany/lock

repo 12-19-2008 11:23 AM

Quote:

I logged in as guest and it works
So you still need to delete the lock file in the users directory


All times are GMT -5. The time now is 07:41 PM.