Solved

groupadd cant work

Posted on 2006-07-13
3
412 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux Filesystems reporting faster growth than actual file growth... 7 60
Ubuntu not booting - How get past GRUB? 3 43
Can't ping New Linux Servers 40 66
linux SFTP 8 44
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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.

809 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