Fedora Linux Support Community & Resources Center
  #1  
Old 3rd May 2011, 05:12 PM
clivem Offline
Registered User
 
Join Date: Sep 2004
Posts: 1
linuxfedorafirefox
How to shutdown when systemd crashes?

How do you cleanly shutdown following a systemd crash?

Several times over the last few days systemd has failed. Didn't even know it had crashed until it was time to shutdown or reboot and the usual "shutdown -r/-h now" wouldn't work.

Code:
[clivem@c7p6t7ws ~]$ sudo shutdown -r now
Failed to open /dev/initctl: No such device or address
Failed to talk to init daemon.
"systemctl reboot" doesn't work either

Code:
[clivem@c7p6t7ws ~]$ sudo systemctl reboot
Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: Connection refused
  #2  
Old 4th May 2011, 01:35 AM
ryptyde Offline
Registered User
 
Join Date: May 2005
Location: Tragic City, Michigan USA
Posts: 1,647
linuxfirefox
Re: How to shutdown when systemd crashes?

Quote:
Originally Posted by clivem View Post
How do you cleanly shutdown following a systemd crash?

Several times over the last few days systemd has failed. Didn't even know it had crashed until it was time to shutdown or reboot and the usual "shutdown -r/-h now" wouldn't work.

Code:
[clivem@c7p6t7ws ~]$ sudo shutdown -r now
Failed to open /dev/initctl: No such device or address
Failed to talk to init daemon.
"systemctl reboot" doesn't work either

Code:
[clivem@c7p6t7ws ~]$ sudo systemctl reboot
Failed to get D-Bus connection: Failed to connect to socket /org/freedesktop/systemd1/private: Connection refused
I use su instead of sudo then:
Code:
shutdown -h now
phil
  #3  
Old 4th May 2011, 03:20 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,814
linuxfedorafirefox
Re: How to shutdown when systemd crashes?

even that depends on init (now systemd) for proper closeout, terminating services, and dismounting filesystems to prevent corruption (though that happens less now).

shutdown should just hang as well.
  #4  
Old 4th May 2011, 10:09 AM
pankajp Offline
Registered User
 
Join Date: Jul 2007
Location: Mumbai, India
Posts: 226
linuxfirefox
Re: How to shutdown when systemd crashes?

Though i'm not sure how to shutdown in case of systemd crash, you should update to version 26 of systemd from koji/updates-testing. That fixes the systemd crash due to use of systemadm. (I was suffereing from same problem, and had to hard-shutdown using power button)
__________________
Fedora 14 Laughlin user on Dell Inspiron 1525
http://www.smolts.org/client/show/pu...0-71f71be44f7d :)
  #5  
Old 4th May 2011, 10:36 AM
jpollard Offline
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,814
linuxfedorafirefox
Re: How to shutdown when systemd crashes?

Actually, I'm surprised the system didn't panic.

A panic has been the normal thing for the kernel to do when init fails.

I suspect it didn't fail, but hung, or stopped responding to requests. This used to be a simple thing - a signal. It is now a network level request that requires the service to spawn a daemon, and that introduces more complex demands for reliability.
 

Tags
crashes, shutdown, systemd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
systemd? ssidhar F14 Development 5 29th September 2010 07:11 PM
k3b crashes on shutdown igla Using Fedora 23 2nd January 2009 01:54 AM
F9 system crashes during reboot/shutdown dwhitney67 Using Fedora 0 19th June 2008 04:27 PM
Computer crashes on shutdown zichzach Using Fedora 0 18th June 2007 06:56 AM
FC3 Crashes during shutdown komi EOL (End Of Life) Versions 2 11th May 2005 05:49 PM


Current GMT-time: 22:00 (Thursday, 21-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat