The tag has no usage guidance.

learn more… | top users | synonyms

37
votes
4answers
5k 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 ...
2
votes
1answer
39 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) ...
11
votes
2answers
483 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 ...
0
votes
0answers
17 views

How to add developer to google cloud platform with restricted permission but he should start instance

I have hired a google cloud window server 2012 machine for one of my developer in remote location to develop. Since he is different timezone so I want him to start/stop the instance but I don't want ...
0
votes
0answers
55 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 ...
0
votes
0answers
29 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
1answer
128 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
0answers
19 views

IIS recycle causes rapid fail to shut it down

I have a php website with rapid fail protection at default of 5 fails in 5 minutes, with a pool recycle limit set to 300,000 kb. The w3wp process isn't going above 100mb in task manager, and under ...
0
votes
2answers
93 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
0answers
257 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 ...
4
votes
1answer
115 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
20 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
130 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 ...
0
votes
1answer
66 views

How can I script the shutdown of a host by a remote server when rsync completes and no users are logged in?

This is what I have so far. This script would run on a Network Services host that does things like DHCP etc... and in this instance should be waking and sleeping computers for backup. #!/bin/bash ##...
3
votes
3answers
98 views

Linux guest graceful shutdown in Hyper-V

What mechanism Hyper-V use to signal a Linux guest to gracefully shut down? Somehow CoreOS does gracefully shut down, but another Linux doesn't (it is just abruptly powered off)
0
votes
1answer
157 views

Libvirt guest destroyed after shutdown

I have created a VM withLibvirt and when I shut it down whether forcefully or with ACPI, it gets deleted. I create it: <domain type='kvm'> <name>deneme2</name> <memory>...
3
votes
1answer
97 views

PowerChute vMA server shuts down ESXi host after boot

I've ran into a critical problem first time installing and configuring a UPS connected to a server. Whenever I boot up the vMA server, ESXi starts shutting down all the VM's and then itself. It's ...
1
vote
0answers
97 views

Configure JBoss7 / EAP6 to undeploy applications before shutdown

When I deploy my JEE6 application on JBoss EAP 6.3 and shutdown the server before manually undeploying the application I get unexpected Exceptions (see below). I'm looking for a way to make shutdown ...
-1
votes
1answer
32 views

Forced shutdown of inactive and not logged in machines via server

A little preface to the situation: I'm working at a hospital where a lot of machines are left running, sometimes overnight, and I want to put forward a proposal of shutting down inactive and not ...
0
votes
1answer
414 views

Restart Alfresco / Tomcat

When i'm trying to restart Alfresco, it stops with this message: p@p:~/alfresco-5.0.d$ ./alfresco.sh restart Using CATALINA_BASE: /home/p/alfresco-5.0.d/tomcat Using CATALINA_HOME: /...
0
votes
1answer
309 views

VPS server restarting MOD_SECURITY?

My VPS server has been acting up lately, for example last weekend the PHP module Imagemagick simply stopped working and I had to do a PERC uninstall / reinstall. Today my server has been totally ...
1
vote
1answer
554 views

Deploy a Powershell script and run on shutdown thru group policy

I have a Powershell script I need to deploy to my clients PC and then run it on shutdown. I̶ ̶k̶n̶o̶w̶ ̶i̶t̶ ̶i̶s̶ ̶p̶o̶s̶s̶i̶b̶l̶e̶ ̶t̶o̶ ̶r̶u̶n̶ ̶P̶o̶w̶e̶r̶s̶h̶e̶l̶l̶ ̶s̶c̶r̶i̶p̶t̶s̶ ̶o̶n̶ ...
2
votes
2answers
168 views

best practise for a shutdown strategy for server with critical processes

Assume a Window Server with running services and running console applications The nature of this software is very critical. Operations take up to a few minutes and should not be terminated. What ...
1
vote
3answers
704 views

How do I schedule a batch file to run on startup or shutdown?

I have 2 batch files that send emails intended to notify of a server shutdown or startup. The batch files call an exe with a single argument, the message to be sent. The exe comes from a vb.net ...
0
votes
1answer
46 views

“Turbo-timer” for safely shutting down after powerout [closed]

We have clients that apparently routinely kill the power to our running windows 7 platform without performing a shutdown. We have had a couple of (SSD) drive failures that we suspect are caused by ...
4
votes
4answers
6k views

Do Hyper-V Virtual Machine Guest Operating systems need to be shut down before restarting Windows Server 2012 R2 they are running on?

I am fairly new to using Hyper-V. I am trying to learn the best practice for shutting down and restarting my server when virtual machines are running on it. I have a physical server running MS ...
1
vote
1answer
326 views

Prevent HDDs from spinning up before shutdown in Ubuntu/ZoL/SAS2008 environment

I am running Ubuntu 14.04.2 with ZFS on Linux. As I ran out of SATA ports on my Asus M5A78L-M/USB3, I bought a Dell PERC H200 card and crossflashed it to LSI 9211-8i P19 IT mode firmware to ...
0
votes
0answers
218 views

Tomcat suddenly shutdown

