LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-07-2007, 10:09 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Rep: Reputation: 55
Firefox fails to start


Hi folks,

Ubuntu 7.04


Firefox fails to start finally after starting. This happens after removing Acrobat Reader download on Internet and reinstall it on repo.

On terminal;
$ firefox &
Code:
[1] 5467
satimis@ubuntu704:~$ ** 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)
It hung here.

Ran;
$ strace -r firefox -x echo &> /tmp/log
It also hung here.

$ sudo tail /tmp/log
Password:
Code:
     0.006570 rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_IGN}, 8) = 0
     0.000240 close(64)                 = 0
     0.000104 close(65)                 = 0
     0.000111 fcntl64(63, F_GETFD)      = 0
     0.000104 fcntl64(63, F_SETFD, FD_CLOEXEC) = 0
     0.000132 fcntl64(63, F_GETFL)      = 0 (flags O_RDONLY)
     0.000125 fstat64(63, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
     0.000184 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb67ac000
     0.000139 _llseek(63, 0, 0xbff336ec, SEEK_CUR) = -1 ESPIPE (Illegal seek)
     0.000151 read(63,
Please advise how to fix the problem. TIA


satimis
 
Old 08-07-2007, 12:37 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
First, try to to run
strace -f -o log firefox
then copy log and search what 'open' or 'pipe' call returns file descriptor 63 (or whatever it is on the next run). It can be helpful.
 
Old 08-07-2007, 08:29 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by raskin
First, try to to run
strace -f -o log firefox
then copy log and search what 'open' or 'pipe' call returns file descriptor 63 (or whatever it is on the next run). It can be helpful.
Hi raskin,


Tks for your advice.

I can't find neither "open ..... 63" nor "pipe ..... 63". I found follow;
Code:
6146  write(3, "400 : Acroread Quitting\n", 24) = -1 EPIPE (Broken pipe)
6146  --- SIGPIPE (Broken pipe) @ 0 (0) ---
During starting Firefox, I noticed on the bottom bar "starting vmware.com". It hung there.


I can try;
$ mv /home/satimis/.mozilla to /home/satimis/temp.mozilla

to delete the cache. But I need to restoresessions because I have some websites under browsing. I haven't save their URL yet.

Any suggestion. TIA


B.R.
satimis
 
Old 08-08-2007, 01:26 AM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Look up any system call returning 63..
By the way look into sessionstore.js - it contains your session. Maybe it is really that some site breaks maybe even acroreader and this hangs FireFox...
 
Old 08-08-2007, 02:18 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by raskin
Look up any system call returning 63..
$ cat log | grep -w 63
Code:
6128  futex(0x82a8ad0, FUTEX_WAIT, 63, {59, 999631586} <unfinished ...>
6126  futex(0x82a8ad0, FUTEX_WAIT, 63, {59, 997222726} <unfinished ...>
6121  futex(0x8081e70, FUTEX_WAIT, 63, {0, 194894881} <unfinished ...>
6115  <... read resumed> "63&color_url=008000\\\n&color_bord"..., 8192) = 8192
6115  read(54, "87^96)]\n  [2CE7(^82^6378)(^84^63"..., 8192) = 8192
6142  close(63)                         = -1 EBADF (Bad file descriptor)
6115  write(60, "Java(TM) Plug-in 1.6.0_02:$\nJava"..., 63) = 63
6115  write(60, "3:application/vnd.adobe.xdp+xml:"..., 63) = 63
6115  pipe([63, 64])                    = 0
6115  close(63 <unfinished ...>
6146  dup2(63, 4 <unfinished ...>
6146  close(63)                         = 0
6146  read(9, "68 0 obj<</Pages 63 0 R/Type/Cat"..., 4096) = 4096
6146  read(8, "68 0 obj<</Pages 63 0 R/Type/Cat"..., 4096) = 4096
6146  read(8, "63 0 obj<</Count 7/Kids[71 0 R 1"..., 4096) = 4096
6146  read(6, "68 0 obj<</Pages 63 0 R/Type/Cat"..., 4096) = 4096
6146  read(6, "63 0 obj<</Count 7/Kids[71 0 R 1"..., 4096) = 4096
What is the name of the system causing trouble? Tks.

Quote:
By the way look into sessionstore.js - it contains your session.
$ sudo find / -name sessionstore.js
No printout

$ sudo find / -name session*
Code:
.....
/home/satimis/.gconf/apps/panel/objects/session_dialog_screen0
/home/satimis/.gnome2/gedit/sessions
/home/satimis/.metacity/sessions
/home/satimis/.opera/sessions
/home/satimis/.dbus/session-bus
/usr/share/gnome/help/system-admin-guide/C/sessions.xml
/usr/share/applications/session-properties.desktop
/usr/share/guile/1.6/ice-9/session.scm
/usr/share/firefox/chrome/en-US/locale/browser/sessionstore.properties
/usr/share/doc/libgnome2-perl/examples/session-management.pl
/usr/lib/firefox/components/sessionstore.xpt
/etc/dbus-1/session.conf
...
Looked at;
/usr/share/firefox/chrome/en-US/locale/browser/sessionstore.properties
/usr/lib/firefox/components/sessionstore.xpt
/etc/dbus-1/session.conf
Nothing relevant.

Quote:
Maybe it is really that some site breaks maybe even acroreader and this hangs FireFox...
How to find them out? Tks.


satimis
 
Old 08-08-2007, 02:25 AM   #6
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Does the log end with unfinished read from descriptor 63? You need to search for descriptor in the unfinished call in the end. About session storing - what Firefox version do you use? The save file should be in ~/.mozilla/firefox/*.default/ . Maybe saved session is embedded in prefs.js .
 
Old 08-08-2007, 03:00 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by raskin
Does the log end with unfinished read from descriptor 63?
$ tail log
Code:
6146  gettimeofday({1186534576, 461489}, NULL) = 0
6146  gettimeofday({1186534576, 464490}, NULL) = 0
6146  gettimeofday({1186534576, 470232}, NULL) = 0
6146  gettimeofday({1186534576, 473633}, NULL) = 0
6146  gettimeofday({1186534576, 476793}, NULL) = 0
6146  stat64("/home/satimis/.adobe/Acrobat/7.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6146  access("/home/satimis/.adobe/Acrobat/7.0/TMDocs.sav", F_OK) = -1 ENOENT (No such file or directory)
6146  stat64("/home/satimis/.adobe/Acrobat/7.0", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
6146  access("/home/satimis/.adobe/Acrobat/7.0/TMDocs.sav", F_OK) = -1 ENOENT (No such file or directory)
6146  exit_group(0)                     = ?
I suppose it is the deleled "Acrobat Reader" causing the problem. The problem happened after its deletion. I still have "acroread" running on this box. It is download and installed on Ubunto repo

Quote:
You need to search for descriptor in the unfinished call in the end.
Pls explain in more detail? How to make such search? Tks.

Quote:
About session storing - what Firefox version do you use? The save file should be in ~/.mozilla/firefox/*.default/ . Maybe saved session is embedded in prefs.js .
$ apt-cache policy firefox
Code:
firefox:
  Installed: 2.0.0.6+1-0ubuntu1
  Candidate: 2.0.0.6+1-0ubuntu1
  Version table:
 *** 2.0.0.6+1-0ubuntu1 0
        500 http://security.ubuntu.com feisty-security/main Packages
        500 http://archive.ubuntu.com feisty-security/main Packages
        100 /var/lib/dpkg/status
     2.0.0.3+1-0ubuntu2 0
        500 http://hk.archive.ubuntu.com feisty/main Packages
version 2.0.0.3

$ cat /home/satimis/.mozilla/firefox/477sc6yv.default/prefs.js
Code:
user_pref("Internet Explorers 5.5", "Useragent");
user_pref("above Useragent", "Useragent");
user_pref("accessibility.typeaheadfind.flashBar", 0);
user_pref("app.update.enabled", false);
user_pref("app.update.lastUpdateTime.addon-background-update-timer", 1186146052);
user_pref("app.update.lastUpdateTime.background-update-timer", 1186146052);
user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 1186146052);
user_pref("app.update.lastUpdateTime.search-engine-update-timer", 1186146052);
user_pref("browser.download.lastDir", "/home/satimis/PDF");
user_pref("browser.download.save_converter_index", 0);
user_pref("browser.feeds.showFirstRunUI", false);
user_pref("browser.history_expire_days.mirror", 9);
user_pref("browser.preferences.advanced.selectedTabIndex", 1);
user_pref("extensions.lastAppVersion", "2.0.0.6");
user_pref("extensions.update.notifyUser", false);
user_pref("generl.useragent.override", "");
user_pref("intl.charsetmenu.browser.cache", "ISO-8859-1, Big5, us-ascii, windows-1252");
user_pref("network.cookie.prefsMigrated", true);
user_pref("pref.advanced.images.disable_button.view_image", false);
user_pref("pref.advanced.javascript.disable_button.advanced", false);
user_pref("pref.general.disable_button.default_browser", false);
user_pref("pref.privacy.disable_button.cookie_exceptions", false);
user_pref("print.print_printer", "CUPS/PDFPrinter");
user_pref("print.printer_CUPS/DeskJet-5740.print_bgcolor", false);
user_pref("print.printer_CUPS/DeskJet-5740.print_bgimages", false);
user_pref("print.printer_CUPS/DeskJet-5740.print_colorspace", "default");
user_pref("print.printer_CUPS/DeskJet-5740.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
user_pref("print.printer_CUPS/DeskJet-5740.print_downloadfonts", true);
user_pref("print.printer_CUPS/DeskJet-5740.print_edge_bottom", 4);
user_pref("print.printer_CUPS/DeskJet-5740.print_edge_left", 4);
user_pref("print.printer_CUPS/DeskJet-5740.print_edge_right", 4);
user_pref("print.printer_CUPS/DeskJet-5740.print_edge_top", 4);
user_pref("print.printer_CUPS/DeskJet-5740.print_evenpages", true);
user_pref("print.printer_CUPS/DeskJet-5740.print_footercenter", "");
user_pref("print.printer_CUPS/DeskJet-5740.print_footerleft", "&PT");
user_pref("print.printer_CUPS/DeskJet-5740.print_footerright", "&D");
user_pref("print.printer_CUPS/DeskJet-5740.print_headercenter", "");
user_pref("print.printer_CUPS/DeskJet-5740.print_headerleft", "&T");
user_pref("print.printer_CUPS/DeskJet-5740.print_headerright", "&U");
user_pref("print.printer_CUPS/DeskJet-5740.print_in_color", true);
user_pref("print.printer_CUPS/DeskJet-5740.print_margin_bottom", "0.5");
user_pref("print.printer_CUPS/DeskJet-5740.print_margin_left", "0.5");
user_pref("print.printer_CUPS/DeskJet-5740.print_margin_right", "0.5");
user_pref("print.printer_CUPS/DeskJet-5740.print_margin_top", "0.5");
user_pref("print.printer_CUPS/DeskJet-5740.print_oddpages", true);
user_pref("print.printer_CUPS/DeskJet-5740.print_orientation", 0);
user_pref("print.printer_CUPS/DeskJet-5740.print_pagedelay", 500);
user_pref("print.printer_CUPS/DeskJet-5740.print_paper_data", 0);
user_pref("print.printer_CUPS/DeskJet-5740.print_paper_height", "297.00");
user_pref("print.printer_CUPS/DeskJet-5740.print_paper_name", "A4");
user_pref("print.printer_CUPS/DeskJet-5740.print_paper_size", 666);
user_pref("print.printer_CUPS/DeskJet-5740.print_paper_size_type", 1);
user_pref("print.printer_CUPS/DeskJet-5740.print_paper_size_unit", 1);
user_pref("print.printer_CUPS/DeskJet-5740.print_paper_width", "210.00");
user_pref("print.printer_CUPS/DeskJet-5740.print_plex_name", "default");
user_pref("print.printer_CUPS/DeskJet-5740.print_resolution_name", "default");
user_pref("print.printer_CUPS/DeskJet-5740.print_reversed", false);
user_pref("print.printer_CUPS/DeskJet-5740.print_scaling", "  1.00");
user_pref("print.printer_CUPS/DeskJet-5740.print_shrink_to_fit", true);
user_pref("print.printer_CUPS/DeskJet-5740.print_to_file", false);
user_pref("print.printer_CUPS/DeskJet-5740.print_to_filename", "/home/satimis/mozilla.ps");
user_pref("print.printer_CUPS/PDFPrinter.print_bgcolor", false);
user_pref("print.printer_CUPS/PDFPrinter.print_bgimages", false);
user_pref("print.printer_CUPS/PDFPrinter.print_colorspace", "default");
user_pref("print.printer_CUPS/PDFPrinter.print_command", "lpr ${MOZ_PRINTER_NAME:+-P\"$MOZ_PRINTER_NAME\"}");
user_pref("print.printer_CUPS/PDFPrinter.print_downloadfonts", true);
user_pref("print.printer_CUPS/PDFPrinter.print_edge_bottom", 4);
user_pref("print.printer_CUPS/PDFPrinter.print_edge_left", 4);
user_pref("print.printer_CUPS/PDFPrinter.print_edge_right", 4);
user_pref("print.printer_CUPS/PDFPrinter.print_edge_top", 4);
user_pref("print.printer_CUPS/PDFPrinter.print_evenpages", true);
user_pref("print.printer_CUPS/PDFPrinter.print_footercenter", "");
user_pref("print.printer_CUPS/PDFPrinter.print_footerleft", "&PT");
user_pref("print.printer_CUPS/PDFPrinter.print_footerright", "&D");
user_pref("print.printer_CUPS/PDFPrinter.print_headercenter", "");
user_pref("print.printer_CUPS/PDFPrinter.print_headerleft", "&T");
user_pref("print.printer_CUPS/PDFPrinter.print_headerright", "&U");
user_pref("print.printer_CUPS/PDFPrinter.print_in_color", true);
user_pref("print.printer_CUPS/PDFPrinter.print_margin_bottom", "0.5");
user_pref("print.printer_CUPS/PDFPrinter.print_margin_left", "0.5");
user_pref("print.printer_CUPS/PDFPrinter.print_margin_right", "0.5");
user_pref("print.printer_CUPS/PDFPrinter.print_margin_top", "0.5");
user_pref("print.printer_CUPS/PDFPrinter.print_oddpages", true);
user_pref("print.printer_CUPS/PDFPrinter.print_orientation", 0);
user_pref("print.printer_CUPS/PDFPrinter.print_pagedelay", 500);
user_pref("print.printer_CUPS/PDFPrinter.print_paper_data", 0);
user_pref("print.printer_CUPS/PDFPrinter.print_paper_height", "297.00");
user_pref("print.printer_CUPS/PDFPrinter.print_paper_name", "A4");
user_pref("print.printer_CUPS/PDFPrinter.print_paper_size", 666);
user_pref("print.printer_CUPS/PDFPrinter.print_paper_size_type", 1);
user_pref("print.printer_CUPS/PDFPrinter.print_paper_size_unit", 1);
user_pref("print.printer_CUPS/PDFPrinter.print_paper_width", "210.00");
user_pref("print.printer_CUPS/PDFPrinter.print_plex_name", "default");
user_pref("print.printer_CUPS/PDFPrinter.print_resolution_name", "default");
user_pref("print.printer_CUPS/PDFPrinter.print_reversed", false);
user_pref("print.printer_CUPS/PDFPrinter.print_scaling", "  1.00");
user_pref("print.printer_CUPS/PDFPrinter.print_shrink_to_fit", true);
user_pref("print.printer_CUPS/PDFPrinter.print_to_file", false);
user_pref("print.printer_CUPS/PDFPrinter.print_to_filename", "/home/satimis/mozilla.ps");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_colorspace", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_downloadfonts", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_jobtitle", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_plex", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_printincolor", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_resolution", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.can_change_spoolercommand", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.colorspace.0.name", "default");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.colorspace.count", 1);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.orientation.count", 2);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.5.height_mm", 431);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.5.name", "Tabloid");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.5.width_mm", 279);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.6.height_mm", 254);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.6.is_inch", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.6.name", "Executive");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.6.width_mm", 190);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.paper.count", 7);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.plex.count", 1);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.resolution.0.name", "default");
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.resolution.count", 1);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.supports_colorspace_change", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.supports_downloadfonts_change", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.supports_jobtitle_change", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.supports_printincolor_change", true);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.supports_resolution_change", false);
user_pref("print.tmp.printerfeatures.CUPS/DeskJet-5740.supports_spoolercommand_change", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_colorspace", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_downloadfonts", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_jobtitle", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_plex", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_printincolor", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_resolution", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.can_change_spoolercommand", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.colorspace.0.name", "default");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.colorspace.count", 1);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.orientation.count", 2);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.1.is_inch", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.1.name", "A4");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.1.width_mm", 210);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.2.height_mm", 420);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.2.is_inch", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.2.name", "A3");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.2.width_mm", 297);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.3.height_mm", 279);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.3.is_inch", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.3.name", "Letter");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.3.width_mm", 215);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.4.height_mm", 355);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.4.is_inch", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.4.name", "Legal");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.4.width_mm", 215);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.5.height_mm", 431);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.5.is_inch", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.5.name", "Tabloid");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.5.width_mm", 279);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.6.height_mm", 254);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.6.is_inch", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.6.name", "Executive");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.6.width_mm", 190);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.paper.count", 7);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.plex.0.name", "default");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.plex.count", 1);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.resolution.0.name", "default");
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.resolution.count", 1);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.supports_colorspace_change", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.supports_downloadfonts_change", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.supports_jobtitle_change", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.supports_orientation_change", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.supports_paper_size_change", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.supports_plex_change", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.supports_printincolor_change", true);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.supports_resolution_change", false);
user_pref("print.tmp.printerfeatures.CUPS/PDFPrinter.supports_spoolercommand_change", false);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_colorspace", false);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_downloadfonts", false);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_jobtitle", false);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_num_copies", true);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_orientation", true);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_paper_size", true);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_plex", false);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_printincolor", true);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_resolution", false);
user_pref("print.tmp.printerfeatures.PostScript/default.can_change_spoolercommand", true);
user_pref("print.tmp.printerfeatures.PostScript/default.colorspace.0.name", "default");
user_pref("print.tmp.printerfeatures.PostScript/default.colorspace.count", 1);
user_pref("print.tmp.printerfeatures.PostScript/default.has_special_printerfeatures", true);
user_pref("print.tmp.printerfeatures.PostScript/default.orientation.0.name", "portrait");
user_pref("print.tmp.printerfeatures.PostScript/default.orientation.1.name", "landscape");
user_pref("print.tmp.printerfeatures.PostScript/default.orientation.count", 2);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.0.height_mm", 210);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.0.is_inch", false);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.0.name", "A5");
user_pref("print.tmp.printerfeatures.PostScript/default.paper.0.width_mm", 148);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.1.height_mm", 297);
user_pref("print.tmp.printerfeatures.PostScript/default.paper.1.is_inch", false);
...
...
user_pref("useragentswitcher.2.vendor", "");
user_pref("useragentswitcher.2.vendorsub", "");
user_pref("useragentswitcher.3.appname", "Netscape");
user_pref("useragentswitcher.3.appversion", "4.8 [en] (Windows NT 5.1; U)");
user_pref("useragentswitcher.3.description", "Netscape 4.8 (Windows Vista)");
user_pref("useragentswitcher.3.platform", "Win32");
user_pref("useragentswitcher.3.useragent", "Mozilla/4.8 [en] (Windows NT 6.0; U)");
user_pref("useragentswitcher.3.vendor", "");
user_pref("useragentswitcher.3.vendorsub", "");
user_pref("useragentswitcher.4.appname", "Opera");
user_pref("useragentswitcher.4.appversion", "9.20 (Windows NT 5.1; U; en)");
Is this file? I can't print all output here because of limit on page-width. What I'm most interested are the websites being visited previously. I haven't saved their URL on file.


B.R.
satimis
 
Old 08-08-2007, 03:07 AM   #8
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Well, run
grep http: -r ~/.mozilla

Also, I don't understand: if you start Firefox now, does it finally hang or just fail?
 
Old 08-08-2007, 04:54 AM   #9
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by raskin
Well, run
grep http: -r ~/.mozilla
$ grep http: -r /home/satimis/.mozilla >log_01
$ cat log_01
Code:
Binary file /home/satimis/.mozilla/plugins/libflashplayer.so matches
/home/satimis/.mozilla/firefox/pluginreg.dat:The <a href="http://www.gnome.org/projects/totem/">Totem</a> 2.18.1 plugin handles video and audio streams.:$
/home/satimis/.mozilla/firefox/pluginreg.dat:The <a href="http://www.gnome.org/projects/totem/">Totem</a> 2.18.1 plugin handles video and audio streams.:$
/home/satimis/.mozilla/firefox/pluginreg.dat:The <a href="http://www.gnome.org/projects/totem/">Totem</a> 2.18.1 plugin handles video and audio streams.:$
/home/satimis/.mozilla/firefox/pluginreg.dat:The <a href="http://www.gnome.org/projects/totem/">Totem</a> 2.18.1 plugin handles video and audio streams.:$
/home/satimis/.mozilla/firefox/477sc6yv.default/extensions/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/install.rdf:<RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
/home/satimis/.mozilla/firefox/477sc6yv.default/extensions/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/install.rdf:         xmlns:NC="http://home.netscape.com/NC-rdf#"
/home/satimis/.mozilla/firefox/477sc6yv.default/extensions/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/install.rdf:         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
/home/satimis/.mozilla/firefox/477sc6yv.default/extensions/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/install.rdf:                   em:homepageURL="http://chrispederick.com/work/user-agent-switcher/"
Binary file /home/satimis/.mozilla/firefox/477sc6yv.default/extensions/{e968fc70-8f95-4ab9-9e79-304de2a71ee1}/chrome/useragentswitcher.jar matches
/home/satimis/.mozilla/firefox/477sc6yv.default/localstore.rdf:<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
/home/satimis/.mozilla/firefox/477sc6yv.default/localstore.rdf:         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
/home/satimis/.mozilla/firefox/477sc6yv.default/install.log:http://fpdownload.macromedia.com/get/flashplayer/xpi/current/flashplayer-linux.xpi  --  2007-07-03 18:04:48
/home/satimis/.mozilla/firefox/477sc6yv.default/extensions.rdf:<RDF:RDF xmlns:NS1="http://www.mozilla.org/2004/em-rdf#"
/home/satimis/.mozilla/firefox/477sc6yv.default/extensions.rdf:         xmlns:NC="http://home.netscape.com/NC-rdf#"
/home/satimis/.mozilla/firefox/477sc6yv.default/extensions.rdf:         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
/home/satimis/.mozilla/firefox/477sc6yv.default/extensions.rdf:                   NS1:homepageURL="http://chrispederick.com/work/user-agent-switcher/"
/home/satimis/.mozilla/firefox/477sc6yv.default/bookmarks.html:    <DT><A HREF="http://en-US.add-ons.mozilla.com/en-US/


.....
......
/home/satimis/.mozilla/firefox/477sc6yv.default/downloads.rdf:<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
/home/satimis/.mozilla/firefox/477sc6yv.default/downloads.rdf:         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
/home/satimis/.mozilla/firefox/477sc6yv.default/prefs.js: * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:  (60B5=104)(8A=http://www.yahoo.com/)(66AE=1186236990204129)(86
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:  (66AF=75)(117=http://www.linuxquestions.org/questions/newreply.php)
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:    =http://www.linuxquestions.org/questions/newreply.php?do=newreply&p=279928\
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:  (127=http://www.yahoo.com/r/m5)(66B0=1186236998612574)(128
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:    =1182791738209859)(4C47=61)(129=http://mail.yahoo.com/?.intl=us)
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:    =http://login.yahoo.com/config/exit?&.src=ym&.lg=h1&.intl=h1&.done=http%3a\
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:    =http://h1.f352.mail.yahoo.com/ym/ShowFolder?YY=29539&inc=25&order=down&so\
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:    =http://appledaily.atnext.com/template/apple/sec_main.cfm)(6E17
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:    =1186444893986355)(14D=1182817955706660)(142=http://home.atnext.com/)
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:  (683B=40)(1DF=http://edit.yahoo.com/config/mail?.intl=us)(66B2
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:  (234=http://www.google.com.hk/)(6F18=1186447406347364)(231
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:    =https://www.google.com/accounts/Login?continue=http://www.google.com.hk/&\
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:  (242=http://mail.google.com/mail)(6F1B=1186447416612701)(243
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat:    =http://mail.google.com/mail/?ik=14d3255ee3&view=cv&search=inbox&th=11348a\
....
....
/home/satimis/.mozilla/firefox/477sc6yv.default/bookmarkbackups/bookmarks-2007-08-04.html:        <DT><A HREF="http://wiki.ubuntu.com" ID="rdf:#$TwFMN2">Ubuntu Wiki (community-edited website)</A>
/home/satimis/.mozilla/firefox/477sc6yv.default/bookmarkbackups/bookmarks-2007-08-04.html:        <DT><A HREF="http://www.fsf.org/" ICON="data:image/
.....
.....
/home/satimis/.mozilla/firefox/477sc6yv.default/bookmarkbackups/bookmarks-2007-08-06.html:        <DT><A HREF="http://news.bbc.co.uk/" LAST_MODIFIED="1185157972" FEEDURL="http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml" ID="rdf:#$LxoCU1">Latest BBC Headlines</A>
/home/satimis/.mozilla/firefox/477sc6yv.default/bookmarkbackups/bookmarks-2007-08-06.html:        <DT><A HREF="http://www.ubuntu.com/" LAST_VISIT="1185117125" ICON="data:image/x-
.....
.....
SOBMYI8bAsAJFPcj1AAEEjwVQqLpAbXmH5BJjqI0gi9DTAAgDBBCcAVLkgmQ7yKCZxpCQxqUZhAECCJ4XgMl493ug21ZD+aDAXH0WLM4A9MZPXJkJIIAwTAR5pQMalaCABQUULttBGCCAGCnNzgABBgAMJ5THwGvJLAAAAABJRU5ErkJggg==" ID="rdf:#$52iCK1">About Us</A>
/home/satimis/.mozilla/firefox/477sc6yv.default/blocklist.xml:<blocklist xmlns="http://www.mozilla.org/2006/addons-blocklist">
I can't display the complete file here.

Quote:
Also, I don't understand: if you start Firefox now, does it finally hang or just fail?
Firefox started finally but with blank pages displayed. I have several sessions with different webpages.


satimis
 
Old 08-08-2007, 04:58 AM   #10
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Looks like it lost your session.. Or did you move your profile folder before it started? You can grep http: there then. You can hope that every domain you visited has at least one entry in history.dat .
 
Old 08-08-2007, 05:07 AM   #11
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by raskin
Looks like it lost your session.. Or did you move your profile folder before it started? You can grep http: there then.
No, I did not remove session nor profile folder. I only removed the folder of "Acrobat Reader" and reinstall it on repo. Then it came to present situation.

I think on starting Firefox if choosing "new sessions" NOT "restoresession" Firefox may start. But I need to restart 5~6 webpages which I haven't closed on my last visit.


Quote:
You can hope that every domain you visited has at least one entry in history.dat .
My problem is I can't recall the names of those URL.


B.R.
satimis
 
Old 08-08-2007, 05:09 AM   #12
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
You can just read the history.dat and check the sites mentioned there. Among them there are the pages you forgot.
 
Old 08-08-2007, 05:40 AM   #13
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by raskin
You can just read the history.dat and check the sites mentioned there. Among them there are the pages you forgot.
Hi raskin,



Tks. I found it;
/home/satimis/.mozilla/firefox/477sc6yv.default/history.dat


I suppose there are hundreds of URL there. Is there anyway to find the last visited URL which were remaining on Firefox w/o closed? Tks


satimis
 
Old 08-08-2007, 05:43 AM   #14
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
I guess Firefox thinks that the last visited URL's are now defined by the session when it ran with blank tabs..
 
Old 08-08-2007, 06:51 AM   #15
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,688

Original Poster
Rep: Reputation: 55
Quote:
Originally Posted by raskin
I guess Firefox thinks that the last visited URL's are now defined by the session when it ran with blank tabs..
I can't find anything there.

Selete "New Session" to start Firefox. It is working now. I think I need some time to discover the lost URLs which I'm interested.

Histtory -> Show in Sidebar
I found many URL there. In these 2 days I run Opera 9.22 to communicate outside World. Therefore there are many mixing history there.

Anyway tks again for your advice.


B.R.
satimis
 
  


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
Firefox 2.0.4 Fails Since Update adam-red Ubuntu 3 06-14-2007 04:21 PM
Firefox Fails with Quick Find gizza23 Linux - General 1 11-23-2006 03:13 AM
Firefox fails after security update osbie SUSE / openSUSE 4 05-04-2005 02:05 PM
firefox fails to load page mikemrh9 Linux - Software 2 12-30-2004 12:48 PM
Firefox 0.9.3 fails to start on Fedora Core 2 damion Linux - Software 1 08-21-2004 04:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:58 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
Open Source Consulting | Domain Registration