Unable to Shut Down etc. After Upgrade

Share your ideas, questions or suggestions with us here.
Post Reply
plumtreed
Posts: 59
Joined: Sat Nov 03, 2018 7:14 am
Location: Australia
Has thanked: 2 times
Been thanked: 8 times

Unable to Shut Down etc. After Upgrade

Post by plumtreed » Sat May 25, 2019 10:09 pm

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: 1440
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 39 times
Been thanked: 54 times

Re: Unable to Shut Down etc. After Upgrade

Post by ericbsd » Mon May 27, 2019 9:04 am

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
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Unable to Shut Down etc. After Upgrade

Post by kernel-error » Thu Jun 06, 2019 5:17 am

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
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Unable to Shut Down etc. After Upgrade

Post by kernel-error » 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
These users thanked the author kernel-error for the post:
mandog (Mon Aug 05, 2019 12:15 pm)
Rating: 50%

User avatar
finalcrypt
Posts: 4
Joined: Fri Jul 26, 2019 7:39 pm
Location: Zaandijk
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Unable to Shut Down etc. After Upgrade

Post by finalcrypt » Mon Aug 05, 2019 1:26 am

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
Has thanked: 1 time
Been thanked: 0

Re: Unable to Shut Down etc. After Upgrade

Post by mandog » Mon Aug 05, 2019 12:21 pm

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