Tomcat randomly stops receiving requests and returns error 503. Im running a tomcat 7 on Ubuntu 12.04 TLS updated. In the apache error log you can see the following trace: [Wed Mar 04 09:36:27 ...
7
votes
3answers
24k views

Is there a safe way to cancel updates during windows shutdown [closed]

I have installed a new windows machine and configured windows update to automatically download updates. I need to quickly reboot the machine and I forgot to click the fly out window that allows the ...
1
vote
0answers
310 views

Stop automatic reboot with gpedit shutdown script in Windows 2k8

I am search for a way to validate and maybe stop an automatic reboot under windows. E.g. automatic reboot is initialized by windows update. When adding a shutdown script with gpedit this script gets ...
3
votes
3answers
703 views

Add a Message to be Displayed During Shutdown of CentOS 6 and 7

When issuing a reboot or shutdown I see: [kbrandt@ny-kbrandt01: ~] sudo reboot [sudo] password for kbrandt: Broadcast message from kbrandt@ny-kbrandt01.ds.stackexchange.com (/dev/pts/3) at 14:50 ...
1
vote
1answer
343 views

Suddenly, shutdown command can't be found anymore

I logged in to my Debian 7 server, did an upgrade using apt and wanted to shutdown+reboot using shutdown -r now as i did a lot of times before. This time, the shutdown command can't be found anymore. ...
1
vote
1answer
512 views

Gracefully logout all connected ssh users on reboot

When I reboot my Linux server (BusyBox Linux) all ongoing ssh client connections run into a stucked state until a timeout on client side occurs. There is no message sent to the ssh client to produce a ...
4
votes
3answers
2k views

Windows Server 2012 R2 Shutdown Event Tracker Details

Call me masochist, but I actually like entering the details when shutting down a server. Windows Server 2012 R2 doesn't seem to provide a field to do that, though. Is there any way to add "reason" ...
24
votes
4answers
123k views

Best way to gracefully restart CentOS?

I always used the command: shutdown -r now However, sometimes that causes MySQL issues. What's the most graceful way to restart CentOS? I've seen: reboot and halt How can I gently reboot ...
1
vote
1answer
2k views

How to sequence a proper shutdown and startup of web services with systemd?

I am trying to structure the shutdown and startup of Apache, PHP-FPM and MariaDB services using systemd: These are the additional configuration files in /etc/systemd/system folder: # httpd.service ....
1
vote
1answer
136 views

Script before shutdown with network on

I need to generate a SMS / Email alert when the server´s UPS is finishing its charge. We have a car battery connected to the motherboard that works as a UPS (http://www.mini-box.com/M2-ATX-160w-...
5
votes
2answers
6k views

Automatic power on after graceful shutdown on UPS

This is my basic setup: I run a server (DL380 G7; linux 3.13 kernel) that is host to ~10 virtual machines It is set for automatic power on I use NUT for UPS management Graceful shutdown duration of ...
2
votes
4answers
7k views

Shutdown clients when no one is logged in at a specified time

At our company, the people stop working at 7PM. At 8PM we run a scheduled task with GPO to warn the logged-in user that the computer is going to shutdown. This works fine. When no one is logged-in ...
0
votes
1answer
5k views

How to troubleshoot an unexpected Linux shutdown

I have two RHEL6.3 servers that just shutdown at the same exact time (25 seconds apart) for no apparent reason. They're on conditioned power, along with a number of other servers that didn't shut down,...
2
votes
1answer
1k views

Can't shut down HyperV VM with Powershell despite admin rights

I am attempting to use a script that shuts down my Hyper-V VMs, copies their VHDs to a target share, then boots them back up. I found the script on spiceworks just a couple days ago. I always receive ...
1
vote
1answer
240 views

Saving httpd logfiles to S3 on shutdown using s3cmd

I have an auto-scaling group on Amazon Web Services (AWS). I want to preserve the logfiles on an instance (Amazon Linux AMI) when the group scales down. My current idea is to use the s3cmd tool in a ...
1
vote
1answer
281 views

ipmitool pef temperature soft shutdown

Recently I've had the technicians switch off the cooling system in the server room, without notifying me first. Since the compute nodes do have IPMI cards from different manufacturers installed, I'd ...
1
vote
2answers
1k views

How to shutdown VMware Fusion virtual machine on host shutdown

I have a Mac mini running Mavericks server. I installed the Atmail server + webmail vm [a linux centos distribution] in VMware Fusion Professional 6 with the VMware Tools addon. It works flawlessly. I'...
2
votes
2answers
2k views

Log Windows 7 Shutdown Process

Are there any utilities that can log the windows 7 shutdown process in a 'debug' mode? Recently several of our Windows 7 workstations started taking over twenty minutes to reboot, and while we've ...
20
votes
4answers
4k views

Suppressing the “reason” for shutdown on Windows Server

How can I suppress giving a reason for shutdown on a Windows Server host? Specifically, on 2008 R2, but all versions back to 2003 and up to 2012 would be appreciated.
0
votes
1answer
10k views

how to cancel an automatic restart in windows server 2012 after installing windows updates

Here's the thing - the "shutdown -a" option doesn't work, there is no "Restart Later" button, just a countdown timer of 15 minutes and no way to cancel it. What should I do? I read somewhere that if ...
0
votes
1answer
824 views

Why won't this shutdown shell script work under root's crontab when the guest user is logged in? [closed]

I've got a laptop running Lubuntu 13.04 and guest account enabled. People forget to shut it down every day so I figured I'd just put a one line script into root's cron to solve that. No dice. It shows ...
8
votes
3answers
4k views

Windows 2012: how to make power button work in every cases?

I need some Windows 2012 servers to be shutdown properly with the power button. If nobody is logged, the power button correctly shuts down the server If somebody is logged without a blocking ...
1
vote
1answer
110 views

Should I turn off hybrid server with GPU on IDLE?

There is a server with 2 CPUs (Intel Xeon E5-2670, Sandy Bridge) and 1 AMD GPU (Tahiti XT Radeon HD 7970). There are also SSD (system and executable files) and HDD (heavy data) that connected to this ...