LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-21-2009, 06:27 AM   #1
ajkannan83
Member
 
Registered: Aug 2005
Location: Tamil Nadu, India
Distribution: Redhat, Fedora
Posts: 116

Rep: Reputation: 15
Grep Segmentation Fault error in RH9


Dear Sir,

I am using Redhat 9.0. When i power on the machine the following error message is dispalyed
##########################################################################
Freeing unused kernel memory: 156k freed
INIT: version 2.84 booting
Setting default font (latarcyrheb-sun16): [ OK ] Welcome to /etc/rc.d/rc.sysinit: Line 70: 46 segmentation fault LC_ALL=C grep -q "Red Hat" /etc/redhat-release Red Hat Linux Press 'I' to enter interactive startup Mount proc filesystel: [FAILED]
/etc/rc.d/rc.sysinit: Line 90: 53 segmentation fault LC_ALL=C grep -q /initrd /proc/mounts Configuring kernel parameters: Error /proc must be mounted To mount /proc at boot you need an /etc/fstab link like:
/proc /proc proc defaults
In the meantime, mount /proc /proc -t proc [FAILED] Setting clock (locltime): Mon Jun 11 10:45:59 CDT 2007 [ OK ] Loading default keymap (us): [ OK ] Setting hostname guardian: [ OK ]
/etc/rc.d/sysinit: Line 182: 77 segmentation fault LC_ALL=C grep -iq "nousb" /proc/cmdline 2>/dev/null
/etc/rc.d/sysinit: Line 182: 78 segmentation fault LC_ALL=C grep -q "usb" /proc/devices 2>/dev/null
#########################################################################

I have check the RAM using memtest86. RAM is working fine.
So i reinstall grep package, But the grep package does not reinstalled properly.

Because the package needs some library files.

So how to fix this problem.
 
Old 11-21-2009, 08:11 AM   #2
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
Quote:
Originally Posted by ajkannan83 View Post
INIT: version 2.84 booting
Setting default font (latarcyrheb-sun16): [ OK ]
Welcome to /etc/rc.d/rc.sysinit: Line 70: 46 segmentation fault
LC_ALL=C grep -q "Red Hat" /etc/redhat-release Red Hat Linux Press 'I' to enter interactive startup Mount proc filesystel: [FAILED]
/etc/rc.d/rc.sysinit: Line 90: 53 segmentation fault LC_ALL=C grep -q /initrd /proc/mounts Configuring kernel parameters:
Error /proc must be mounted To mount /proc at boot you need an /etc/fstab link like:
/proc /proc proc defaults
In the meantime, mount /proc /proc -t proc [FAILED]
Please watch the linefeeds. I have added a few to show how that log should look

Examine line 70 of /etc/rc.d/rc.sysinit. THAT is segfaulting. If it's a variable, add the line
echo $<variable>
as line 70 and see what is causing the issue.

Proc is not mounting. If you can get to a root terminal try the line

mount -t proc proc /proc and post the error. Check the disk

e2fsck -fv /dev/blah
 
Old 11-21-2009, 03:21 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
*

Redhat 9 has not been supported for years.

Released year 2002, end of life 2004.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting httpd: /etc/init.d/httpd: line 40: 10243 Segmentation fault LANG=C grep RMLinux Linux - Newbie 10 12-01-2008 11:17 PM
segmentation fault error dianarani Linux - Hardware 16 02-28-2008 08:19 AM
Segmentation fault LC_ALL=C grep -q .initrd ssrini Red Hat 2 07-27-2005 09:56 AM
Segmentation Fault Error ashwinipahuja Programming 1 03-29-2004 03:09 PM
RH9/sendmail segmentation fault red30x Red Hat 1 10-15-2003 10:32 AM


All times are GMT -5. The time now is 11:28 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
Open Source Consulting | Domain Registration