Solved

groupadd cant work

Posted on 2006-07-13
3
414 Views
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?
0
Comment
Question by:ranadastidar
3 Comments
 
LVL 1

Expert Comment

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

WBR, antoxa.
0
 
LVL 8

Expert Comment

by:Autogard
ID: 17099841
0
 
LVL 22

Accepted Solution

by:
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

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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

680 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