OpenVZ Forum


Home » General » Support » unable to lock password file (unable to create users inside a container)
unable to lock password file [message #39884] Tue, 15 June 2010 07:42 Go to next message
marcgenou is currently offline  marcgenou
Messages: 2
Registered: June 2010
Junior Member
I am using a openvz kernel for Debian Squeeze 2.6.32-5-openvz-amd64
I have some troubles when I try to set users with vzctl or inside the container (all, even new containers):

vzctl set 555 --userpasswd xxx:whatever
Starting container ...
Container is mounted
Container start in progress...
useradd: unable to lock password file
Password change failed
Stopping container ...
Container was stopped
Container is unmounted

and inside the container:
deb5:/# adduser web
Adding user `web' ...
Adding new group `web' (1000) ...
groupadd: unable to lock group file
adduser: `/usr/sbin/groupadd -g 1000 web' returned error code 10. Exiting.


I removed all .pwd.lock from /etc but it is recreated every try.
Re: unable to lock password file [message #39889 is a reply to message #39884] Tue, 15 June 2010 15:34 Go to previous message
marcgenou is currently offline  marcgenou
Messages: 2
Registered: June 2010
Junior Member
Seems it might formatted gfs2 partition
I've tested over a ext3 and no problem.
Previous Topic: Setting network interface order
Next Topic: OpenVZ Memory: large slab cache and buffers usage
Goto Forum:
  


Current Time: Sun Jul 20 02:19:21 GMT 2025

Total time taken to generate the page: 0.14019 seconds