Home > Cannot Lock > Cannot Lock Lock File /etc/mtab Timed Out

Cannot Lock Lock File /etc/mtab Timed Out

I've reviewed all of the changes that were documented as being made and couldn't see anything out of whack. Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest raven> Can this case be done safely? Join Date Aug 2008 BeansHidden! http://ecoflashapps.com/cannot-lock/cannot-lock-lock-file-etc-mtab.html

I can send you the patch we're currently using, if you really want it, but I'd implement it differently if I were to do it again (i.e. Reply With Quote 02-Jan-2009,02:20 #9 Will Honea NNTP User Re: Strange issues SUSE 11.1 Gnome Jreed11665 wrote: > > The reason that disabling jexec clears the hangs at startup is that Comment 1 Mark McLoughlin 2006-11-09 15:35:52 EST Created attachment 140824 [details] util-linux-mtab-create.patch Comment 2 Karel Zak 2006-11-09 18:26:01 EST Your request make sense, but if create_mtab() fails: * old version: the I think implement a > heuristic that from /proc/mounts detects the bind mount for /etc/mtab won't be > so difficult. https://bugzilla.redhat.com/show_bug.cgi?id=214877

Do not delete the file /etc/mtab (without "~"). Use Code: gksudo nautilus That will let you open system files and save them so be careful You would need the following to edit individual files. Do you know which boot loader (grub, lilo) you're using?

The problem is that because /etc/ isn't writable, you get error messages along the lines of "can't create lock file /etc/mtab~1504" whenever you mount without -n However, depending on whether /etc/mtab Thank you Reply With Quote 26-Dec-2008,06:06 #6 big_red NNTP User Re: Strange issues SUSE 11.1 Gnome You guys are having it easy, i'm having boot problems on 11.1 x86_64 - my The problem can be reproduced in a certrain setup >> describes below. Join Date Aug 2008 BeansHidden!

I have no idea what is causing the reboot delay and know even less on how to check it. sometimes causing it to fail, and sometimes not (each with the same message) is not useful. Attached patch defers the attempt to create /etc/mtab until after the mount has completed. https://lists.debian.org/debian-user/1997/06/msg02370.html Posts: 16,776 Rep: Quote: I am new to the world of FC9 and just started experimenting with it.... 1.

The time now is 01:26 AM. It should work. Showing results for  Search instead for  Do you mean  Menu Categories Solutions IT Transformation Internet of Things Topics Big Data Cloud Security Infrastructure Strategy and Technology Products Cloud Integrated Systems Networking That, and the usual compiz issue (i remember this with 11.0) - i'm downgrading compiz to what was shipped on the distro dvd at the moment, so i'll find out in

I didn't think that it was worth pursuing so I asked them to close the SR. http://osdir.com/ml/linux.kernel.autofs/2005-10/msg00042.html The mtab file could be locked for writing (access blocked by the umount of the USB drive), but the reboot should have fixed that. The option to use nfs4 in /etc/sysconfig/nfs is set to 'yes'. Its important.

Red Hat Bugzilla – Bug214877 mount's "can't create lock file" message sometimes means failure, sometimes not Last modified: 2008-02-18 04:19:07 EST Home | New | Search | [?] | Reports | navigate here None of this seems particularly difficult to implement. Every application which mucks with the lock file should be updated rather than relying on a symlink. Somewhat more testing would be required before raven> removing the locking from the distribution.

Previous Message by Thread: Re: Unable to mount with autofs-4.1.4: aquire_lock: can't lock lock file timed out: /var/lock/autofs ==> Regarding Re: [autofs] Unable to mount with autofs-4.1.4: aquire_lock: can't lock lock I like seeing the signal strenght bars when connected. (how do I get it back?) After changing to no splash at boot, my computer never loaded the desktop next time I Password Linux - Newbie This Linux forum is for members that are new to Linux. Check This Out But as you do not have NFS server it seems bit weird.

I'm teaching myself Unix on two Linux boxes (one Red Hat, one SuSE). If not, please post your full mount command.so longRalf 0 Kudos Reply Ralf Reinartz Frequent Advisor Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a In the latter >> case I have to think about a alternative way to go for the future.

When I boot, I saw /etc/mtab~2395, I think that's the root of my problem, but i can't seem to find /etc/mtab~2395 The error message when I try to create /etc/mtab using

OSDir.com linux.kernel.autofs Subject: Re: Unable to mount with autofs-4.1.4:aquire_lock: can't lock lock file timed out:/var/lock/autofs Date Index Thread: Prev Next Thread Index > ==> Regarding Re: [autofs] Unable to Now save it as /etc/mtab. What I need to do now? 2. Thank you.

To test the file, I copy the file to /home, changed the permission to 777, and rename it to mtab. what is installed on the no-longer supported fedora 9 John VV View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by John VV It means without any other partition :-( Maybe the mount (and the others utils) can stat(/var/lock) and only if this operation failed use old good /etc/mtab. this contact form Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results.

Because I did a distro upgrade by just renewing repos and upgrading packages (zypper dup). Thanks and sorry for delay. Note, update_mtab() can fail in exactly this way right now My proposal is that such a failure is fine, but create_mtab() should fail in the same way We have two sane The culprit is the position of the close, which releases any locks held by the process when called.

I remember > spending a few hours with that code, and it looked sane to me. I have seen mtab corruption in the field, but typically only in the presence of mvfs (the clearcase file system). -Jeff Next Message by Date: Re: Unable to mount with autofs-4.1.4: I have disabled beagle -as I don't use it and disable it to save some resources- but that does not seem related to your issues. .. Reason: problem solved Adv Reply October 13th, 2008 #2 philinux View Profile View Forum Posts Private Message Visit Homepage Sound of Inevitability Join Date Jul 2007 Location UK Beans 17,047

whether the locking will succeed. > Also, the mount uses the lock file for mtab updates too. Right? Posting in the Forums implies acceptance of the Terms and Conditions. Normally it works.

Good luck. I included it for completeness.