Wednesday, April 6, 2011

Firefox error - Firefox is already running, but is not responding......

User says firefox error:

"Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system"

There are two solutions to this problem:

Solution#1 - Command line:
1) Ask user to login and go to his home directory

2) Run following command:
bash-3.2$ find . -name ".parentlock" -exec ls -l '{}' \;
-rw-r--r-- 1 unixgeek group1 0 Jan 25 2007 ./.mozilla/default/7zeq10s5.slt/.parentlock
-rw-r--r-- 1 unixgeek group2 0 Mar 28 09:58 ./.mozilla/firefox/s6s5d3de.default/.parentlock

3) If user is sure that none of these files affect his/her currently running Firefox, ask him/her to delete those lock files. This will release all the locks Firefox application creates during a session.

4) In above example, user deleted both the files and voilĂ ! It is working for user again!!! :)

Solution#2 - Using GUI:

1) Open profile manager using "firefox -P" command.

2) Click on "Create profile" to create a new profile.

3) Give a meaningful name to the profile (eg. profile1) and save/exit

4) Select the newly created profile and click on "Start Firefox"

Optionally, you can delete previously created profiles if you are sure that those profiles are NOT in use!!! Be careful while doing this.

Enjoy & give feedback if any of the above solution worked for you! :)


Malik said...

I have just started learning Unix. I found this website and it is very informative. It will help me to get some good concepts of Unix.
java tutorial

Anonymous said...

Unfortunately this doesn’t work for me. Since FF 13 the file parent.lock isn't removed from the profile. Actually system allowed to read and write access to that file even if the profile is in use by active firefox process. Anyway launching that -profile dir with -no-remote option in the Java results that error when no other FF processes are running. Surprisingly if you start the same command from the command prompt it works.

Alex Walker said...

Easy solutions for this problem....great help...Good Going!!!

Useful Link-Firefox not working


alex walker said...

thank you very much this is very use full link Firefox not opening

Victoria Ardedmund said...

This suggestion was EXTREMELY helpful and saved me a bunch of time. Many thanks for explaining where the problem is.

Vicki Ardedmund

Peter Parker said...

Thanks for this good post relay i like this i am finding for Firefox not working windows 7