LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-24-2008, 12:07 AM   #1
rohit_67066
Member
 
Registered: Jan 2007
Posts: 55

Rep: Reputation: 15
useradd command problem


hai


iam using rhel 5 and i use lvm partion installation.

my problem is

when i type useradd raghu or useradd -d /home/raghu -m raghu command

it will take so much of time[like the cursor will blink for long time and then it will create ] to create new user.

can u help me to create faste useraccounts


i got a message in /var/spool/mail/root

--------------------- Kernel Begin ------------------------


WARNING: Kernel Errors Present
(reserved error code) -- (asc=0x ...: 3 Time(s)
Error: Medium error -- ...: 21 Time(s)
Unrecovered read error -- (asc=0x11, as ...: 18 Time(s)
Buffer I/O error on device hda, l ...: 34 Time(s)
Contact your BIOS vendor to see if the E752x error registers can be ...: 2 Time(s)
e752x_edac: probe of 0000:00:00.0 failed with error -12 ...: 2 Time(s)
end_request: I/O error, dev hda, sector ...: 21 Time(s)
hda: media error (bad sector): er ...: 21 Time(s)
hda: media error (bad sector): st ...: 21 Time(s)

---------------------- Kernel End -------------------------

Last edited by rohit_67066; 02-24-2008 at 12:17 AM.
 
Old 02-24-2008, 12:45 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You probably want to attend to the hard drive issue. It is probably time for a full backup. Either there is a problem with that driver or the drive may be going bad. Was that message just during boot up or do you see more of them latter on?
 
Old 02-25-2008, 10:21 AM   #3
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
fsck /dev/hda

Hi there,

Id' strongly suggest that you'd backup your system (if it's not already done) and then you should file system check your hda drive.

For this, you have to boot your machine in single user mode or go to it from your normal operating level.

Type init 1 after warning users :-).

Halt the grub menu by hitting the space bar when the countdown comes.

You can then choose 'e' when the menu displays; to edit the boot paramters, select the line that starts with kernel, for the kernel you want to boot. Go to the end of the line and type single as a seperate word (press the spacebar) and then type single. Press Enter to exit edit mode. Back at the GRUB screen, type b to boot into single user mode.

Once there, un-mount the partition that's causing you grief, then:

>fsck -y /dev/hda 'or you can specify the partition if you know it.

It might take a while depending on your drive space.

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
useradd command sophisticate Linux - Newbie 2 01-06-2008 11:49 AM
useradd command Wolvastur Linux - Newbie 9 01-25-2005 10:01 AM
useradd command johnpayback Linux - General 4 08-13-2002 05:24 PM
useradd command johnpayback Linux - Newbie 5 08-13-2002 10:22 AM
useradd command allancondino Linux - General 5 04-27-2002 12:01 PM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration