• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 420
  • Last Modified:

groupadd cant work

dear expert

when i using groupadd command its showing following error , i cant add a group

vigr lockfile  (/etc/gtmp) present

what should i do?
0
ranadastidar
Asked:
ranadastidar
1 Solution
 
antoxaCommented:
Hi
You can try to move this lockfile to another directory.

WBR, antoxa.
0
 
AutogardCommented:
0
 
pjedmondCommented:
This file should only exist for a 'fleeting' moment!

ls -al /etc/gtmp

If the file is more than 10 minutes then something has gone wrong with the lock file, and you can safely delete it:

rm /etc/tmp

Then retry your groupadd

(   (()
(`-' _\
 ''  ''
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now