Re: FC2 groupadd error: unable to lock group file

From: Kevin Wang (rightsock_at_gmail.com)
Date: 08/17/04

  • Next message: Kevin Wang: "Re: scsi problem"
    Date: Mon, 16 Aug 2004 16:25:45 -0700
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    it was likely that some process that you had started but backgrounded
    kept the file open. rebooting naturally killed the program.

       - Kevin

    On Sun, 15 Aug 2004 17:35:58 -0400, Kurt Hansen <khansen@charityweb.net> wrote:
    > Hi,
    >
    > Problem solved. Just want to include it here in case anyone else runs
    > into this and searches for an answer
    >
    > After re-booting the next day, it worked. I'm not sure why. I suspect
    > the lock happened because I first got an error when running groupadd. I
    > suspect it exited abnormally and thus did not release it's lock.
    >
    > Take care,
    >
    > Kurt Hansen
    >
    >
    >
    > Kurt Hansen wrote:
    > > Hello,
    > >
    > > I'm trying to add a group using the groupadd command, e.g.
    > >
    > > # /usr/sbin/groupadd -r newgroup
    > >
    > > but get the error:
    > >
    > > groupadd: unable to lock group file
    > >
    > > I was able to do it on FC1 and earlier Red Hat editions. What am I doing
    > > wrong? I've tried it both as logging in as root and su'ing to root.
    > >
    > > The "Add user & group" GUI utility works, but I need the command line
    > > because I will be setting up systems remotely that are behind a firewall
    > > that only allows SSH through.
    > >
    > > Thanks!
    > >
    > > Kurt Hansen
    > > khansen@charityweb.net
    > >
    > >
    >
    > --
    > fedora-list mailing list
    > fedora-list@redhat.com
    > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    >

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Kevin Wang: "Re: scsi problem"

    Relevant Pages

    • Re: FC2 groupadd error: unable to lock group file
      ... i've had this when running commands and not logged in as root (or ... > the lock happened because I first got an error when running groupadd. ... > I suspect it exited abnormally and thus did not release it's lock. ... I've tried it both as logging in as root and su'ing to ...
      (Fedora)
    • Re: [SLE] Renaming on USB cards/Floppies
      ... >something about actually writing too and removing files from a floppy ... >or usb storage device. ... Opened a session of konqueror as root and was able to copy a file ... write to a directory owned by root e.g., I suspect you may have already ...
      (SuSE)
    • devices disappear after bsdlabel -B
      ... After installing and rebooting ... the serial console settings reverted to 9600 for the kernel. ... Trying to mount root from ufs:/dev/ad6s1a ... access to the swap partition which used to be on ad6s1b. ...
      (freebsd-current)
    • Re: [SLE] Kernel panic
      ... after rebooting I get the following error & the system can't ... The root partition is on its own system drive and is not on the RAID. ... into your mounted root filesystem and run mkinitrd, ...
      (SuSE)
    • Re: 9.2DVD install for AMD64 fails...
      ... I tried rebooting and after seeing all the bootup ... reason it picked a scan rate that the monitor won't work with. ... log in as root and edit the x86conf ... file and adjust the scan rates manually (or try Sax2 from the command line ...
      (alt.os.linux.suse)