LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-07-2005, 04:53 AM   #1
joelsolanki
LQ Newbie
 
Registered: Sep 2002
Posts: 2

Rep: Reputation: 0
Angry useradd segmentation fault


Dear all,

My server is having redhat 9. Server was working gr8 but yesterday when i tried to add user it gives me segmenation fault.
Here is the output:-

[root@mail root]# useradd testing123
Segmentation fault
[root@mail root]#

I thought my shadow-utils are broken. I tried to install shadow-utils forcibly. It installed but it didnt solved my problem.

Does anybody have idea regarding this ?
Waiting for any reply.

Thanks,
Joel Solanki
 
Old 09-07-2005, 10:03 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Might be a libc issue. You could try reinstalling it. Also, RH9 is a bit dated these days.
 
Old 09-07-2005, 10:53 PM   #3
joelsolanki
LQ Newbie
 
Registered: Sep 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Yes redhat 9 is old now
redhat 9 has glibc as below by default.

glibc-profile-2.3.2-11.9
glibc-common-2.3.2-11.9
glibc-devel-2.3.2-11.9
glibc-utils-2.3.2-11.9
glibc-2.3.2-11.9
glibc-debug-2.3.2-11.9

I thought it would be glibc issue. so i upgraded glibc. below are the updated rpms.

glibc-utils-2.3.2-27.9.7
glibc-common-2.3.2-27.9.7
glibc-profile-2.3.3-27.9.7
glibc-debug-2.3.2-27.9.7
glibc-devel-2.3.2-27.9.7
glibc-2.3.2-27.9.7

so i upgraded the rpms with rpm -Uvh it didnt had any side effect. but still useradd didnt work.
so i started to search for problem. i did the following.

ulimit -c 99999999
useradd testing123
gaved me segmentation fault. but i got the core file.

did this
[root@mail root]# file core.4673
core.4673: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style, from 'useradd'

any ideas.
or what can be the solution for make the server working?
this is my mail server. all mail boxes are in /home and its a different partition.
reinstall or upgrade should work ?
any ideas
thanks
 
Old 09-07-2005, 10:58 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Well, in theory, you could use gdb to debug it... if there are debugging symbols.

Or you could try running strace on useradd to see where it crashes.
 
  


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
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika SUSE / openSUSE 2 12-02-2005 09:34 AM
segmentation fault vibhory2j Programming 7 10-16-2005 07:06 AM
Segmentation fault velda.ebel Linux - Security 1 08-08-2005 07:23 PM
useradd - segmentation fault neorex Linux - Software 1 08-01-2003 04:36 AM
Segmentation fault ifconfig Linux - Software 2 05-19-2003 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration