Unable to Shut Down etc. After Upgrade

Share your ideas, questions or suggestions with us here.
Post Reply
plumtreed
Posts: 68
Joined: Sat Nov 03, 2018 7:14 am
Location: Australia

Unable to Shut Down etc. After Upgrade

Post by plumtreed »

The title says it.....I up graded, all went well until shutdown, restart and so on but just returned to login screen. shut down requires a hard shut down.
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: Unable to Shut Down etc. After Upgrade

Post by ericbsd »

That is hod, but I will pay attention to that.
kernel-error
Posts: 4
Joined: Mon May 27, 2019 7:08 am
Location: Bonn - Germany
Contact:

Re: Unable to Shut Down etc. After Upgrade

Post by kernel-error »

Hi there,

maybe this will help to solve the problem:

Jun 6 08:28:47 console-kit-daemon[1552]: WARNING: Unable to Stop system: Failed to execute child process <E2>M-^@M-^\/usr/local/lib/ConsoleKit/scripts/ck-system-stop<E2>M-^@M-^] (No such file or directory)
Jun 6 08:28:47 mate-session[2170]: WARNING: Unable to stop system: Unable to Stop system: Failed to execute child process <E2>M-^@M-^\/usr/local/lib/ConsoleKit/scripts/ck-system-stop<E2>M-^@M-^] (No such file or directory)
Jun 6 08:28:48 console-kit-daemon[1552]: CRITICAL: ck_session_set_active: assertion 'CK_IS_SESSION (session)' failed
Jun 6 08:28:48 console-kit-daemon[1552]: WARNING: Unable to activate console: Inappropriate ioctl for device
Jun 6 08:31:02 console-kit-daemon[1552]: CRITICAL: ck_session_set_active: assertion 'CK_IS_SESSION (session)' failed
Jun 6 08:31:02 console-kit-daemon[1552]: WARNING: Unable to activate console: Inappropriate ioctl for device
kernel-error
Posts: 4
Joined: Mon May 27, 2019 7:08 am
Location: Bonn - Germany
Contact:

Re: Unable to Shut Down etc. After Upgrade

Post by kernel-error »

Japp simpel fix (not 100% sure if its correct):

root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-hibernate.sample ck-system-hibernate
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-hybridsleep.sample ck-system-hybridsleep
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-restart.sample ck-system-restart
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-stop.sample ck-system-stop
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-suspend.sample ck-system-suspend
User avatar
finalcrypt
Posts: 4
Joined: Fri Jul 26, 2019 7:39 pm
Location: Zaandijk
Contact:

Re: Unable to Shut Down etc. After Upgrade

Post by finalcrypt »

Thanks that fixed it for me too.
This one-liner will also fix it

Code: Select all

for i in "/usr/local/lib/ConsoleKit/scripts/ck-"*; do sudo mv -v "${i}" "${i%.sample}"; done
User avatar
mandog
Posts: 18
Joined: Tue Dec 03, 2013 10:58 am

Re: Unable to Shut Down etc. After Upgrade

Post by mandog »

kernel-error wrote: Thu Jun 06, 2019 5:25 am Japp simpel fix (not 100% sure if its correct):

root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-hibernate.sample ck-system-hibernate
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-hybridsleep.sample ck-system-hybridsleep
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-restart.sample ck-system-restart
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-stop.sample ck-system-stop
root@test:/usr/local/lib/ConsoleKit/scripts # mv ck-system-suspend.sample ck-system-suspend
Great work worked fine for me, But please can you not assume every one is a BSD geek it makes it hard for users, the way you write.
If i was not a Arch Linux user for 15 years i would not make head nor tail of what is writen, on BSD forums in general.
Thanks again for the Solution. :D
I'm dyslexic Please do not complain about punctuation or spelling and remember most dyslexic people have above average iq.
I'm a Englishman living in Peru
English is my only language
Post Reply