Boot failed after yum update
Boot failed after yum update
Hi. I restarted my Centos 7.7 machine after a partial yum update (there was a blackout during it) and now the machine can't boot anymore.
It reports some errors:
1. Failed to start Virtual Machine and Container Registration Service
2. Failed to start Login Service
3. Failed to start Disk Manager
4. Failed to start Authorization Manager
5. Failed to start RealtimeKit Scheduling Policy Service
6. Failed to start Account Service
7. Failed to start Modem Manager
Kernel version: 3.10.0-1062.4.3.e17.x86_64
Can you please help me?
Thanks.
It reports some errors:
1. Failed to start Virtual Machine and Container Registration Service
2. Failed to start Login Service
3. Failed to start Disk Manager
4. Failed to start Authorization Manager
5. Failed to start RealtimeKit Scheduling Policy Service
6. Failed to start Account Service
7. Failed to start Modem Manager
Kernel version: 3.10.0-1062.4.3.e17.x86_64
Can you please help me?
Thanks.
Re: Boot failed after yum update
Back up your important data.
You can try following the instructions on https://wiki.centos.org/HowTos/Cleaning ... tePackages to clean up and recover but a) don't forget the backups and b) it might not work and c) don't forget the backups!
You can try following the instructions on https://wiki.centos.org/HowTos/Cleaning ... tePackages to clean up and recover but a) don't forget the backups and b) it might not work and c) don't forget the backups!
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: Boot failed after yum update
Thanks for you support!
Centos didn't find any duplicated packages and I made a complete yum update but I can't still boot
Centos didn't find any duplicated packages and I made a complete yum update but I can't still boot
Re: Boot failed after yum update
Now Centos reports:
SELinux targeted policy relabel is required
and then it restarts automatically.
SELinux targeted policy relabel is required
and then it restarts automatically.
Re: Boot failed after yum update
If I add selinux=0 to the kernel boot line it boots properly.
How I can fix this issue?
Thanks.
How I can fix this issue?
Thanks.
Re: Boot failed after yum update
Boot in permissive mode, edit the config file and change that to permissive, touch /.autorelabel and then reboot again. That will relabel all files on your system and will take a while. Once it's complete you should be able to switch the config file back to enforcing and reboot again.
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: Boot failed after yum update
My Selinux config is already in permissive mode but I can't boot without selinux=0 flag.
It's very strange.
It's very strange.
Re: Boot failed after yum update
sudo yum reinstall selinux-policy-targeted
Finally fixed the problem.
Thanks a lot for your support
Finally fixed the problem.
Thanks a lot for your support