Author Topic: Please help - Firefox is still running  (Read 5007 times)

0 Members and 1 Guest are viewing this topic.

Offline beckih1979

  • Jr. Member
  • **
  • Posts: 2
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Please help - Firefox is still running
« on: December 27, 2010, 05:45:31 pm »
Hi my daughter has an Acer Aspire A110 netbook.  About 2 weeks ago she shut down the computer by just turning it off and since then we cannot get on to the internet.  The connection signal is excellent but the error message is saying frirefox is still running.  I have looked at many websites and this appears to be quite a common problem but I can only find how to sort it out in windows; the netbook is Linux.

Could anyone help me fix this?  I have never used Linux before so would really need a step by step idiots guide.

Thanks in advance.

Offline Mad Penguin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1420
  • Karma: 10018
  • Gender: Male
    • View Profile
    • Linux in the UK
    • Awards
Re: Please help - Firefox is still running
« Reply #1 on: December 27, 2010, 09:22:52 pm »
Older versions of firefox used to generate a "lock" file to indicate that it was running .. sometimes it would crash ans leave the file in place .. indicating it was running when indeed it wasn't.

Sounds like this is the problem.

Solution; remove the lock file.

Start a terminal session (how depends on your distro) and type;

cd .mozilla
find . -name "*.lock*"

When you identify the lock file, remove with;

rm {filename}

Then Firefox should start ... alternatively;

mv .mozilla .mozilla.old

BUT, if you do this you'll lose your bookmarks etc ...

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18208
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Please help - Firefox is still running
« Reply #2 on: December 27, 2010, 09:26:37 pm »
First you need to open a terminal...
In Linpus Lite... you can do this by hitting Alt+F2 and then typing terminal and clicking the Run button.

When the terminal opens, type:
Code: [Select]
ps aux | grep firefox
and hit enter

You will get an output similar to this:

Quote
mark      2114  0.0  0.0   4148   576 ?        S    21:02   0:00 /bin/sh /usr/lib/firefox-3.6.13/firefox
mark      2118  0.0  0.0   4148   572 ?        S    21:02   0:00 /bin/sh /usr/lib/firefox-3.6.13/run-mozilla.sh /usr/lib/firefox-3.6.13/firefox-bin
mark      2122 19.9  4.7 704776 85352 ?        Sl   21:02   0:04 /usr/lib/firefox-3.6.13/firefox-bin
mark      2178  0.0  0.0   8956   852 pts/0    S+   21:03   0:00 grep --color=auto firefox

look for the process id numbers... I've marked them in bold above... note they will be proceeded by your username.

so in the above example, the firefox process id's are 2114, 2118, 2122, and 2178

to kill those processes... enter this command in the terminal:
Code: [Select]
kill 2114 2118 2122 2178
and hit enter.



There is probably a graphical tool for process management somewhere on the system, but I don't know what it is in Linpus Lite, so I've had to explain how to do it from the command line.

In Ubuntu, you could have fired up System Monitor, selected the process tab, and have been presented with a list of running processes which you could selectively terminate... similar to the Windows Task Manager.

[EDIT]
Thinking about it, Mad Penguins response makes more sense, as I would have expected a reboot to have cleared the running firefox processes anyway... and by default, Linpus Lite uses Firefox 2.0
« Last Edit: December 27, 2010, 09:36:40 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline beckih1979

  • Jr. Member
  • **
  • Posts: 2
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Please help - Firefox is still running
« Reply #3 on: December 27, 2010, 09:51:16 pm »
I have tried both of these with no luck am I doing something wrong.  With Mad penguins it is saying unknown command and the other I cannot find any files relating to firefox

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18208
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Please help - Firefox is still running
« Reply #4 on: December 27, 2010, 10:37:06 pm »
Problem solved (in chat)... by renaming the (hidden) ~/.mozilla directory to ~/.mozilla.old
as Mad Penguin suggested.

First you need to open a terminal...
In Linpus Lite... you can do this by hitting Alt+F2 and then typing terminal and clicking the Run button.

When the terminal opens, type:
Code: [Select]
mv ~/.mozilla ~/.mozilla.old
and hit enter.

Now restart Firefox and a new ~/.mozilla directory will be created, and Firefox should start normally.

Be Aware - As stated above, you will loose your bookmarks, plugins, and any customisations you made to Firefox... it will be reset to its defaults.

[EDIT]

Future readers should check this posting for FULL instructions:

http://linuxforums.org.uk/netbooks/acer-aspire-one-linpus-lite-firefox-web-browser-wont-open/
« Last Edit: May 02, 2011, 07:47:59 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline roydd

  • Jr. Member
  • **
  • Posts: 1
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Please help - Firefox is still running
« Reply #5 on: January 07, 2011, 01:29:58 pm »
Hi All  I had exactly the same problem with my Acer Aspire Linux - looked at all the Acer support sites - many other with the same problem - various solutions - none worked for me - mainly windows solutions - tried the Acer pay advice line - he said it was an ISP problem - ISP said rubbish - its an operational software probem.   Finally, after a week or so and almost giving up I came across the advice above renaming the directory AND IT WORKED !   many many thanks .   

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18208
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Please help - Firefox is still running
« Reply #6 on: January 07, 2011, 02:42:13 pm »
Thanks for the feedback... it's always nice for people to hear that thier responses have helped someone else :)

This topic is still quite young, but I've been watching the "view" count climb steadily... so it would appear you are correct and that a lot of people are having the same problem.
« Last Edit: January 07, 2011, 02:53:29 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18208
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Please help - Firefox is still running
« Reply #7 on: January 07, 2011, 03:30:34 pm »
OK, here's a better way of removing the Firefox lock files in Linpus Lite which will keep your bookmarks etc...
(again, kudos to Mad Penguin)

Open a terminal...
In Linpus Lite... you can do this by hitting Alt+F2 and then typing terminal and clicking the Run button.

When the terminal opens, type:
Code: [Select]
thunar ~/.mozilla/firefox
and hit enter.

When the Thunar file manager opens, look for a directory called something similar to
4dkdm40g.default
(your directory will have a different name, but WILL end with .default)

Enter that directory...

Now hit Ctrl+H to display hidden files, and delete both the lock and .parentlock files.

Firefox should now work, and you won't have lost your bookmarks, plugins, customisations etc.

The lock files will be regenerated when Firefox starts and deleted when Firefox closes, so in the future it would be advisable  to close Firefox before powering down your netbook.



For those that have already renamed the ~/.mozilla directory... just change it back :) (obviously after renaming the "new" ~/.mozilla directory)
« Last Edit: March 15, 2011, 06:34:13 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18208
  • Karma: 476
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Please help - Firefox is still running
« Reply #8 on: March 15, 2011, 06:40:17 pm »
« Last Edit: March 16, 2011, 06:42:56 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal