Centos 6 unable to proceed boot
Centos 6 unable to proceed boot
Hello!
I need some help
I did yum update with the system and tried installing some dependencies of oracle instant client in order to get my php project working.
but i stuck in installation of php-devel wherein i need the phpize command.
then i found out while trying to search how to install phpize, my ssh to server returns access denied. no one can ssh to server anymore.
i tried reboot now command and the system stucked at system is going down for an hour and so what i did is pressed the restart button of the server
and now system dont boot. i get error says
"init : Failed to spawn readahead-collector main process: unable to execute: No such file or directory
init : Failed to spawn rcS pre-start process: unable to execute: No such file or directory
init : Failed to spawn readahead main process: unable to execute: No such file or directory
init : Failed to spawn readahead-collector post-stop process: unable to execute: No such file or directory
init : Failed to spawn rcS post-stop process: unable to execute: No such file or directory
init : Failed to spawn readahead-disable-services main process: unable to execute: No such file or directory"
I am really need of help please. I tried rescue mode but i dont know what to do inside the rescue mode.
I need some help
I did yum update with the system and tried installing some dependencies of oracle instant client in order to get my php project working.
but i stuck in installation of php-devel wherein i need the phpize command.
then i found out while trying to search how to install phpize, my ssh to server returns access denied. no one can ssh to server anymore.
i tried reboot now command and the system stucked at system is going down for an hour and so what i did is pressed the restart button of the server
and now system dont boot. i get error says
"init : Failed to spawn readahead-collector main process: unable to execute: No such file or directory
init : Failed to spawn rcS pre-start process: unable to execute: No such file or directory
init : Failed to spawn readahead main process: unable to execute: No such file or directory
init : Failed to spawn readahead-collector post-stop process: unable to execute: No such file or directory
init : Failed to spawn rcS post-stop process: unable to execute: No such file or directory
init : Failed to spawn readahead-disable-services main process: unable to execute: No such file or directory"
I am really need of help please. I tried rescue mode but i dont know what to do inside the rescue mode.
- Attachments
-
- 66457921_331809844401220_8457790890822336512_n.jpg (81.75 KiB) Viewed 5525 times
Re: Centos 6 unable to proceed boot
I would start by running fsck against all your filesystems. Or if they are xfs, xfs_repair. You'll need to do that from a rescue boot and you must make sure they are all unmounted before you run it. I suspect it would be useful to see what happened before the messages you already showed.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Centos 6 unable to proceed boot
Hello, thanks for your reply. im not good in linux. how can i make sure its all unmounted? im current in rescue mode and dont know what to do inside the shell
Re: Centos 6 unable to proceed boot
I tried umount -aTrevorH wrote: ↑2019/07/03 09:22:03I would start by running fsck against all your filesystems. Or if they are xfs, xfs_repair. You'll need to do that from a rescue boot and you must make sure they are all unmounted before you run it. I suspect it would be useful to see what happened before the messages you already showed.
then i got /mnt/sysimage/dev is busy
Re: Centos 6 unable to proceed boot
If /mnt/sysimage is mounted then you told the rescue system to do so. It gives you a choice of what to do just before it drops you to a shell and one of t the choices is to mount your existing system on /mnt/sysimage. You don't want to do that. There is another option that just opens a root command prompt and does not mount the filesystems, use that.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Centos 6 unable to proceed boot
Yes, i tried not mounting automatically but i got error when i tried fsck.TrevorH wrote: ↑2019/07/03 09:40:39If /mnt/sysimage is mounted then you told the rescue system to do so. It gives you a choice of what to do just before it drops you to a shell and one of t the choices is to mount your existing system on /mnt/sysimage. You don't want to do that. There is another option that just opens a root command prompt and does not mount the filesystems, use that.
message says cannot find /etc/fstab
Re: Centos 6 unable to proceed boot
You have to know the device names that contain your filesystems to provide that as a parameter to fsck when you start it - e.g. fsck /dev/sda1 (do not blindly cut and paste, check what device names your system is set up to use first).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Centos 6 unable to proceed boot
i did fdisk -l
and see /dev/sda1 is my device boot
tried fsck /dev/sda1
i got WARNING: couldnt open /etc/fstab: No such file or directory
/dev/sda1: clean, 39/128000 files, 14352/128000 blocks
Re: Centos 6 unable to proceed boot
Yes, most likely /dev/sda1 will be your /boot partition. Now you need to do the same to the other filesystems that you have on there. They may be on partitions or they may be on LVM Logical Volumes. You may need to run vgchange -ay and then lvs to get a list of the available LVs and run fsck against those using /dev/mapper/$volumegroup-$lvname (name substitution required).
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Centos 6 unable to proceed boot
Hello Mr Trevor, I am currently not with the server. Will send a reply once I get back again to the system