Questions tagged [shutdown]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
80 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 ...
user avatar
1 vote
2 answers
175 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 ...
user avatar
  • 73
1 vote
0 answers
23 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 ...
user avatar
0 votes
1 answer
58 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 ...
user avatar
1 vote
0 answers
93 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, ...
user avatar
  • 111
1 vote
2 answers
121 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 ...
user avatar
0 votes
0 answers
602 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 ...
user avatar
  • 131
1 vote
1 answer
2k 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: ...
user avatar
0 votes
0 answers
343 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 > ...
user avatar
1 vote
1 answer
191 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 ...
user avatar
  • 21
2 votes
2 answers
1k 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 ...
user avatar
1 vote
1 answer
627 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 ...
user avatar
  • 11
1 vote
0 answers
50 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 ...
user avatar
1 vote
1 answer
744 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 ...
user avatar
  • 135
6 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
918 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 ...
user avatar
  • 185
1 vote
0 answers
24 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 ...
user avatar
1 vote
2 answers
9k 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 ...
user avatar
  • 21
5 votes
3 answers
9k 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 ...
user avatar
  • 121
0 votes
0 answers
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 ...
user avatar
-2 votes
1 answer
112 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 ...
user avatar
  • 1
0 votes
1 answer
136 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 ...
user avatar
  • 135
0 votes
0 answers
189 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 ...
user avatar
4 votes
1 answer
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....
user avatar
-1 votes
1 answer
370 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 ...
user avatar
  • 123
1 vote
0 answers
251 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 ...
user avatar
1 vote
1 answer
47 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 ...
user avatar
-2 votes
1 answer
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?
user avatar
  • 845
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 ...
user avatar
0 votes
0 answers
37 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....
user avatar
0 votes
2 answers
682 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 ...
user avatar
1 vote
2 answers
99 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 ...
user avatar
0 votes
2 answers
356 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 ...
user avatar
  • 11
2 votes
1 answer
71 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 ...
user avatar
3 votes
3 answers
3k 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 ...
user avatar
  • 327
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 ...
user avatar
  • 209
-1 votes
1 answer
75 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 ...
user avatar
  • 111
0 votes
1 answer
824 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 ...
user avatar
  • 283
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 ...
user avatar
  • 21
-1 votes
1 answer
74 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 ...
user avatar
  • 109
0 votes
1 answer
190 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 ...
user avatar
1 vote
1 answer
283 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 ...
user avatar
  • 121
13 votes
1 answer
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 ...
user avatar
2 votes
1 answer
139 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 ...
user avatar
0 votes
1 answer
144 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 ...
user avatar
0 votes
2 answers
198 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 ...
user avatar
58 votes
6 answers
91k 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 ...
user avatar
  • 1,001
4 votes
1 answer
10k 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) ...
user avatar
  • 338
13 votes
2 answers
13k 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 ...
user avatar
  • 361
2 votes
0 answers
283 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 ...
user avatar
  • 53