Questions tagged [shutdown]
The shutdown tag has no usage guidance.
115
questions
0
votes
1
answer
29
views
Bind Authoritive cluster upgrade order
We are running BIND 9.16.6 Red Hat v7.7.
I am looking for some tips on the order of the upgrade and what command to run in order to shut down each node gracefully.
We have a separate hidden master and ...
2
votes
1
answer
32
views
Preserve order of closing services while shutting down the Linux
I defined a Linux systemd service which has few dependencies in unit file using After= and Requires=. My service depends also on SAN filesystems controlled by Veritas.
When stopping my service upon ...
0
votes
0
answers
165
views
How to debug systemd shutdown failing to gracefully shutdown?
I have a host that runs qemu vms.
Every restart will leave the qemu pidfile around, showing its process wasn't properly terminated but possibly killed ...question here is exactly how to find out what ...
0
votes
2
answers
72
views
Server shutdown hangs (when oss/lynxtwo driver does not load properly)
I have re-installed Ubuntu 22.04.2 in my server used primarily for audio via OSS driver (v4) with LynxTwo card.
It worked well for few days but then the reboot/shutdown started to hang (had to power ...
0
votes
1
answer
413
views
umount of logical volume failing during shutdown
In my system, multiple logical volumes are created, mounted and /etc/fstab entries are added after systemd starts up.
When system is rebooted for the first time, during shutdown many umount failures ...
0
votes
1
answer
120
views
Allow non-admin, local user account, to shutdown Windows Server remotely
For security purposes, on server1, I created local user account, shutdowntest, and gave it local security policy permission "Force shutdown from a remote system".
Now I want to shutdown ...
0
votes
1
answer
44
views
Unit shutdown.service could not be found
I'm trying to set up in a Redhat server, 2 services that start a database at startup, and stop it at shutdown, so I have put 2 files under /etc/systemd/system as follows:
shutdown.service:
[Unit]
...
1
vote
0
answers
32
views
"There are currently no power options available" message when using BitLocker on Windows
I have a Windows 10 IoT Enterprise version 21H2 (not in a domain).
I encrypted C partition using BitLocker configured to auto-unlock using the TPM module of the PC.
Each time I enable BitLocker, the &...
0
votes
0
answers
103
views
systemd: How to apply TimeoutStopSec= to virtual ('meta') Units?
i have a Debian 10 server that hangs during the shutdown process.
It looks like this when this happens:
i have set DefaultTimeoutStopSec=90s in /etc/systemd/system.conf and did systemctl daemon-...
-2
votes
2
answers
209
views
Samba server showing user still logged on despite shutdown/restart of the Windows 10 client
I have since years an issue with Samba 4.3.11 and Windows 10 in a Domain with Samba Active Directory:
The Users on Windows 10 will be shown as further logged on on the samba server (smbstatus -b) even ...
-1
votes
1
answer
50
views
Automate shutdown of windows server when all apps are closed
I have three high processing machines running on AWS. Our engineers run specific applications on it that requires like 192 GB of RAM.
Main idea behind this is after they start processing the job, no ...
0
votes
2
answers
386
views
Debian 9: What powered off my system?
For a day or so I've been trying to figure out what is powering off my system. It's Debian 9 running on a Beaglebone Black, and 5 minutes after power up (give or take a few seconds) it powers itself ...
1
vote
2
answers
1k
views
Dell Powervault ME4 (ME4024): unattended shutdown possible?
I'm rather new in this world of SAN devices/ESXi hypervisors and stuff.
Some years ago we had had physical servers with internal storage connected to a USB/LAN UPS and whenever he had a power loss we ...
1
vote
0
answers
32
views
Ubuntu desktop refuses to boot after shutdown via ssh
I'm running ubuntu 21.04 on a workstation PC with a Gigabyte TRX40 AORUS PRO WIFI motherboard. I was using it as a regular desktop PC without issues, but now I'm working remotely on a laptop, and ...
0
votes
1
answer
211
views
301 redirect for some pages and all other pages
I have two websites. Let's say siteA.com and siteB.com.
Now I want to add 301 redirect to siteB.com.
Some of pages of siteB.com need to be redirected to some specific pages on siteA.com
All other ...
1
vote
0
answers
201
views
How to send pending shutdown message to systemd services
I'm using Fedora CoreOS with the automatic updater enabled, which is great for my use case. Already, when logged in interactively, the system warns about an imminent shutdown/restart via the console, ...
1
vote
2
answers
426
views
Track IP Adress login RDP when shutdown happen
Today I arrived at the office of an client and the Hyper V server was turnoff. In the Windows Event log is register that the admin user has send a shutdown command. I'm not the only one that has ...
0
votes
0
answers
1k
views
Nginx proxy_pass ungracefully close connection
I got a Nginx over Nginx configuration on my server.
Server scheme
Nginx A -> Nginx B -> PHP FPM
(If you want to know the reason hidden below, it's because one of the two is in a Docker ...
1
vote
1
answer
4k
views
Note] /usr/sbin/mysqld (initiated by: unknown): Normal shutdown
2020-10-01 18:30:05 0 [Note] /usr/sbin/mysqld (initiated by: unknown): Normal shutdown
2020-10-01 18:30:05 0 [Note] Event Scheduler: Purging the queue. 0 events
2020-10-01 18:30:05 0 [Note] InnoDB: ...
0
votes
0
answers
662
views
How to create a Shutdown Script for Server 2016
I have a Windows 2016 server running an Oracle database that needs to be manually shutdown before the server shuts down.
I enabled the local GPO (Computer Configuration > Windows Settings > ...
1
vote
1
answer
397
views
Can you force graceful shutdown of a locked Windows Server 2003? [closed]
I have a (physical) Server with Windows Server 2003 which is currently locked by the Administrator account and no one has the password.
It should be straightforward to reset the password using one of ...
2
votes
2
answers
2k
views
Shutdown all docker containers
I just discovered that service docker stop on Ubuntu 18.04 doesn't shutdown all running containers. I can't control them anymore but the containerd-ship processes and everything that's inside the ...
1
vote
1
answer
1k
views
ProLiant DL380 G8 restart after shutdown
I've just bought a HP DL360 gen8 server, but the issue is when i shutdown the server it do all its prosess but the led still glows and after 15-20 sec the server automatically starts again, can you ...
1
vote
0
answers
85
views
Running backup script at shutdown (using rclone utility)
General: I want to run a back-up script during shutdown (not reboot). I've tried tons of systemd's service configuration, but no one is working.
Aim: When PC is shutting down I want to perform a ...
1
vote
1
answer
2k
views
how to shutdown a VM on hyper V at a certain time?
I wasn't able to find anything online, with physical servers I could run something like shutdown /s /f /t 1000 or use task scheduler. What I'm looking to do is shut down a VM but want to shut down the ...
10
votes
1
answer
5k
views
How to do docker-compose down without the config file that made the up?
When you do docker-compose up, it's based on a docker-compose.yml file.
This usually brings up a network, builds and runs multiple services. If you do the up with the -d flag, the docker-compose ...
1
vote
1
answer
1k
views
Any downside when shutting down EC2 instances of an auto-scaling group?
I want EC2 instances to auto-terminate after 24h.
I do this with a script that is executed at instance launch:
shutdown | at now + 24 hours
The instance shuts down and the EBS volumes are ...
1
vote
0
answers
33
views
unfriendly shutdown of PCs / windows 7 / eventvwr unable to report IP of initiator
In a sub-network of 30 PCs + 1 teacher PC, a PC has been shut down 2 times. I suspect a student to run some unfriendly "shutdown -i".
I have connected myself on that PC (local admin mode) and I used ...
1
vote
2
answers
13k
views
Shutdown ESXi 6.7 with a script via SSH without entering maintenance mode
I'm trying to write a script that ssh's to an ESXi 6.7 and shuts down the host and also shuts down the VMs according to the current system shutdown policy.
I'm running Dell customized image ESXi 6.7 ...
5
votes
3
answers
12k
views
Unexpected Windows Server 2016 Shutdown: winlogon, NT AUTHORITY\SYSTEM, 0x500ff
We have a fleet of AWS EC2 instances running Windows Server. Since moving from Windows Server 2012r2 to 2016, we've encountered an issue where a server is shut down for unknown reasons. After an ...
0
votes
0
answers
2k
views
Hanging on “Please wait for the User Profile Service” while shutting down, NOT logging in
When we shut down our DC and the servers on the domain, it hangs on the “Please wait for the User Profile Service” screen for a very long time. Not logging IN, but shutting down. Trying to google the ...
-2
votes
1
answer
114
views
asia-southeast1-b computer engine down [closed]
2019-02-07 19:52:12.748 JST asia-southeast1-b computer engine down.
event_subtype: "compute.instances.hostError"
event_type: "GCE_OPERATION_DONE"
What caused the server down?
How does google ...
0
votes
1
answer
204
views
Uninterruptable power supply with digital output designating mains/battery state
I want to have some equipment connected to a UPS to shut down gracefully when mains is cut. This equipment does not have capability to read serial or USB, so software solutions are out. What I'm ...
0
votes
0
answers
548
views
How to stop a service before scheduled shutdown reboot?
I want to plan a shutdown of a ubuntu server as follows:
shutdown -r 12:30
Problem: first I want to make sure that my webserver is shut down (eg to clear up some resources gracefully). Normally I'd ...
4
votes
1
answer
3k
views
Run a backup script at systemd shutdown (e.g. copy logs to S3 before instance termination by auto scaling)
I am trying to send log files to S3 before instance termination. I created .service file in /lib/systemd/system-shutdown/upload-backup.service, which is this.
Description=Testing
Before=shutdown....
0
votes
1
answer
534
views
shutdown -h now: FreeBSD server won't power down [closed]
I'm not a sysadmin, but got a used dell poweredge r320 anyway. A problem I've been having with it is that after issuing the shutdown -h now command in FreeBSD the system goes through the init system ...
1
vote
0
answers
281
views
EventLog Windows Event - Why is event #6008 logged even after normal shutdown and restart?
I have been restarting and shutting down the machine through proper steps, ie, using start button, using command line and using Alt+F4. But, shut down event tracker is not logging any events. On ...
1
vote
1
answer
56
views
Is 2250 a valid time interval to the shutdown command on CentOS/RedHat?
I need to shut down all machine in a site - on a Sunday.
I created a script (at bottom) that will execute the following on each machine, on the preceding Friday:
command="hostname ; sudo shutdown -h ...
-1
votes
1
answer
2k
views
What's the difference between shutdown -h and shutdown in Centos7?
shutdown -h now vs shutdown now,what's the difference in Centos 7?
2
votes
1
answer
4k
views
MySQL server (mariadb) auto shutdown without overload
With old configs, my VPS (1 CPU, 1 GB RAM, 1 GB swap) works normally for almost 2 years. I didn't change anything from beginning.
But I have this issue several days ago, MySQL server automatically ...
0
votes
0
answers
134
views
cannot shutdown virtual domain until connected to it
I have a rather weird problem. I'm going to try and present facts but the truth is that my problem seems so awkward that I don't really know what is happening.
I run a Debian 8.11 host with libvirt-1....
0
votes
2
answers
778
views
Kafka cluster: Withstanding a network outage
We have a kafka cluster. And a network. Yay. The network will be unavailable across all racks in our data center for 5-10 minutes (!) because maintenance requires it. I'm concerned that is too long an ...
1
vote
2
answers
226
views
Can I uncleanly close a TCP connection, to mitigate a denial-of-service attack?
I work on a web service which could be the target of a denial-of-service attack. We have in place some mitigations against "SYN flood" style attacks. But there are other "application-level" attacks ...
0
votes
2
answers
786
views
Master-Master replication how to catch up sync if shutdown
for work I was supposed to set up a master-master replication of 2 servers ( raspberry pi 3 debian ), which I did and it works, but now I have come to the issue of why we set up the replicas in the ...
2
votes
1
answer
81
views
Disabling a CMD command for a User
Let's say there are two accounts on Windows, Admin and User. Im running a program which shutdowns system in some ammount of time (using shutdown /s /t). Is there any way to disable shutdown -a for a ...
3
votes
3
answers
5k
views
When is system scheduled for reboot?
Where can I find information about if there is an reboot scheduled and in that case: when, why and by who?
I got this in my terminal:
Broadcast message from root@my-server (Tue 2017-11-07 09:00:00 ...
5
votes
1
answer
5k
views
ACPI shutdown does not always work on a Windows Server virtual machine
With virtualbox, I use VBoxManage controlvm "$VMNAME" acpipowerbutton to shut down a virtual server when the host is shutting down.
This works well when I test, but not in real world cases (i.e. when ...
-1
votes
1
answer
112
views
Is it possible to replace 'restart' in windows with a script? [closed]
I would like to replace 'restart'; meaning, when I press restart I would like the computer to execute a script instead.
Is there maybe a restart file that runs when I press restart that I can edit or ...
0
votes
1
answer
1k
views
Sending graceful shutdown via AMT to intel NUC
I have several intel NUC (NUC5i5MYBE) hosts with AMT support and an up-to-date firmware (2017-05-06).
I am able to send power-up and (hard) power-off and get the correct power info using amtc and ...
2
votes
1
answer
2k
views
Windowns Hyper-V Virtual Machine shutdown instead of restarting as commanded
I am running a Windows 2016 Hyper-V host with the following VM's
2x Windows 2012 R2
2x Ubuntu 16.04
Whenever I carry out a restart of the VM's after an update they nearly always shut down and ...