Questions tagged [shutdown]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
15 views

How can I display a Warning to remove a live USB stick during Shutdown? [migrated]

When shutting down Xubuntu 20.04 living on a live USB stick with persistence, i.e. there is no file \casper-rw but there are ext4-partitions (without journalling) with name casper-rw as an overlay to ...
1
vote
2answers
90 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
0answers
267 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 ...
0
votes
1answer
1k 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
0answers
69 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
1answer
83 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
2answers
457 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
1answer
288 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
0answers
38 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
1answer
344 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 ...
2
votes
1answer
802 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
1answer
555 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
0answers
21 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 ...
0
votes
2answers
5k 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
2answers
6k 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
0answers
1k 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
1answer
105 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
1answer
96 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
0answers
88 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
1answer
2k 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....
-1
votes
1answer
248 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
0answers
224 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
1answer
41 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 ...
-2
votes
1answer
1k 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
1answer
3k 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
0answers
35 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
2answers
610 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
2answers
80 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
2answers
210 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
1answer
59 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
3answers
2k 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 ...
3
votes
1answer
4k 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
1answer
65 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
1answer
651 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
1answer
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 ...
-1
votes
1answer
72 views

Halt, not power down, a windows server

A client recently changed their UPS and now claims that their server is not coming back up after am extended power outage. They have tested their system and it will keep the last state, so if the ...
0
votes
1answer
183 views

Dell PowerVault MD1000 Keeps Shutting Down

I have a Powervault MD1000 that has been running for over a year with no issues, but within the past couple weeks, every few days the enclosure powers down and it and the server has to be restarted to ...
1
vote
1answer
240 views

Windows unforced (not forced, graceful) restart (reboot)

I wish to restart Windows 7 x64 by schedule, but the shutdown process needs not to be forced, but applications allowed to end normally. I have used scheduled task and system utility shutdown.exe with ...
13
votes
1answer
2k views

Graceful shutdown of Kubernetes cluster

We have a 4 node Kubernetes cluster, installed using Juju 2.0 and the official canonical Kubernetes charm. The sole purpose of this very local and private installation is development and testing. One ...
2
votes
1answer
131 views

OEL 7.2 with LACP systemd shutdowns networking before umounting _netdev filesystems

I've built an NFS cluster with OCFS2 as a backing filesystem. This is working quite well with the exception of when a node is restarted/shutdown cleanly it causes a fence operation as network is ...
0
votes
1answer
125 views

Shutdown domain PC's in bulk ASYNCHRONOUSLY [closed]

I am using psshutdown to turn off list of computers, but it seems ages to shutdown a list of 50+ PC's. It's shutting down them one by one, not all of them at the same time. Is there any program or ...
0
votes
2answers
132 views

Linux shut down server when not active for X time

I have development servers that are paid by the hour. Some of the machines are not really in use for fiew days in a week, is there a mechanism that will shout down the server after X time that it is ...
57
votes
6answers
80k views

“reboot” or “shutdown -r now”: what restart command is safer?

We have in our organization around ~500 RedHat Linux machines. On all the machines we installed applications and services under /etc/init.d, and oracle RAC servers. We intend to perform yum updates ...
4
votes
1answer
9k views

Is there a Difference between “logoff” and “shutdown -l” -command in Windows?

Is there a Difference between logoff and shutdown -l -command in Windows? They both logoff the current session. (Background: i had a Problem where the software in the costumers remotesession (w2k12) ...
12
votes
2answers
11k views

VM Inaccessible

So I had to remotely shut down my servers last night as the air conditioner crapped out on us. I shut down the VMs and then the hosts. Fired up the 2 hosts today which auto start the VMs. Datastores ...
2
votes
0answers
271 views

Shutdown and poweroff linux server when no one is using it

My backup server (running Arch Linux) can be remotely powered on via its out of band power controller (HP ILO), using a simple ssh command. Several clients will backup at the same time and each will ...
1
vote
1answer
2k views

How to reboot from a chroot environment?

I have a kickstart file that I use to install CentOS 7. I run some scripts in the %post section of the kickstart file. In the script, there is a checking for the compatibility of the machine, and if ...
2
votes
2answers
1k views

How long do daemons have to exit when the server shutdown signal is received?

As we are developing a complex set of services on Linux, we developed a tool that starts them one by one. One of the many considerations for creating such a tool was the order in which items can be ...
0
votes
2answers
1k views

Batch Shutdown Linux Machines from Windows Server

I have 20 Ubuntu terminals that run RDP sessions from our RDS server (Server 2012R2). I want to shut down these machines and night and start them up again in the morning remotely, preferably from ...
1
vote
1answer
1k views

How to verify if a Windows Server shutdown was complete on server hardware before UPS killed power?

Our Windows Server 2012 R2 machine just got its own UPS (APC Back-UPS RS 550G). I'm using the Windows release of apcupsd and since I would prefer if the UPS would turn off after shutdown I also added ...