Questions tagged [reboot]

80 questions
2
votes
0 answers

'reboot' command doesn't work properly after 'cp' command, 'mv' behaves weird, as well

I have compiled C code running as a binary on an ARM. The ARM boots Linux from an SD Card using an old Image that was generated using buildroot. Within the C code I call a shell script that moves the new Image I want to boot with from a…
sdepot
  • 21
  • 1
2
votes
1 answer

Safe reboot cron job with fallback on SysRq reset issue

I'm trying to setup a cron job to reboot devices daily. With a safe callback to a SysRq reset if for some reason the reboot does hang (issue being that SSH gets killed and the device never reboots so it is lost and requires costly human intervention…
Olivier
  • 415
  • 3
  • 5
  • 15
2
votes
1 answer

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 remain in an 'OFF' state instead of restarting. I have…
2
votes
1 answer

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 shutdown I noticed my service is stopped after VCS…
Hellraiser
  • 21
  • 1
2
votes
1 answer

Host key changing during reboot

I have four Azure VM machines running Ubuntu 20.04.3 that I regularly shut down. Yesterday I shut them down, and early today I restarted them. Usually this presents no problems. Today, one of the machines started giving me the dreaded WARNING:…
blueFast
  • 4,200
  • 13
  • 37
  • 54
2
votes
1 answer

In Debian-based script: how to determine if kernel changed and needs reboot?

How can we (more) easily determine if a kernel-change-reboot is required in Debian, other than doing this in a script (which is a bit cumbersome)? Ubuntu has /var/run/reboot-required and per our experience it works well. However, thus far Debian (at…
Johnny Utahh
  • 227
  • 1
  • 3
  • 12
2
votes
0 answers

What is the time limit for IPMI soft reboot timeout to revert to hard reboot?

Using frucontrol you can specify a soft reboot ipmi request with the command ipmitool picmg frucontrol 0 2 Where the "2" at the end indicates a reboot, as opposed to a "0" which indicates a power off. When you issue the command it will "ask" the OS…
1
vote
1 answer

Windows Server 2016: No network cable detected after reboot

we recently made the 'mistake' to reboot one of our servers (INTEL Server Barebone R2312WFTZS S2600WFT). All went fine but after the system was up and running we could not connect via network. Checking directly at the server we could see that…
OlafW
  • 111
  • 4
1
vote
1 answer

Control-C sends control-alt-delete to my Ubuntu server over ssh

On my Ubuntu VM: Linux xxxxxxx 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux to which I am connected over SSH, I am running this command: sar 1 10000 | awk '{print $9}' | grep -v…
Jaor
  • 11
  • 2
1
vote
2 answers

Any harm in ignoring the `/var/run/reboot-required` flag?

Icinga notified us of the presence of a /var/run/reboot-required file on various servers. i.e. we were getting a SERVICE STATUS: CRITICAL file or directory /var/run/reboot-required exists message in Icinga. We duly did a reboot only to find a…
Snowcrash
  • 1,137
  • 2
  • 17
  • 19
1
vote
1 answer

Not able to ssh after reboot on aws ec2 instance "Connection timed out"

After rebooting an aws ec2 instance I am not able anymore to ssh into it, putty on Windows is telling me "Network error: Connection timed out" and the same happens from the command line on a Linux machine. The machine is running Ubuntu 16.04 The…
Niko Zarzani
  • 111
  • 1
  • 4
1
vote
1 answer

Cron Running @reboot jobs

I have Debian 8. Sometime when I run command the VPS got offline. From logs I see: Nov 14 07:22:34 localhost cron[386]: (CRON) INFO (Running @reboot jobs)
mark
  • 11
  • 1
  • 2
1
vote
1 answer

How often should a WSUS server be rebooted?

I've not been able to find info on this one. All my searches come up with info on rebooting the servers or computers that get their updates from the WSUS server, but not rebooting the WSUS server itself. I'm just trying to figure out what would be…
Mike
  • 143
  • 1
  • 1
  • 9
1
vote
1 answer

Does crontab @reboot work on debian 7?

I need a simple way to run some script on reboot: I read that @reboot in crontab can work, but looks like some linux does not accept it: Does it work on debian 7 ? Does it work on debian 8 ? Does it work on debian 9 ?
yarek
  • 827
  • 5
  • 13
  • 22
1
vote
0 answers

Different handling of reboot at "identical" Debian 8 servers

We have several servers, all running Debian 8 (up-to-date) and configured exactly the same by ansible. These servers run on different hardware / vps. However, there is a difference between them in how they react on a reboot command (in this example…
rmuller
  • 175
  • 1
  • 8