Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 09-19-2012, 06:45 PM   #1
gsahli
MVP
 
Join Date: Apr 2004
Location: Chicago
Posts: 1,250
Problem with Lion auto-restore of Firefox on restart

My cousin has a 2011 mini 2.4GHz, Core2Duo, OS X 10.7.4, using Firefox 14 or 15.
When double-clicking Firefox, he gets the following message:

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


As far as we can tell, Firefox isn't actually running. - looked in Activity Monitor.
We've unchecked Restore Windows and applications in the logout dialog, and turned off the same in the System Prefs>General pref pane.
We've gone to login items and made sure Firefox isn't set to open from there.
We've looked for the saved state folder for Firefox in ~/Library/Saved Application States and don't see one.
We also used Tinker Tool to make Firefox Not auto restore.
We booted from the Restore partition and repaired the HD and repaired permissions.
Also deleted from ~/Library/Preferences:
org.mozilla.firefox.plist and
org.mozilla.firefox.plist.lockfile

Any suggestions?
gsahli is offline   Reply With Quote
Old 09-19-2012, 07:10 PM   #2
onceagain
All Star
 
Join Date: Aug 2009
Posts: 663
Create a new user account.

If it does the same thing under that one, then you know the issue lies outside the home directory.

If you can't duplicate the problem with the new user account, then you know the problem lies inside the home directory.

Report back (:
onceagain is offline   Reply With Quote
Old 09-19-2012, 10:23 PM   #3
gsahli
MVP
 
Join Date: Apr 2004
Location: Chicago
Posts: 1,250
Thanks for reminding me! Yes, It Doesn't happen in the new user account (ie, Firefox is able to start), so it is definitely in the home folder.
gsahli is offline   Reply With Quote
Old 09-20-2012, 12:55 AM   #4
onceagain
All Star
 
Join Date: Aug 2009
Posts: 663
Quote:
Originally Posted by gsahli
Thanks for reminding me! Yes, It Doesn't happen in the new user account (ie, Firefox is able to start), so it is definitely in the home folder.

OK, so you probably trashed your Firefox profile.

The next step is to create/select a different profile in the "problem" user account.

On the menu bar, click on the Firefox menu and select Quit Firefox.
Navigate to /Applications/Utilities. Open the Terminal application.
In the Terminal application, enter the following:
/Applications/Firefox.app/Contents/MacOS/firefox-bin -p

Read more about it here:
http://support.mozilla.org/en-US/kb/...refox-profiles

Do that and report back (:
onceagain is offline   Reply With Quote
Old 09-20-2012, 06:34 PM   #5
gsahli
MVP
 
Join Date: Apr 2004
Location: Chicago
Posts: 1,250
Quote:
Originally Posted by onceagain
On the menu bar, click on the Firefox menu and select Quit Firefox.

That couldn't happen because Firefox wasn't actually running. There is apparently a lockfile in the profile that was telling OS X or Finder or Firefox that Firefox is already running.

Quote:
Originally Posted by onceagain
In the Terminal application, enter the following:
/Applications/Firefox.app/Contents/MacOS/firefox-bin -p

This did nothing, too. Got same message about Firefox already running. (even though it wasn't!)

Your ideas on "profile" led me toward a fix:
Restarted in Safe Mode. Ran Firefox from there. It asked me to choose or create a profile. Deleted old profiles and created new one. Firefox started up.
Went back to normal startup. Firefox works now.

Thanks.
gsahli is offline   Reply With Quote
Old 09-20-2012, 07:17 PM   #6
onceagain
All Star
 
Join Date: Aug 2009
Posts: 663
Quote:
Originally Posted by gsahli
Your ideas on "profile" led me toward a fix:
Restarted in Safe Mode. Ran Firefox from there. It asked me to choose or create a profile. Deleted old profiles and created new one. Firefox started up.
Went back to normal startup. Firefox works now.

There you go.

So, it was a profile issue of some kind. It happens.

Glad you're up and running (:
onceagain is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.