when i start firefox, it opens up then closes

Asked by Jeanette Castaneda

ok this just started yesterday, out of the blue. i opened up firefox, worked fine. closed it and then opened it up 5 minutes later and it closed on me after showing me my home pg for 1 min. i tried it again and again it opened up, showed me my home pg for a sec in, and then closed. i've restarted my laptop various times since then and it's still doing it.

my wireless network is fine and working fine on my other pc, but it's not working on my laptop. ubuntu says i'm connected but it still shuts down on me. i run version 8.04 hardy. thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

if you run firefox from terminal (gnome) or konsole (kde)

if it crashes there you will see output in the terminal/konsole

copy/paste the data here.

Revision history for this message
Jeanette Castaneda (jnetface) said :
#2

i don't know how to run firefox from terminal. i run gnome, what code would that be?
------Original Message------
From: actionparsnip
Sender: <email address hidden>
To: <email address hidden>
ReplyTo: <email address hidden>
Subject: Re: [Question #68707]: when i start firefox, it opens up then closes
Sent: Apr 25, 2009 3:24 PM

Your question #68707 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/68707

    Status: Open => Answered

actionparsnip proposed the following answer:
if you run firefox from terminal (gnome) or konsole (kde)

if it crashes there you will see output in the terminal/konsole

copy/paste the data here.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/68707/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/68707

You received this question notification because you are a direct
subscriber of the question.

Sent via BlackBerry by AT&T

Revision history for this message
Kyle (khuttger) said :
#3

In terminal, just type "firefox"

That will open it up

Revision history for this message
Jeanette Castaneda (jnetface) said :
#4

** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
Segmentation fault

On Apr 25, 2009 6:40pm, Kyle <email address hidden> wrote:
> Your question #68707 on Ubuntu changed:

> https://answers.launchpad.net/ubuntu/+question/68707

> Status: Open => Answered

> Kyle proposed the following answer:

> In terminal, just type "firefox"

> That will open it up

> --

> If this answers your question, please go to the following page to let us

> know that it is solved:

> https://answers.launchpad.net/ubuntu/+question/68707/+confirm?answer_id=2

> If you still need help, you can reply to this email or go to the

> following page to enter your feedback:

> https://answers.launchpad.net/ubuntu/+question/68707

> You received this question notification because you are a direct

> subscriber of the question.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

OK then try this:

killall firefox; mv ~/.mozilla ~/.mozilla_old; firefox &

This will give you a stock profile. It will have no bookmarks, no passwords, no plugins, default skin. If this works, you have 2 choices

1. Rebuild a new profile
2. Rename back and attempt to troubleshoot the old profile

Revision history for this message
Jeanette Castaneda (jnetface) said :
#6

ok so i got a new profile. any ideas on how i can troubleshoot my old
profile? there's a few bookmarks and such i'd like to restore.

On Mon, Apr 27, 2009 at 1:19 AM, actionparsnip <
<email address hidden>> wrote:

> Your question #68707 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/68707
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> OK then try this:
>
> killall firefox; mv ~/.mozilla ~/.mozilla_old; firefox &
>
> This will give you a stock profile. It will have no bookmarks, no
> passwords, no plugins, default skin. If this works, you have 2 choices
>
> 1. Rebuild a new profile
> 2. Rename back and attempt to troubleshoot the old profile
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/68707/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/68707
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Ok thats cool,

Bookmarks are held in:

~/.mozilla/firefox/<some stuff>.default

so you will have 2 the (old and the new)

if you run:

cd ~/.mozilla_old/firefox; ls

you will see a folder with the word default in its name. Type:

cd <whatever the folder is called>

(E.g. cd 7jc6ywp1.default)

and you will then be in the OLD profile. ok now here's some fun, because we need the file

bookmarks.html

In your NEW profile. So you will need to use the TAB key to autocomplete stuff here (all will become clear).

In Linux we are VERY lazy and you can use TAB to autocomplete files and folder names as well as commands and some switches on those commands. So with this in mind when you see [TAB} in my command. Hit the tab key and some magic will happen. Read ALL of the next bit before continuing:

cp bookmarks.html ~/.mozilla/firefox/[TAB][TAB] (not done yet, read on)

You will again see some randomly generated folder with the word default in it (just like before). Type the first character of the folder and press [TAB] again and *POOF* it completes it for you.

Once that has appeared, press enter and the file will copy (So we keep the original intact and in the right place in the OLD profile) into the NEW profile in the right place.

if you then close ALL firefoxes and rerun them, you should see your bookmarks.

Let me know if you get any trouble and copy / paste the terminal output if you do have issues.

Can you help with this problem?

Provide an answer of your own, or ask Jeanette Castaneda for more information if necessary.

To post a message you must log in.