Skip to main content

Questions tagged [shutdown]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
119 views

Why is MySQL service shutting down every day almost at the same time?

I read the log file to see if there is anything specific that triggers shut down, but couldn't find it. It happens at 1.30AM almost every day, And then I need to manually restart MySQL. There are ...
BenUK's user avatar
  • 11
2 votes
1 answer
141 views

Why does apachectl stop take a very long time to finish?

I have a freshly installed CentOS 9 with Apache, and found that apachectl stop take very long to finish (as in always 1m30s). I don't really have any clue where to look, I don't see any CPU bound ...
Bart Friederichs's user avatar
2 votes
1 answer
271 views

Graceful shutdown of unison file synchronizer

We have a process that runs nightly on multiple linux and Darwin (Macintosh) systems to backup filesystem objects. We are also running unity file synchronization with the -repeat=watch option, so ...
Dennis 's user avatar
  • 188
0 votes
1 answer
40 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 ...
Derek Mahon's user avatar
2 votes
1 answer
111 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 ...
Hellraiser's user avatar
2 votes
1 answer
2k views

How to debug systemd shutdown failing to gracefully shutdown?

I have a host that runs qemu vms. But that is irrelevant for the systemd question context. It could be any other process which terminates perfectly fine with a sigterm/sighup. Every restart will leave ...
gcb's user avatar
  • 122
0 votes
2 answers
91 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 ...
Ditusade's user avatar
1 vote
1 answer
2k 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 ...
m.divya.mohan's user avatar
0 votes
1 answer
418 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 ...
cordell452658's user avatar
0 votes
1 answer
105 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] ...
Souad's user avatar
  • 256
1 vote
0 answers
73 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 &...
Amos's user avatar
  • 11
-2 votes
2 answers
322 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 ...
rawi's user avatar
  • 97
-1 votes
1 answer
78 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 ...
Learner's user avatar
0 votes
2 answers
477 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 ...
Richard Krehbiel's user avatar
1 vote
2 answers
2k 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 ...
carmik's user avatar
  • 173
1 vote
0 answers
52 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 ...
Joel Gibson's user avatar
0 votes
1 answer
285 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 ...
ashanrupasinghe's user avatar
1 vote
0 answers
245 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, ...
ljrk's user avatar
  • 113
1 vote
2 answers
697 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 ...
Daniel Camara's user avatar
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 ...
Doubidou's user avatar
  • 131
1 vote
1 answer
5k 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: ...
Isaac Palacio's user avatar
0 votes
0 answers
802 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 > ...
mpalmer22's user avatar
1 vote
1 answer
537 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 ...
Guest's user avatar
  • 21
2 votes
2 answers
3k 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 ...
Daniel Alder's user avatar
1 vote
1 answer
2k 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 ...
Unaib's user avatar
  • 11
1 vote
0 answers
107 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 ...
Yevhenii Nadtochii's user avatar
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 ...
Matthew's user avatar
  • 135
11 votes
2 answers
8k 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 ...
Xavi Montero's user avatar
1 vote
1 answer
2k 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 ...
Manuel's user avatar
  • 235
1 vote
0 answers
37 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 ...
Pilot André's user avatar
1 vote
2 answers
14k 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 ...
ppsilva's user avatar
  • 51
6 votes
3 answers
14k 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 ...
Nathan's user avatar
  • 141
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 ...
user7115764's user avatar
-2 votes
1 answer
117 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 ...
moonjw's user avatar
  • 1
0 votes
1 answer
260 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 ...
Sean's user avatar
  • 235
0 votes
0 answers
740 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 ...
membersound's user avatar
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....
Shivanshi Srivastava's user avatar
0 votes
1 answer
619 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 ...
Chris H's user avatar
  • 133
1 vote
0 answers
318 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 ...
Alok Bhat's user avatar
1 vote
1 answer
60 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 ...
boardrider's user avatar
  • 1,019
-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?
kittygirl's user avatar
  • 985
2 votes
1 answer
5k 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 ...
Phong Thai's user avatar
0 votes
0 answers
185 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....
Chebarbudo's user avatar
0 votes
2 answers
845 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 ...
Eric Horne's user avatar
1 vote
2 answers
590 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 ...
Jim Fisher's user avatar
0 votes
2 answers
944 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 ...
Gabby's user avatar
  • 11
2 votes
1 answer
106 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 ...
Ironwing's user avatar
4 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 ...
UlfR's user avatar
  • 387
5 votes
1 answer
6k 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 ...
youen's user avatar
  • 209
-1 votes
1 answer
128 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 ...
user64860's user avatar
  • 111