Questions tagged [shutdown]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
95 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
30 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
21 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 ...
0
votes
0answers
53 views

Proper Service Dependency (Boot/Shutdown) for: OpenVPN -> iSCSI -> mount LV (LVM) -> Docker

What would be the best way make sure that all the services run in the right order during the start up (OpenVPN -> iSCSI -> mount LV -> Docker) as well as during the shutdown (other way around), to ...
0
votes
0answers
81 views

systemd - complete a shutdown script before filesystem is umouted CentOS 7

My System is CentOS 7. Systemd umounts the local filesystem before my long running shutdown script finishes. So the last write commands cause an error. I found a lot of answers suggesting that you ...
1
vote
1answer
88 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
274 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
288 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
0answers
337 views

Cannot shut down WildFly 9.0.2 with CLI

I'm trying to shut down WildFly 9.0.2 with a script (Windows Server). Everything I have read online point to the same command: jboss-cli.bat --controller=localhost:9990 --connect --command=:shutdown ...
0
votes
2answers
2k 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 ...
4
votes
2answers
3k 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
704 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
86 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
62 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
63 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 ...
3
votes
1answer
1k 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
172 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
219 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
37 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
872 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?
1
vote
1answer
2k 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
34 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
468 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
72 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
184 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
53 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
906 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
3k 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
53 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
538 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 ...
1
vote
1answer
1k 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
69 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
166 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
188 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
119 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
99 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
100 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 ...
56
votes
6answers
69k 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
7k 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
9k 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
259 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 ...
1
vote
2answers
769 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
991 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
896 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 ...
9
votes
2answers
8k views

How can I predict systemd's shutdown order?

Is there a way to get systemd to tell me the rough order in which it will shutdown services when I cleanly shut the whole system down? Since systemd will shut things down in parallel, I appreciate ...
1
vote
0answers
119 views

How does BMC know when Host initiates shutdown from its OS?

I was reading about Intel Server Management and have this question. Through BMC web one can initiate a graceful shutdown to the Host OS, this is fine. But how does it work when OS initiates a poweroff/...
3
votes
1answer
3k views

How to find the ip address of the pc that sent a shutdown command?

I'm a system administrator in a school. We have a classroom with 20 PC's in a domain, and all PC's use the same user to log in. Sometimes students use the shutdown command to shut down the PC's of ...