groupadd cant work

Posted on 2006-07-13
Last Modified: 2012-06-27
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?
Question by:ranadastidar

Expert Comment

ID: 17098632
You can try to move this lockfile to another directory.

WBR, antoxa.

Expert Comment

ID: 17099841
LVL 22

Accepted Solution

pjedmond earned 250 total points
ID: 17102292
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

(   (()
(`-' _\
 ''  ''

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
to update from RHEL 6.0 to 6.8 anything needed other than "yum update"? 7 86
Virtual Box issue 6 83
Linux as a middle box 7 62
cannot connect to openvpn server 9 59
In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now