Solved

groupadd cant work

Posted on 2006-07-13
3
415 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Fine Tune your automatic Updates for Ubuntu / Debian
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.

734 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