Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Firefox: A copy of Firefox is already open.



On Thu, 3 Jan 2008, David Mohs wrote:
Our school has 800 user accounts. Occasionally a user will encounter the following dialog when launching Firefox...

"Close Firefox: A copy of Firefox is already open. Only one copy of Firefox can be open at a time."

This is a documented issue at the following web site, and relates to an invisible file ".parentlock" not being deleted when Firefox quits (or unexpectedly quits).
http://kb.MozillaZine.org/Profile_in_use


Does anyone care to share how they resolve this issue for students in their school?

I have a script installed on all the machines in /Library/Scripts called fix_firefox.command


Since I've added /Library/Scripts to the path (via /etc/profile) they can either type in fix_firefox.command in a terminal window or use Finder to navigate to that directory and double click it (this is in 10.4).

The script is a couple of find statements. In theory, one person could have multiple profiles an if they wanted one locked and the other fixed, well this would cause an issue. This also fixes Thunderbird (which I've only seen break this way once).

#!/bin/sh
#

/usr/bin/find ~/Library/Application\ Support/Firefox/Profiles/ -name "\.parentlock" -delete
/usr/bin/find ~/Library/Thunderbird/Profiles/ -name "\.parentlock" -delete

exit

--
Marvin Crippen
email@hidden
DO-IT Program http://www.washington.edu/doit/
(206) 221-4166

 It is by caffeine alone I set my mind in motion,
 It is by the beans of Java the thoughts acquire speed,
 The hands acquire shaking, the shaking become a warning.
 It is by caffeine alone I set my mind in motion.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Client-management mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/client-management/email@hidden

This email sent to email@hidden
References: 
 >Firefox: A copy of Firefox is already open. (From: David Mohs <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.