Find the answer to your Linux question:
Results 1 to 2 of 2
Hi there, The other day I turned on my machine and it refused to boot. Eventually is asked me to manually run fsck. I did this and to an extent ...
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    1

    Drive error has broken init.d

    Hi there,

    The other day I turned on my machine and it refused to boot. Eventually is asked me to manually run fsck. I did this and to an extent blindly hit YES when prompted. I was kinda desperate to retreive data from the drive as my last backup was three days previous.

    Any way this worked and the machine booted. However there was some damage most of which is in the init.d folder:

    1/. apache2 doesn't start up automatically (apache2 -k start gets it going)
    2/. ssh doesn't start
    3/. gnome and xserver don't start (I have to login at the prompt and type startx)

    I've tried reinstalling the relevant packages - this doesn't help. How can I get my machine back into its original state?

    Finally, had I been using a RAID 0+1 or RAID 5 would I have been saved from this problem? I understand that had on of the drives completely failed in the array I could just swap it out. However if the drive suffers a minor issue such as some bad blocks etc would the RAID array saved me from these problems?

    Thank you in advance...

    Rob

  2. #2
    Linux Newbie objuan's Avatar
    Join Date
    Jul 2006
    Location
    california
    Posts
    218
    Hello
    The raid5 would save you from your dissaster. But you would have to know what dive needed to be replaced. as far as your /etc/init.d remove the programs completely from the system with apt-get remove purge program-name
    the apt-get install program-name with gnome your going to dump a lot of programs. I would just backup my data and reinstall debian.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •