Re: FC6 crashed/ rc.sysinit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29Dec2006 21:06, jim tate <mickeyboa@xxxxxxxxxxxxx> wrote:
| 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.
| 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

1: Comment out this piece of code. That will let you box boot.
2: Check /var/lock/* and /var/run/* - maybe one of these has many many
   files and the shell is failing the glob expansion (badly)?
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

By God, Mr. Chairman, at this moment I stand astonished at my own moderation!
        - Baron Robert Clive of Plassey

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux