Error i get when i try to add a user to a server from the web: Failed to lock file /etc/group after 5 minutes. Last error was :
Status:
Active
Error i get when i try to add a user to a server from the web: Failed to lock file /etc/group after 5 minutes. Last error was :
Comments
Submitted by andreychek on Wed, 04/13/2016 - 09:21 Comment #1
Howdy -- it sounds like there are some lock files present on your filesystem.
First, I would make sure that you don't have a user who is using Virtualmin at the moment in a way that could be holding open those files.
If not, what I would suggest is first, restart Webmin.
Then, run this command:
find /etc -name "*.lock"
What is the output of the above "find" command?
[root@g hostlawn]# find /etc -name "*.lock" /etc/.pwd.lock /etc/group.lock /etc/shadow.lock /etc/gshadow.lock /etc/dovecot/dovecot.conf.lock /etc/webmin/virtual-server/names/hostlawn.com.lock /etc/webmin/virtual-server/names/giftinaw.com.lock /etc/webmin/virtual-server/names/g.hostlawn.com.lock /etc/webmin/virtual-server/everyone/145937631832072.lock
Submitted by JamieCameron on Wed, 04/13/2016 - 23:42 Comment #3
Deleting this lock files (or killing the process whose PID is in one of them) should fix this.