LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-11-2021, 07:52 AM   #1
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Rep: Reputation: Disabled
accounts-daemon.service fails during bootup


Hello;

OS - Centos 7

During boot, I am getting a black page. When I use Ctl-Alt F2 and log in as root and run systemctl, I see an error on accounts-daemon.service

What could be the reason? I updated all the packages disabled the accounts service, no changes.
 
Old 03-11-2021, 08:02 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by hnasr2001 View Post
When I use Ctl-Alt F2 and log in as root and run systemctl, I see an error on accounts-daemon.service

What could be the reason? I updated all the packages disabled the accounts service, no changes.
It will be helpful if you can tell us what exact "systemctl" command you ran?
And, what is the exact error or "accounts-daemon.service"
 
Old 03-11-2021, 08:05 AM   #3
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
I ran "systemctl" with no argument.

The error message accouts.daemon.service "failed"

I looked at the /var/boot.log, the same error with no extra explanation on this error.

Last edited by hnasr2001; 03-11-2021 at 08:09 AM.
 
Old 03-11-2021, 08:17 AM   #4
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
If you run "dmesg" does it report anything unusual?

As for "black screen"...
What is output of:
Code:
systemctl get-default
If you run following, do you get desktop environment:
Code:
systemctl isolate graphical.target
Is this a VM or a physical machine?
 
Old 03-11-2021, 08:27 AM   #5
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
I ran "systemctl get-default" and the output was "graphical.target".
I ran systemctl isolate graphical.target and the output was "dracut:dracut: creation of /boot/initramfs-3.10.0-1160.15.2.e17.x86kdump.img failed"

ran dracut -fv --regenerate-all. Ran again isolate graphical.target, no output error this time.
ran systemctl status graphical.targer, came with "Active" status.

Last edited by hnasr2001; 03-11-2021 at 09:20 AM.
 
Old 03-11-2021, 09:18 AM   #6
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Well, 1st thing to check is does the machine have enough disk space?
Does it tell you why it failed? For example, operation not permitted or something else?

And in your original post you said:
Quote:
Originally Posted by hnasr2001 View Post
During boot, I am getting a black page.
.....
I updated all the packages disabled the accounts service, no changes.
What was changed prior to boot? Installed updates?
 
Old 03-11-2021, 03:45 PM   #7
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
No change before this happened although I don't remember how did I turn the system off.

When I change it to runlevel3, it works without error so I can back it up and reinstall OS again.

Last edited by hnasr2001; 03-11-2021 at 03:47 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Service hangs during bootup UltraPain Linux - Server 1 02-15-2014 03:49 PM
Enable daemon to run with service daemon start,etc baddah Programming 6 12-02-2007 05:51 PM
Service during bootup will not start Micro420 SUSE / openSUSE 11 08-05-2007 12:43 AM
gnome fails to load on login after bootup - unless bootup first in win xp doubletruncation Fedora 6 12-07-2005 08:32 AM
Problem starting java service during bootup TomCruise2002 Linux - Newbie 0 01-29-2003 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:12 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