| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
04-17-2008, 08:56 AM
|
#61
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by ernie
My Documents is a Windows folder (directory).
|
You're right that "My documents" is a Windows-folder. But it is on the Mandriva Flash stick and it's empty in the beginning. It does not inherit anything from the hard disk My Documents folder, it 'inherits' the documents from the /home/$USER folders. Yes, I've used it on other computers as well. It still has the same bookmarks!
|
|
|
|
04-17-2008, 03:05 PM
|
#62
|
|
Senior Member
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Rep:
|
OK, then the Mandriva Flash configuration is unique. Even Mandriva One does not include a My Documents folder (directory). Since I do not use the Flash release here I am unfamiliar with its characteristics. You may be best served to ask this question on the Mandriva Users Forum (this link gets you to the main portal page).
HTH,
|
|
|
|
04-18-2008, 03:08 PM
|
#63
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
Moved: This thread is more suitable in <MANDRIVA> and has been moved for a merge with http://www.linuxquestions.org/questi...h-2008-635553/
|
|
|
|
04-18-2008, 04:53 PM
|
#64
|
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,088
|
And has now been merged
|
|
|
|
08-11-2008, 06:04 AM
|
#65
|
|
LQ Newbie
Registered: Aug 2008
Posts: 1
Rep:
|
Okay the solution is quite simple, this is what u have to do,
Open up a Terminal window,
type in this,
cd .mozilla/
cd firefox/
ls -a
cd (name).default (You'll see a folder with default extension)
ls -a
LOOK FOR "LOCK" file, if there, type in
rm lock
TRY RUNNING NOW, IF NOT THEN LOOK FOR "PARENTLOCK",
rm parentlock
Now Firefox should work !!!
Take Carezzz byaaaaa
|
|
|
|
08-11-2008, 01:25 PM
|
#66
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by mobeenkhan
Okay the solution is quite simple,
|
Thanks for the answer, but as you can see in the thread above, this did not solve the problem. In the meantime I installed Linux again from scratch, and since then the problem didnṫ show up again.
|
|
|
|
08-21-2008, 08:17 AM
|
#67
|
|
Member
Registered: Nov 2007
Location: Chennai,TamilNadu,India
Distribution: RedHat,SuSE
Posts: 60
Rep:
|
Hi,
I had the same problem. I did the following to remove the stale lock files and then opened firefox. it worked.
Code:
find $HOME/.mozilla -name lock -exec rm -f {} \;
find $HOME/.mozilla -name .parentlock -exec rm -f {} \;
run the above commands as the user who is having firefox problem.
In addition.. i moved my firefox binary (/usr/lib/firefox/firefox-bin) to /usr/lib/firefox/firefox-bin.org and kept my script (shown below) as /usr/lib/firefox/firefox-bin. so that the same problem will be solved background itself
Code:
#!/bin/bash
# /usr/lib/firefox/firefox-bin script
if ! [ `id -u` = 0 ]
then
chmod -R 777 $HOME/.mozilla/
find $HOME/.mozilla -name lock > /dev/null 2>&1
if [ $? = 0 ]
then
rm -f `find $HOME/.mozilla -name lock` 2> /dev/null
rm -f `find $HOME/.mozilla -name sessionstore.js` 2> /dev/null
rm -f `find $HOME/.mozilla -name .parentlock` 2> /dev/null
fi
fi
/usr/lib/firefox/firefox-bin.org $*
You can try this out. But dont mess up if you are not clear what is happening..
Thanks
Sridhar
|
|
|
|
08-21-2008, 06:26 PM
|
#68
|
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,098
Rep: 
|
Thank you for your solution...
Quote:
Originally Posted by ksri07091983
Hi,
I had the same problem. I did the following to remove the stale lock files and then opened firefox. it worked.
Code:
find $HOME/.mozilla -name lock -exec rm -f {} \;
find $HOME/.mozilla -name .parentlock -exec rm -f {} \;
run the above commands as the user who is having firefox problem.
In addition.. i moved my firefox binary (/usr/lib/firefox/firefox-bin) to /usr/lib/firefox/firefox-bin.org and kept my script (shown below) as /usr/lib/firefox/firefox-bin. so that the same problem will be solved background itself
Code:
#!/bin/bash
# /usr/lib/firefox/firefox-bin script
if ! [ `id -u` = 0 ]
then
chmod -R 777 $HOME/.mozilla/
find $HOME/.mozilla -name lock > /dev/null 2>&1
if [ $? = 0 ]
then
rm -f `find $HOME/.mozilla -name lock` 2> /dev/null
rm -f `find $HOME/.mozilla -name sessionstore.js` 2> /dev/null
rm -f `find $HOME/.mozilla -name .parentlock` 2> /dev/null
fi
fi
/usr/lib/firefox/firefox-bin.org $*
You can try this out. But dont mess up if you are not clear what is happening..
Thanks
Sridhar
|
Thank you for your solution,
regards, Glenn
|
|
|
|
08-22-2008, 01:24 AM
|
#69
|
|
Member
Registered: Nov 2007
Location: Chennai,TamilNadu,India
Distribution: RedHat,SuSE
Posts: 60
Rep:
|
Hi Glenn,
you are most welcome. But did that solution worked ???
Thanks
Sridhar
|
|
|
|
08-22-2008, 03:00 AM
|
#70
|
|
Senior Member
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,098
Rep: 
|
Not as it is, I have /usr/lib64/firefox
But it looks like it, I never get lockups in ff.
regards, Glenn
|
|
|
|
08-31-2008, 02:06 PM
|
#71
|
|
Member
Registered: Apr 2008
Location: Antwerpen
Distribution: Mandriva 2008.0 KDE 3.5
Posts: 50
Original Poster
Rep:
|
Quote:
Originally Posted by ksri07091983
Hi,
I had the same problem. I did the following to remove the stale lock files and then opened firefox. it worked.
|
Thanks for the answer, but as you can see in the thread above, this did not solve the problem. In the meantime I installed Linux again from scratch, and since then the problem didnṫ show up again.
|
|
|
|
10-09-2010, 06:07 PM
|
#72
|
|
LQ Newbie
Registered: Oct 2010
Location: Maine, USA
Distribution: Ubuntu
Posts: 1
Rep:
|
the command "ps -A | grep firefox" is case sensitive if you look at the ps --help there are a lot of letters and the upper case perform different functions then the lower case ones do hope this helps
|
|
|
|
03-05-2012, 12:04 PM
|
#73
|
|
LQ Newbie
Registered: Mar 2012
Posts: 1
Rep: 
|
Cure to misleading "firefox already running" message
>>>This seems to be caused by a corruption in the user's Firefox profile.
>>>First stop Firefox (and you may as well delete lock files).
ps aux | grep firefox
>>kill any processes you find..
kill -9 "nnnn" (process number = nnnn)
>>>remove lock files
cd ~"username"/.mozilla/firefox/uuhu32gf.default/ (or whatever your profile directory is)
ls -alh
rm lock
rm .parentlock
rm sessionstore.js
>>>Now rename the ini file which selects your corrupt profile at firefox startup (so firefox will no longer find "profiles.ini").
cd ~username/.mozilla/firefox/
mv profiles.ini not_profiles_ini
[fyi: profiles.ini contained:
cat not_profiles_ini
[General]
StartWithLastProfile=1
[Profile0]
Name=default
IsRelative=1
Path=uuhu32gf.default]
In the absence of profiles.ini, when you restart Firefox (and it will start now) firefox will create a new profile and profiles.ini file. The name of the new profile will be visible in >
ls ~username/.mozilla/firefox/
Suggest then copying bookmarks from your old profile folder to the new one (unless someone has time to spare doing further definitive investigation to pin down the exact file causing the old profile to fail).
To restore bookmarks from old profile:
>>find your old bookmarks (the most recent LARGE "bookmarks-(date of last known good).json" file in this directory (ignore any more recent tiny / empty ones created by the corrupted or failed firefox profile).
ls ~username/.mozilla/firefox/"old_profile_directory"/bookmarkbackups/
Copy last good bookmark backups .json file to new profile:
cp ~username/.mozilla/firefox/"old_profile_directory"/bookmarkbackups/bookmarks-2012-02-29.json ~username/.mozilla/firefox/"new_profile_directory"/bookmarkbackups
Open Firefox (your bookmarks won't be there yet, unlike the old method of just copying a bookmarks file, this is a 2-stage process).
Click on bookmarks > show all bookmarks > import and backup > restore >>> choose the file / date from the menu which corresponds to the last-known good file (.json) that you just previously / copied restored.
Your old bookmarks will all now be available, although the "bookmarks toolbar folder (ie links/personal bookmarks, whatever you like to call it) may need restoring by dragging on your own favourites.
Last edited by tonyh1; 03-05-2012 at 12:57 PM.
Reason: Added detail
|
|
|
|
03-06-2012, 02:10 AM
|
#74
|
|
Member
Registered: Aug 2004
Location: Albany, Western Australia
Distribution: Mageia 2, SME Server 8
Posts: 610
Rep:
|
Go "Main menu"
Go "Tools'
Go "System Tools"
Go "System Monitor"
find Firefox
click "End Process"
|
|
|
|
03-12-2012, 08:56 PM
|
#75
|
|
LQ Newbie
Registered: Oct 2010
Posts: 2
Rep:
|
Correction to firefox self-curing startup script
I saw that fine script from ksri07091983 in post #69.
However, I think there is a bug there.
If you try to run firefox for a second time, then it tries to delete the existing lock files, which will happily happen.
Then, you delete anything saved within the session, which means that if you have many windows and tabs open, next time you start you will not have them !
If you remove the
Code:
rm ... sessionstore.js
then you get the whole session again, that is all the windows and tabs you had last time (or is saved, anyway).
I would recommend add a line about if firefox runs already, then let it run as-is.
I would change your and commands into :
Code:
ps -e | grep firefox &>/dev/null; let lastexit=$?
find $HOME/.mozilla -name lock &>/dev/null ; let lastexit+=$?
if [ $lastexit = 0 ]
That way you run the rm set only if there is lock file AND the firefox does not run (i.e. first call).
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|