Solved

passwd segmentation fault

Posted on 2006-06-29
5
2,164 Views
Last Modified: 2008-01-09
When I run passwd on my FC3 server, I get the following error: Segmentation fault
This follows a recent new account creation and there's no indication of what could have brought this about.
I've seen this error as being described as mostly a Solaris issue, or more Solaris related occurrences are mentioned on the web. What I cannot seem to find is anyone having this as a pure passwd failure on FC3. I've tried upgrading passwd using yum, but this did not help.

Any idea what I should upgrade or fix to repair the passwd application?
0
Comment
Question by:andrejonker
  • 2
  • 2
5 Comments
 
LVL 22

Accepted Solution

by:
pjedmond earned 125 total points
ID: 17012130
Ideas:

1.    I'd be tempted to try manually removing the account that you've recently created. Just delete the bottom line of /etc/passwd. (Make a backup first first!)

2.    Any other commands get a segmentation fault? Particularly useradd usedel etc?

ldd /usr/bin/passwd

gives a list of the so associated with passwd. Any similarities?

3.    Permissions on /etc/passwd and /etc/shadow?

-rw-r--r--    1 root     root         2026 May 28 17:04 /etc/passwd
-r--------    1 root     root         1321 Jun  1 10:25 /etc/shadow

4.    Check /etc/passwd and /etc/shadow fo any obvious corruption.

5.    Disc healthcheck fsck in single mode - Boot to grub, edit(e) the linux line adding 'single' to the end of the line.

6.    Pray.

7.   Restore as much as possible of the file system from backups - You've got loads of thse ;)

8    If nothing obvious is seen from the above suggestions to work on, using the original install discs, you can do an 'upgrade' install.

(   (()
(`-' _\
 ''  ''

0
 
LVL 3

Expert Comment

by:DineshJolania
ID: 17015792
Could you please send the callstack.
0
 

Author Comment

by:andrejonker
ID: 17166668
Hi

I've been using Linux for many years, but have never been fortunate enough to join the rank of Server Admin so to speak. I guess my Linux skill, or lack thereof thus qualifies me as a mere user. Therefore my inexperience have led me to turn to the Experts Exchange service in frustration.

To be honest, I believe the problem is quite common as I've found many similar error reports using Google. Unfortunately, unlike my other ventures in programming, the Linux community have not been very impressive in the caliber of response I have found to the other reports elswhere on the net.

Paying Experts Exchange have resulted in the above responses, which I guess is good and I can assure you much better than some I've seen. (Some were actually just plainly rude and I feel for the poor souls that had to deal with these when they were in the same situation.)

Now with the above in mind, and the fact that there doesn't really seem to be anyone with the real answer (except perhaps the guys at SUN, who must've gotten their fair share of this issue _read original report_ I will now have to conclude that the only real answer is to make a copy of the data, because the OS is terminally impaired and a complete re-install and configuration build is in fact required.

If anyone wishes to challenge my view, please be my guest, as I'm not planning to spend time doing this just yet, so maybe, just maybe someone can actually tell me they've seen this before and know how to fix it. Because it has all the  probability of a simple version conflict somewhere which happens all the time and accross UNIX flavours.

Thanks to pjedmond and DineshJolania for your responses. I believe they are good, I was just looking for a different answer.
0
 

Author Comment

by:andrejonker
ID: 17166689
Just an amendment to the above. It was not my intention to report a negative view of Experts Exchange. Other responses I refer to were spotted elsewhere on unrelated sites. Hence my reference to Google. Please keep this in mind and read above in most positive fashion.
0
 
LVL 22

Expert Comment

by:pjedmond
ID: 17168662
As you've discovered, this type of error can occur as a result of numerous possible problems. You will note that I've asked Qs to try and focus a little more on the problem. Unfortually with some of the more complex problems, the 'fix' is complex, and asking most people to try and attempt it is unrealistic. Plus for the experts to understand exactly what you see and try is impossible as we do not have access to the system in question, therefore the best we can hope to provide is some guidance.

Ultimately, backups may be the only solution. That's the way with Windows as well as Linux and other operating systems.

(   (()
(`-' _\
 ''  ''

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now