Questions tagged [shutdown]
a command to turn off or reboot the system
531
questions
0
votes
2
answers
25
views
Shut down actions order: write buffers after RO root remount
Exploring amazing Book How Linux Works by Brian Ward I usually have no question. But this one. At the "6.7.0 Shutting Down Your System" there is an ordered list of jobs.
After remount root ...
0
votes
1
answer
211
views
Kubuntu not shutting down
I just built a workstation that is running Kubuntu 23.04 (Kubuntu is basically Ubuntu + KDE Plasma desktop) with the 6.2.0-34 kernel.
Specs: ASUS Pro WS WRX80e-sage SE Wifi ii motherboard; ...
0
votes
1
answer
69
views
Are there commands for execute XFCE's menu entries to reboot or power off/shut down?
There is Herunterfahren(DE)/Shut Down and Neustarten (DE)/Reboot:
Is it possible to execute these GUI entries from the command line? If so, what exactly are the commands?
I already checked XFCE's ...
-1
votes
2
answers
138
views
delay/cancel linux shutdown
I know that similar questions were answered multiple times here, and my question may look weird, but my case is different. I would like to catch the linux shutdown command before another processes, ...
0
votes
0
answers
12
views
Wifi works only after abrupt shutdown
Its a weird thing but wifi on my Ubuntu only recognised wifi of my home router after I abruptly shutdown using my power button. Before that, It only shows 2 wifi names, not of my home wifi or wifi ...
0
votes
1
answer
88
views
How can I know if a file system was cleanly unmounted?
I know, fsck.ext4 -p /dev/whatever, right? That seemed to be the answer, but then I read that journaling covers a multitude of sins, and the result from fsck will just tell you that there isn't a ...
1
vote
1
answer
662
views
How to resolve ACPI errors at shutdown?
When I turn off the laptop, the following messages appear on a black screen, from time to time:
ACPI BIOS Error (bug): could not resolve symbol [\_TZ.ETMB], AE_NOT_FOUND
ACPI Error: aborting method \...
1
vote
1
answer
2k
views
Ubuntu 22.04 doesn't shut down
I am using an Lenovo ThinkPad with Ubuntu alongside Windows 11. After updating Windows, Ubuntu doesn't shut down and I am stuck at following screen.
I tried to edit the grub file, however this didn't ...
-2
votes
2
answers
1k
views
Live Kali Linux stuck at Dragon Logo on shut down or restart
I made a live Kali USB drive using Rufus and Kali Live ISO (I am using Windows 11). When I boot using USB on my laptop, the OS although starts slowly but still boots up. But after I restart or ...
0
votes
0
answers
50
views
How to stop Linux from automatically unmounting CD Drive right before shutdown
I am using Pop OS on my laptop and whenever I poweroff, it automatically unmounts the CD drive. As a result every time I turn on the laptop the CD drive gets stuck in a loop of making a small noise it ...
0
votes
0
answers
36
views
Other solution instead of forced shutdown on my linux laptop when software freezes
i usualy play Minecraft on my laptop(4 Go, Intel i5 3320M and Intel HD graphics 4000) using a external usb ssd (on Sparkylinux for have the maximum of ram) and sometime, when i load a world, 5 ...
4
votes
2
answers
545
views
ssh connection hangs on server shutdown / restart
When I shut down or restart my server while logged in via SSH, the SSH connection hangs or freezes. The terminal becomes completely unresponsive, and it takes up to one minute for the SSH session to ...
0
votes
0
answers
33
views
Shutdowns just hangs sometimes (CPU cooler and keyboard backlight on)
I'm using an Arch-based distribution called EndeavourOS. I asked here the same question and thought it was solved but today happened again ...
Basically, I clicked on shutdown in XFCE (previously, I ...
0
votes
0
answers
20
views
Strange server behaviour after keyboard was connected - was server compromised or data centre at fault?
This morning I received a notification from our host that they couldn't ping the server, I've checked the logs and 5 minutes before the following happened:
Jun 13 10:34:50 server-name kernel: usb 1-5: ...
1
vote
0
answers
315
views
systemd power key pressed at the same time every day
I have encountered unexpected shutdowns on a microserver, and the logs indicate that they are caused by the "Power key pressed" event.
After conducting some research, it appears that this ...
0
votes
1
answer
63
views
How can I privilage a user to sign in on my ubuntu server via ssh when a system shutdown is scheduled?
I have scheduled a system reboot every night in my crontab with this line:
0 4 * * * /sbin/shutdown -r +5
I would like to be able to log in and cancel the reboot if I need the system to stay up at ...
1
vote
1
answer
217
views
systemd service file to run a script at the time of shutdown is running at startup instead
I am new to writing these service files and I have written a systemd service file by following several blogs in stack and unix overflows.
I have a script which needs to run at the time of shutdown and ...
2
votes
0
answers
369
views
It's possible to force a graceful shutdown when you kill a QEMU process?
I'm working with a Ubuntu VM with QEMU, I understand that when the Host (Mac M1 in my case) makes a shutdown sends a SIGTERM to all processes, but when arrives the signal to QEMU the Ubuntu does ...
-2
votes
1
answer
589
views
Firefox freezes, can't be killed, and Debian 11 XFCE can't be shut down
Problem: (has been happening every day, at least once, but commonly many times)
I have a Debian GNU/Linux 11 (bullseye) system where Firefox 102.9.0esr (64-bit) has been randomly freezing and needing ...
1
vote
1
answer
1k
views
Linux stalled while shutting down---what to do?
I tried to reboot a computer running Ubuntu 20.04 (Linux 5.15.0-67-generic #74~20.04.1-Ubuntu), but it keeps outputting error or warning messages on the black screen and does not shut down. What ...
0
votes
1
answer
1k
views
Linux does not shutdown completely (Failed to unmount /oldroot)
I've been having this problem for a few months where Linux just fails to shutdown.
It freezes on the screen where all logs are displayed and stuff, the last line is always:
"kvm: exiting hardware ...
1
vote
0
answers
802
views
failure to unmount /oldroot on shutdown; is this a problem?
At shutdown, Linux Mint 21.1 briefly flashes a warning that systemd couldn’t unmount /oldroot or /oldroot/sys because the device is busy. It still shuts down and I haven’t noticed anything else amiss. ...
0
votes
1
answer
109
views
How can I wipe RAM after shutdown
I have heard about memtest86 how can I install it to Debian ? Is it good ?
https://gitlab.tails.boum.org/tails/blueprints/-/wikis/more_efficient_memory_wipe/memtest86plus/
Or do I use ...
6
votes
1
answer
645
views
How to safely poweroff a HDD?
I have a NAS server made by me with a Raspberry Pi and some HDDs attached to the USB port. All this is powered from a smart UPS made also by me. When I want to shutdown, I press a button on the UPS ...
0
votes
1
answer
62
views
Isn't there a command in linux that will close the system the moment I send the command and open it 30 minutes later?
I have a linux server, but because it overheats during the day, sometimes it can change for half an hour or 1 hour. I want to cool it down. but can I do this with a command, for example, can I send a ...
0
votes
0
answers
44
views
Server reboots instead of staying off when shutdown was initiated with systemd
I got a small linux server (Ubuntu 22.04 - I'm not asking on ubuntu only because this might also affect other systems - if related to systemd) which I use to create backups of my other servers. This ...
0
votes
0
answers
411
views
Unwanted shutdown of Ubuntu 22.04
Since 4 days I have a problem of unwanted shutdown. I'm using my Ubuntu 22.04 normally as always (even if it's just moving files), then the apps close suddenly and I have to press "power" ...
1
vote
0
answers
86
views
Stuck at shutdown after an ssd upgrade
I have replaced my sata ssd with an nvme one and after I installed the current stable debian 11, it turns out that my laptop doesn't shutdown.
What happens is I can see the systemd output saying that ...
0
votes
2
answers
558
views
Shutdown halting on: wating for process brltty
I just installed edeavour OS and whenever I shut down the laptop it keeps getting stuck on Wating for process brltty, for a good 30 seconds. Does anyone know what to do to fix it getting stuck?
0
votes
1
answer
174
views
How do I trigger a delayed shutdown after screen lock?
I'm a beginner Linux user, running Pop!_OS.
Pop!_OS is based on Ubuntu, but uses SystemD and Gnome. I have no idea if that's going to be relevant, but figured it wouldn't hurt to mention.
Here is what ...
1
vote
1
answer
352
views
What are MODERN uses for halt (non-power off) vs shutdown (power-off)?
I have read some fascinating threads about the history and implementation of the halt and shutdown commands (and equivalents, eg. runlevels and systemctl targets) across different versions of Unix(-...
0
votes
2
answers
113
views
REISUO vs shutdown now [duplicate]
You can use shutdown now command or REISUO trick to shutdown your computer, but what way is preferred over another?
3
votes
1
answer
358
views
Hibernate Windows PC from Linux
To shutdown a Windows PC from Linux I use:
net rpc shutdown -I 192.168.1.123 -U userName%password
and it works perfectly. To hibernate I try:
net rpc shutdown -h -I 192.168.1.123 -U userName%password
...
0
votes
1
answer
184
views
what's the meaning of ^@ in syslog
One physical machine had shutdown unexpected, there is no any error log about that, only get a large ^@ in one line of /var/log/syslog file such as:
Dec 9 21:50:02 hostname CRON[74324]: (root) MAIL (...
1
vote
0
answers
165
views
Surface Pro 9 sticks at shutdown, how to trace the problem?
I tried installing three distros on SP9: Ubuntu 22.04.1, Ubuntu 22.10, KaliLinux 2022.3, there is problem with all these distros that it sticks at shutdown.
After typing shutdown now in terminal, the ...
0
votes
1
answer
371
views
Process "winedevice.exe" delaying systemd shutdown
Almost every time I shutdown my PC I have to wait about a 2 minutes for:
A stop job is running for user manager for UID 1000
I know this is caused by the winedevice.exe process
Only way I found to ...
1
vote
1
answer
42
views
SATA HDD clunck heads on reboot and shutdown
On small NAS server based on DietPi (Debian 11), every time when I use the reboot or the shutdown command the heads of HDD's are making strong clunking noise and doesn't sound healthy. I'm pretty sure ...
1
vote
0
answers
170
views
Allow remote (SSH, XRDP, etc) sudo users to suspend/shutdown without privilege elevation
Sudo users do not seem to need privilege elevation to suspend/shutdown the computer when they are doing so locally, but require privilege elevation (e.g., need sudo shutdown instead of just shutdown). ...
1
vote
1
answer
71
views
This cron script was missed by shutdown
Is there a way to setup cron (or any other scheduler, like anacron) to run such that it checks immediately after I resume working on my laptop (e.g. after suspension or shutdown) whether it has ...
0
votes
1
answer
29
views
Cross-platform way to determine if the current user has privlige to shutdown the machine (without actually attempting shutdown)
How can I check (in a safe way) if the current user has the permissions needed to shutdown the system on Unix & Linux?
I'm writing a script that needs to check to see if the current user has the ...
2
votes
0
answers
242
views
Weird characters (^@ and ū) at shutdown
Asking a question that's been bugging me on/off for a while. I have noted the above symbols (^@ and ū, sometimes only one of the two, sometimes both like in the screenshot above) at shutdown when ...
4
votes
2
answers
1k
views
How to shutdown pc if no user is logged in?
I am sorry if I have missed any existing answers or solutions - my searching did not bring up any viable solutions yet.
The issue:
My pc contains Windows and Linux, with Linux being the primary OS.
...
0
votes
1
answer
121
views
Missing shutdown entries in wtmp despite graceful reboots
Linux system with kernel 4.14.76 and last from util-linux 2.35.1.
I am using last -x reboot shutdown to detect abrupt shutdowns and power loss. To my understanding, a clean reboot should show as a ...
0
votes
0
answers
341
views
Shutdown/Restart a pc that has fedora36 via XRDP
I am repurposing an old desktop and installed fedora 36 kde version. I installed XRDP and it is working well for me. The only problem I am having is that when I try to restart or shutdown that pc ...
4
votes
1
answer
1k
views
What's causing my reboot to an ungraceful shutdown?
My question
Where can I find logs of reboot/shutdown in case of ungraceful shutdown ?
My Case
On my redhat 7.9 (3.10.0-1160.62.1.el7.x86_64) that have been upgraded from redhat 6, a simple sudo reboot ...
0
votes
0
answers
799
views
Battery drain despite system shutdown
I have a dual boot setup with Linux Mint 20.3 and Windows 10 on my HP laptop.
For the past few days, I noticed that when I shut the laptop down, my battery still drains. I'm talking like -50% in 8 ...
2
votes
1
answer
625
views
My computer shuts off, then instantly turns back on a second later
So I recently got an Alienware desktop computer because there was a big sale on it, and then I instantly installed Linux on it after doing a bios update. Everything works great apart from one thing, I ...
1
vote
1
answer
33
views
Customizing a fedora 33 shutdown
I have an application running in two containers inside a fedora 33. The containers need to be stopped in a specific way which already has a script for it.
To make sure that the containers are always ...
1
vote
1
answer
725
views
How can I cancel (abort) a shutdown when I see "A stop job is running..."?
I entered sudo shutdown -h now to shutdown my computer. Then, the "A stop job is running..." message appeared. I wanted to abort my shutdown and go back to appropriately closing the running ...
1
vote
1
answer
206
views
How to measure how long linux takes to shutdown
I need to calculate how long linux takes to shutdown. I am running an embedded busybox linux on ARM i.MX7. I looked in /var/volatile/log/messages but that only shows the last startup. I need to ...