LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-26-2009, 12:54 PM   #1
witchcat
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Rep: Reputation: 0
Firefox error messagewhen try to access internet


Hi
I have an Aspire Acer with linux lite.When I try to access internet an error message appears saying I need to close firefox but it won't let me. What do I do?
Thanks
 
Old 07-26-2009, 02:49 PM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
It likely means an instance of firefox is still running (perhaps it crashed on your last use, rather than exiting properly). So, run the command "killall firefox" (without quotes). Your system should have a way to enter commands, via a menu choice at a start button, or something. If not, open a terminal, and enter the command there, or press Alt-F2, and a box should appear where you can enter commands. Enter the command "killall firefox". Then, you should have no problem opening firefox.

If you still have problems, rebooting would clear things up.

Oh, wait, I think I misread your question. I thought you were having problems opening firefox, but it appears you can open firefox, but can't connect to the internet? Well, maybe my above suggestion will help anyway.

Last edited by mark_alfred; 07-26-2009 at 02:53 PM.
 
Old 07-26-2009, 03:43 PM   #3
and235100
LQ Newbie
 
Registered: Feb 2007
Distribution: SuSE 11.1/11.0, Fedora, RHEL
Posts: 24

Rep: Reputation: 16
If this is still a problem after a reboot, then it would indicate that the lock file that FF should delete after installing an Add-On has not been removed after a (successful) install - the killall command should remove the lock file, but occasionally, it doesn't.

Manual removal:
To remove the file manually open up a terminal window and issue the command cd ~/.mozilla/firefox. Within this directory will be a directory unique to the user. To find out the name of this directory issue the command ls. The directory will be a random string of characters. Mine, for example, is u6n8y834.default. Change into this directory and issue the command ls. You should now see a file called lock. Issue the command rm lock to remove this file. Firefox should now start up.

(from http://www.ghacks.net/2009/02/14/linux-firefox-tips/)
 
Old 07-27-2009, 01:31 PM   #4
witchcat
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
no success

Tried both above but when I put in killallfirefox a run errormessage appears saying "failed to execute child process "killallfirefox"(no such file or directory)
When I try the manual removal and put cd etc into the terminal window the words "No such file or directory" appear.
Help?
 
Old 07-27-2009, 01:55 PM   #5
and235100
LQ Newbie
 
Registered: Feb 2007
Distribution: SuSE 11.1/11.0, Fedora, RHEL
Posts: 24

Rep: Reputation: 16
Can I check something - did you run the command with su?
You might need to use su to run killall.
And, just to check - you need to use "killall firefox" (or "killall firefox-bin" (no quotes).

As to being unable to locate the firefox install path - run FireFox, then from a terminal, try running $ "ps -efww" (i.e. as superuser)
 
Old 07-27-2009, 10:43 PM   #6
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by witchcat View Post
..but when I put in killallfirefox a run error message appears ..
Not "killallfirefox", but rather "killall firefox" (it's two words, not one).

Also, as and235100 mentioned, perhaps "killall firefox-bin" would work.

However, I'm surprised that rebooting did not work. So, I'm not really sure what to suggest, actually. Can you connect to the internet with its other applications? For instance, can you connect to the internet using the messenger (it uses pigeon, I think)?

You should probably download the manual from Linpus for the Acer Aspire One, and have a look there.
 
Old 07-29-2009, 01:31 PM   #7
witchcat
LQ Newbie
 
Registered: Jul 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Still not working

If I use su and killallfirefoxin the command window that appears when I press alt F2then it flashes and nothing else happens. If I put this in a terminal then the message that appears is su: user killallfirefox does not exist.
What next?
Thanks for the help so far.
 
Old 07-29-2009, 01:50 PM   #8
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,527

Rep: Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898Reputation: 898
Can you open firefox?
When does the error appear?

To kill ll instances o firefox
open a terminal
type
Code:
ps ax| grep firefox
the output should be something like
Quote:
cannabis:/home/repo# ps ax | grep firefox
10979 ? S 0:00 /bin/sh /opt/firefox/firefox
10988 ? S 0:00 /bin/sh /opt/firefox/run-mozilla.sh /opt/firefox/firefox-bin
10992 ? Sl 6:10 /opt/firefox/firefox-bin
24287 pts/0 R+ 0:00 grep firefox
cannabis:/home/repo#
To kill firefox, type
Code:
kill -9 10979
where 10979 is the PID you see on YOUR screen

Again type
Code:
ps ax| grep firefox
and
Code:
kill -9 PID
un till the output from ps ax| grep firefox is empty
start firefox
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot access the internet using firefox, konqueror, or seamonkey on fedora 11 fredyq Linux - Newbie 2 07-01-2009 06:25 PM
Yum firefox cannot access internet, Konqueror and kopete can johnsnails77 Linux - Server 16 03-19-2008 09:25 PM
Firefox can not access the internet sharkus Linux - Software 8 07-30-2007 01:57 AM
[Firefox] Does Master Password fight access via internet? General Linux - Software 1 09-29-2006 11:26 PM
Intermittent internet access in Firefox on SUSE Linux 10.1 Arizona9182 Linux - Networking 3 09-13-2006 02:56 PM


All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration