Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th June 2006, 08:10 AM
mxc4 Offline
Registered User
 
Join Date: Jun 2006
Posts: 2
rpm, touch and other commands segmentation fault - How to fix?

Hi there,

I have a FC4 server on which several command result in semgentation faults. These include touch,cp,rpmb Cat /home/user/test > /home/user/test2 and other command that write to log files. work fine.

I think I needs to reinstall coreutils to get it this problem fixed. If there is another way please let me know. In any event I can't use rpm to re-install coreutils as it gives a segmentation fault and yum says coreutils is already installed so "yum install coreutils" doesn't work.

If I try to remove rpm with "yum remove" then it wants to remove yum as well and then I would not be able to install anything!

How can I repair the rpm install without breaking yum? I also thought of removing coreutils with yum and then re-installing but this will remove a ton of packages and I am not sure if yum will work after that.

it seems like the cirular dependency between yum and rpm is a major problem in this case.

Please help
Reply With Quote
  #2  
Old 11th June 2006, 08:21 AM
w5set Offline
Registered User
 
Join Date: Feb 2005
Location: ark n saw out in the sticks
Posts: 2,316
terminal time
rpm -qa coreutils
should give the version and complete name, etc..
rpm --replacepkgs coreutils.xx.xx.x
using the version installed in place of the "x's" and this should replace the currant coreutils with a "new" install of it.
Reply With Quote
  #3  
Old 11th June 2006, 11:21 AM
mxc4 Offline
Registered User
 
Join Date: Jun 2006
Posts: 2
thanks i will give it a try when i get to the machine again. I dont think it will work as rpm gives segmentation faults. Unless these switches somehow over come that
__________________
http://www.jumpingbean.co.za
http:/www.cyberdesigns.co.za
Reply With Quote
  #4  
Old 19th July 2006, 03:44 PM
brunis Offline
Registered User
 
Join Date: Jul 2005
Location: Denmark
Age: 37
Posts: 7
Unhappy

I have this same odd problem.. i can use rpm though.. but yum segfaults.. other utils like ping work if I use a known hostname.. if i ping localhost it works, but if i make up some random name, ping obelix, it just segfaults..

Are the coreutils responsible for this behaviour ? and why are they not properly tested before distributed ? i'll have to turn off yum nightly updates.. i can't risk this happening again.. linux is supposed to be reliable..

regards,
Dennis Jakobsen
Reply With Quote
  #5  
Old 19th July 2006, 08:36 PM
brunis Offline
Registered User
 
Join Date: Jul 2005
Location: Denmark
Age: 37
Posts: 7
w5set, I tried your suggestion and I get "rpm: only installation, upgrading, rmsource and rmspec may be forced"
Reply With Quote
  #6  
Old 20th July 2006, 11:40 AM
brunis Offline
Registered User
 
Join Date: Jul 2005
Location: Denmark
Age: 37
Posts: 7
Exclamation

I upgraded to FC5 and that fixed the problem.. so it must have been a package from a yum update .. confirmed by the fact that doing a yum update on my newly working FC5 broke it once more.. c'mon, i can't be the only one with this problem when it's software upgrade problem from a random mirror on BOTH FC4 and FC5 ?!?
Reply With Quote
  #7  
Old 23rd July 2006, 11:48 PM
brunis Offline
Registered User
 
Join Date: Jul 2005
Location: Denmark
Age: 37
Posts: 7
O.. M.. G.. .. i finally found it.. it was the latest samba 3.0.23.. i had wins configured in my nsswitch.conf and samba segfaults every time it does fallback to wins resolution..
Reply With Quote
Reply

Tags
commands, fault, fix, rpm, segmentation, touch

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Qps segmentation fault bowman Using Fedora 0 10th March 2008 05:51 PM
Segmentation Fault in C philstewart Programming & Packaging 40 21st February 2008 11:24 PM
F7 - Yum: Segmentation Fault jsabarese Using Fedora 1 29th November 2007 02:43 PM
WEP Causes segmentation fault crossmr Servers & Networking 2 17th January 2006 04:20 PM
Help !!! Segmentation fault mola Using Fedora 0 22nd June 2005 04:43 PM


Current GMT-time: 19:18 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat