星期三, 7月 16, 2008

解決Linux環境下執行Firefoxt時出現Firefox is already running訊息

在Linux環境下點擊執行Firefox
Firefox沒有回應卻出現"Firefox is already running"的訊息
這時可以嘗試直接刪除Firefox的Process來排除此問題
在終端機中執行“ps auxwww | grep firefox”
找出相關的process number
然後刪除相關的process執行“kill [process number]”
通常可以排除此問題
如果還不行
可以參考下列連結內容
http://www.errorforum.com/mozilla-firefox-error/4116-how-fix-firefox-already-running-error.html
內容節錄如下

Sometimes when you try to start Firefox, it warns you that Firefox is already running. The message looks like this:
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.
Usually, you can just kill the firefox process to solve this problem. For example, on Linux the command “ps auxwww | grep firefox” will find the process number and then “kill [processnumber]” will work fine. But sometimes things are more horked than usual. That happened to me today, surprise surprise Here’s how to fix the deeper problem:
Step 1. Find your profile. This page tells you how to find the location of your Firefox profile. Under Linux (e.g. Ubuntu), it will be at ~/.mozilla/firefox/[Profile name]/ .
Step 2. Remove the lock files. This page tells you what the lock files are for Firefox on Windows/Linux/Mac. Under Unix/Linux, you’ll need to remove two files “lock” and “.parentlock” .
I haven’t had this happen before today, but it can happen if (for example) someone turns your computer off while Firefox is running.

標籤: