Differences between revisions 2 and 3
Revision 2 as of 2010-03-12 13:35:22
Size: 872
Editor: biglerr
Comment:
Revision 3 as of 2013-03-21 10:22:04
Size: 1404
Editor: maegger
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 1. First, check if you have firefox/thunderbird instances running:{{{
ps -ef | grep <username>}}}
 Kill these with `kill <pid>`
 1. Delete the following files:
 `~/.mozilla/firefox/<profile-name>/lock`
 1. Change into your Mozilla profile directory:
 {{{
cd ~/.mozilla/firefox/<profile-name>.default/
Line 10: Line 8:
 `~/.mozilla/firefox/<profile-name>/.parentlock` # For Example ~/.mozilla/firefox/torktynj.default/
}}}
 1. Check the lock file.
 {{{
ls -l lock
lrwxrwxrwx 1 username stud 19 2013-03-20 16:02 lock -> 129.132.3.132:+6060

# In this example the firefox instance is running on
# 129.132.3.132 which is tardis-c03.ee.ethz.ch
}}}
 1. Login to the given machine and kill any firefox process:
 {{{
ssh 129.132.3.132
ps -ef | grep firefox
kill -9 <pid>

# Example:
# ps -ef | grep firefox
# username 6060 1 0 Mar20 ? 00:01:23 firefox
# kill -9 6060
}}}
 1. Remove any non deleted lockfile.
 {{{
rm ~/.mozilla/firefox/<profile-name>.default/lock
rm ~/.mozilla/firefox/<profile-name>.default/.parentlock
}}}

Why is Firefox/ Thunderbird telling me "already running", "profile in use" or "No running window found"?

UNIX

  1. Change into your Mozilla profile directory:
    cd ~/.mozilla/firefox/<profile-name>.default/
    
    # For Example ~/.mozilla/firefox/torktynj.default/
  2. Check the lock file.
    ls -l lock
    lrwxrwxrwx 1 username stud 19 2013-03-20 16:02 lock -> 129.132.3.132:+6060
    
    # In this example the firefox instance is running on
    # 129.132.3.132 which is tardis-c03.ee.ethz.ch
  3. Login to the given machine and kill any firefox process:
    ssh 129.132.3.132
    ps -ef | grep firefox
    kill -9 <pid>
    
    # Example:
    # ps -ef | grep firefox
    # username  6060     1  0 Mar20 ?        00:01:23 firefox
    # kill -9 6060
  4. Remove any non deleted lockfile.
    rm ~/.mozilla/firefox/<profile-name>.default/lock
    rm ~/.mozilla/firefox/<profile-name>.default/.parentlock

Windows

  1. Check with the task manager if firefox/thunderbird is running, if yes, kill it.
  2. Delete the following file:

    W:\Application Data\Mozilla\Firefox\Profiles\<profile-name>\parent.lock

Mac OS X

  1. Check with the Activity Monitor if you have any dead firefox processes still lingering around. If so, kill them (Button labeled "Quit Process").
  2. Delete the following file:

    ~/Library/Application Support/Firefox/Profiles/<profile-name>/.parentlock

FAQ/FirefoxMessages (last edited 2021-09-27 06:53:19 by bonaccos)