LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
LinkBack Search this Thread
Old 12-30-2006, 10:26 AM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,321

Rep: Reputation: 55
FC6, Crash in sysinit At bootup


On bootup FC6 crashes and locks up box.
Error message: /etc/rc.d/rc.sysinit: Line 821 1499 Seg. Fault rm -f $afile/*

Below is the section in rc.sysinit, and line 821 is indicated below, is where crash happens.

I have compared this section of sysinit with another FC6 box and there is no
typo errors all wording and syntacts are the same on both boxes .
I guess the problems are in /var/lock/* or /var/run/*, but I have no Ideal as to What I'm looking for in /var/*
What can I do to fix problem?


# Clean up /var. I'd use find, but /usr may not be mounted.
for afile in /var/lock/* /var/run/* ; do
if [ -d "$afile" ]; then

Line 821 case "$afile" in
*/news|*/mon) ;;
*/sudo) rm -f $afile/*/* ;;
*/vmware) rm -rf $afile/*/* ;;
*/samba) rm -rf $afile/*/* ;;
*/screen) rm -rf $afile/* ;;
*/cvs) rm -rf $afile/* ;;
*/dovecot) rm -f $afile/*/* ;;
*/cups) rm -f $afile/*/* ;;
*) rm -f $afile/* ;;
esac
else
rm -f $afile
fi
done
rm -f /var/lib/rpm/__db* &> /dev/null
rm -f /var/gdm/.gdmfifo &> /dev/null
 
  


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
Another kernel crash on FC6... for me hans21 Linux - Kernel 2 12-26-2006 09:50 PM
kernel 2.6.18-1.2849.fc6 crash hans21 Linux - Kernel 3 12-12-2006 05:44 PM
Ubuntu hotplug crash on bootup greengrocer Linux - Newbie 2 06-26-2006 05:59 PM
crash on bootup: ACPI trscookie Linux - Software 3 08-01-2005 10:41 AM
radeon 9600xt gnome bootup crash on fedora core 1 PawnsharK Linux - Hardware 0 03-08-2004 01:08 PM


All times are GMT -5. The time now is 05:37 PM.

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