Home > Cannot Lock > Cannot Lock /etc/mnttab Still Trying

Cannot Lock /etc/mnttab Still Trying

Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Saturday, July 07, 2007 Cannot Lock /etc/mnttab Here is a strange issue. Antonym for Nourish Expanding FULLY a macro as argument more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us I was running the usermod command from the root session under recover mode, so privileges should not have been the issue. http://dekovsoft.com/cannot-lock/cannot-lock-etc-mnttab.html

I changed one method signature and broke 25,000 other classes. Of course if you want you can also run sam or smh depending on what version of HP-UX you are running and manipulate the lvm from there but the same rules How do pilots identify the taxi path to the runway? The root cause of the issue had to do with the fact that when I booted into Recovery Mode, by default the filesystem was mounted as read-only.

If you know vg and lv minor number create a new directory there you create vg group file, lv raw and block device files and try to unmount using new lv The only similar file that exists in the /etc directory is a zero byte file .pwd.lock. I got a different error message, something like unable to rename file read-only.

It seems odd to me as a new user that booting into Recovery Mode would be read-only by default. That cut it from 324 to 160. 0 Kudos Reply Patrick Wallek Honored Contributor [Founder] Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend It suggested remounting as read-write to allow changes to be made to files in the /etc folder. I suspect the error you are receiving is coming from something else...

mount: cannot lock /etc/fstab; still trying ... I thought the error was something to due with a program testing some type of lock. I must have neglected to include the proper switches or syntax for the update. Why are angular frequencies used when studying crystal vibrations, over normal frequencies?

Mudda Rufus replied Mar 10, 2013 Try force umount filesystem Regards Rufus Mudda Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Running /opt/VRTSob/bin/vxsvcctrl restart will restart the vxsvc process. It's not a good practice.

When I go into System Settings > User Accounts it looks like my ID is now listed as a "Standard" user. http://superuser.com/questions/296373/cannot-lock-etc-passwd-try-again-later When I execute the command from the root session, I get the error message "usermod: cannot lock /etc/passwd; try again later". I'm using df instead of strace though. I went further to try to replicate my original issue to see if rebooting back to Recovery Mode and skipping Step #4 above (to remount the filesystem as read-write) would reproduce

Steve Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... http://dekovsoft.com/cannot-lock/cannot-lock-container.html The only file I found was .pwd.lock which I haven't touched. The way I usually call strace is strace -f -e trace=file command since this usually gives the most useful results. –Robin Green Apr 14 '14 at 11:03 add a comment| up I was trying to execute the command "usermod -a -G admin user1" to add my id (user1) back to the admin group.

Related Evolution of End User Computing--Evolving to Better Meet ... Still the issue is not resolved. TI Msg Id PRAO Golf View Homes, E-Mail [email protected] Wind Tunnel Road, Internal Extn. 305 Murgeshpalya, URL : http://www.india.ti.com/~prao Bangalore - 560 017 Tel : 91-80-5269451-4 Fax : 91-80-5269456 *************************************************************************= ****** http://dekovsoft.com/cannot-lock/groupadd-existing-lock-file-etc-group-lock-without-a-pid.html But strace will tell you what the error code was when it tried to lock the file, so it should remove the guesswork.

Is there any known limit for how many dice RPG players are comfortable adding up? The bad disk did not eject itself cleanly and hung up the other 2 disks. How can I get my user back in the admin group?

Skip to ContentSkip to FooterSolutions Transform to a Hybrid Infrastructure Protect Your Digital Enterprise Empower the Data-Driven Organization Enable Workplace Productivity Cloud Security Big Data Mobility Infrastructure Internet of Things Small

Jalal Hajigholamali replied Mar 8, 2013 HI, Did you try "umount /dev/testvg/testlv" ? It should be empty if none of the files are being modified. In my attempt to try to add myself to the user groups for the other users, I somehow deleted myself from the admin groups. Finally the issue got resolved.

Make sure noone is using the fs and where possible do fuser -ku /dev/"logical device name" of the disk where the fs is mounted, this will clean out any rogue processes Isn't that the idea of recovery, that you would need to make some changes to correct update files, correct issues that would otherwise not be possible as a normal user? What crime would be illegal to uncover in medieval Europe? http://dekovsoft.com/cannot-lock/cannot-lock-volume-because-it-contains-the-os.html As a last option, assuming this entry exists, you can comment it out in /etc/fstab and reboot the system assuming you can.

Update with mount -u. com Date: 1997-02-04 11:09:46 [Download message RAW] Hi List, I have a HP 9000/710 m/c running HPUX 9.01. Any fixes/ suggestions ? There isn't enough room here to post the fstab file, but here is (I think) the relevant line: UUID=0c5c5838-0cba-405e-a3ba-ca2555b90469 / ext4 errors=remount-ro,user_xattr 0 1 –oadams Dec 1 '11 at 22:58

The root cause of the issue had to do with how the filesystem was mounted in Recovery Mode.