On Mon, Nov 11, 2013 at 10:28:19AM -0800, Edward M wrote: > On 11/10/2013 1:38 PM, Dale wrote: > > When it does not kill correctly and I try to restart that > > session, I get the error that the session is already running. > > Hello,:-) > / > /The following article explains how to deal with "Firefox is already > running" message.hope it helps out > > "Run *strace -o ~/ff.strace firefox* and then investigated the > strace file. My hunch was that one or other file lock > wasn't being relinquished properly, perhaps from an earlier > crashed firefox process. I grepped through the log, looking for file > opens, and eventually found this:/ > open("/home/matthew/.mozilla/firefox/2z7l4uii.default/.parentlock", > O_WRONLY|O/CREAT|O/TRUNC, 0666) = 4/ > Bingo! I checked; and even with no firefox process running, > this file existed. It was an empty lock file, so I deleted it. That did > the trick --- now FireFox runs again!
Couldn't you just issue: find .mozilla/firefox/ -iname '*.parentlock' 2>/dev/null rather than running strace? -- Happy Penguin Computers >') 126 Fenco Drive ( \ Tupelo, MS 38801 ^^ supp...@happypenguincomputers.com 662-269-2706 662-205-6424 http://happypenguincomputers.com/ A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting