LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-18-2020, 02:02 AM   #1
rameezdurrani
LQ Newbie
 
Registered: May 2020
Posts: 9

Rep: Reputation: Disabled
Please Help


Hi All,
After disabling Selinux, I cant boot my centos normally.
Here is the message:
" Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
try again to boot into default mode.
Give root password for maintenance
(or press Control-D to continue): ".

How to fix this?
Please help.
 
Old 06-18-2020, 02:44 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,685

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
it is written: After logging in, type "journalctl -xb" to view system logs.
 
Old 06-18-2020, 03:01 AM   #3
rameezdurrani
LQ Newbie
 
Registered: May 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear Pan64,

yeah i tried command journalctl -xb and then i m getting many logs. kindly tell me the solution as i want to boot normally please.
 
Old 06-18-2020, 03:23 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,685

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
what do you think how can we help you? Please post the log you got and/or give more information.
http://www.catb.org/~esr/faqs/smart-...html#beprecise

Did you try to re-enable SElinux?
 
Old 06-18-2020, 03:35 AM   #5
rameezdurrani
LQ Newbie
 
Registered: May 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear PAN64,

Yes i already enable the status from "sudo nano /etc/selinux/config" it is showing enable when i type command "sestatus".
 
Old 06-18-2020, 03:37 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,685

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
and?
 
Old 06-18-2020, 03:48 AM   #7
rameezdurrani
LQ Newbie
 
Registered: May 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear PAN64,

and then i rebooted my machine and again i stuck on emergency mode.
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	17
Size:	161.4 KB
ID:	33441   Click image for larger version

Name:	2.jpg
Views:	16
Size:	140.4 KB
ID:	33442   Click image for larger version

Name:	3.jpg
Views:	12
Size:	156.1 KB
ID:	33443   Click image for larger version

Name:	4.jpg
Views:	10
Size:	136.4 KB
ID:	33444   Click image for larger version

Name:	5.jpg
Views:	10
Size:	136.3 KB
ID:	33445  

 
Old 06-18-2020, 03:50 AM   #8
rameezdurrani
LQ Newbie
 
Registered: May 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear PAN64,

these are the screenshots when i get output from journalctl -xb.
Attached Thumbnails
Click image for larger version

Name:	6.jpg
Views:	17
Size:	136.3 KB
ID:	33446   Click image for larger version

Name:	7.jpg
Views:	12
Size:	155.1 KB
ID:	33447   Click image for larger version

Name:	8.jpg
Views:	16
Size:	171.8 KB
ID:	33448   Click image for larger version

Name:	9.jpg
Views:	13
Size:	171.9 KB
ID:	33449   Click image for larger version

Name:	10.jpg
Views:	12
Size:	171.7 KB
ID:	33450  

 
Old 06-18-2020, 04:47 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,685

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
I think this should be something else, not related to selinux. What you posted is not enough to diagnose it.
http://www.catb.org/~esr/faqs/smart-...html#beprecise
Please post at least the OS, version, the hardware and what was modified/installed, what else happened?
 
Old 06-18-2020, 08:24 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by rameezdurrani View Post
Dear Pan64,
yeah i tried command journalctl -xb and then i m getting many logs. kindly tell me the solution as i want to boot normally please.
Without telling us anything about your system, there's nothing we can even BEGIN to guess at. And what you posted in your first post is NOT the entire message...how about posting that?

We need version/distro of Linux, type of hardware and machine, and COMPLETE messages. If I had to take a wild guess, the beginning of that message said something about fsck, right???
 
Old 06-20-2020, 05:33 AM   #11
FlinchX
Member
 
Registered: Nov 2017
Distribution: Slackware Linux
Posts: 666

Rep: Reputation: Disabled
> After disabling Selinux

why did you do it in the first place?
 
Old 06-20-2020, 06:46 AM   #12
rameezdurrani
LQ Newbie
 
Registered: May 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear Tbone,

i m attaching some screen shots in which every thing is mentioned. i created a Vm.
Attached Thumbnails
Click image for larger version

Name:	Error.jpg
Views:	8
Size:	36.3 KB
ID:	33464   Click image for larger version

Name:	Linux Verion.jpg
Views:	10
Size:	48.3 KB
ID:	33465   Click image for larger version

Name:	Machine Type.jpg
Views:	14
Size:	89.0 KB
ID:	33466  
 
Old 06-20-2020, 06:47 AM   #13
rameezdurrani
LQ Newbie
 
Registered: May 2020
Posts: 9

Original Poster
Rep: Reputation: Disabled
Dear FlinchX,

It was my mistake.
 
Old 06-20-2020, 08:48 AM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by rameezdurrani View Post
Dear Tbone,
i m attaching some screen shots in which every thing is mentioned. i created a Vm.
No, that's NOT everything; a good deal comes before that, and again you were asked does it mention fsck???

If you just created this VM, then why bother fixing it? Delete it and start over. As pan64 said, selinux most probably has nothing to do with this.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help setting up my vms, hypervisor is KVM. I'm new to netowrking please help. Please Help. I need all the smart guys here!!! fromwin2lin Linux - Server 1 09-07-2016 04:31 AM
Please Please Please Help!!!!!!!!! austinramsay Linux - Wireless Networking 6 07-07-2007 06:10 AM
Please, Please,Please help with HD Cloning... knichel Linux - Software 7 09-16-2006 10:19 PM
please please please help :'( ach1lles SUSE / openSUSE 2 02-28-2005 05:03 AM
Samba Help Please!!!! Please !!!! Please!!! Snake007uk Linux - Networking 18 07-10-2002 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:37 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration