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?
LVL 5
ranadastidarAsked:
Who is Participating?
 
pjedmondConnect With a Mentor Commented:
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
 
antoxaCommented:
Hi
You can try to move this lockfile to another directory.

WBR, antoxa.
0
 
AutogardCommented:
0
All Courses

From novice to tech pro — start learning today.