Questions tagged [reboot]
The reboot tag has no usage guidance.
85
questions
13
votes
3
answers
3k
views
Finding how a Linux system was booted
I have a remote server, running Linux 5.19.0-41-generic x86_64, I am trying to find out how it was booted.
Apparently, it does not use systemd :
PID 1 process is bash.
ps -p 1 -o comm=
bash
...
10
votes
2
answers
4k
views
How can I make Linux reboot instead of remounting the filesystem as read-only?
Linux systems sometimes remount the root file system as read-only, e.g. if there's an I/O error.
I have a machine that becomes useless when this happens, and I end up rebooting it manually.
Is there a ...
8
votes
2
answers
11k
views
Automatic Reboot at specific time if Automatic Upgrade requires Reboot
I have setup automatic updates and it updates automatically. However, there are updates that require a restart and I know
Unattended-Upgrade::Automatic-Reboot "true";
will set it to reboot. ...
5
votes
2
answers
17k
views
Restart all services in Linux without rebooting kernel?
I have remote machine that has encrypted drives thus each full reboot requires physical access to machine. Machine just experienced issues with lack of disk space so part of running services crashed / ...
5
votes
1
answer
3k
views
NFS shares dissappear after reboot of Windows server
I have a server running Windows Server 2016 with the File Server Role (NFS Server) enabled. On this server an iSCSI disk is mounted as disk S:. One folder on this disk (S:\EXCHANGE) is an NFS Share.
...
5
votes
1
answer
9k
views
Windows Server 2012 R2 DC's take almost exactly an hour to reboot after Windows Updates
For several months now, every time any of our 3 Windows Server 2012 R2 domain controllers reboot, they're unreachable for an hour according to our network monitoring software (PRTG).
I can see from ...
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 ...
4
votes
1
answer
14k
views
Windows Server 2016 automatically restart
We've had a 2016 reboot on critical servers after updates! Even worse, during operating hours!
We have a group policy to prevent an automatic restart of the servers if a new update(s) is available:
...
4
votes
3
answers
2k
views
How can I reboot server when HTTP stop responding on AWS EC2
I have a server on Amazon EC2 and I would like to reboot it whenever it stops responding for HTTP requests. It is a single micro instance.
I was thinking about using AWS Lambda but I could not find ...
3
votes
1
answer
3k
views
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 ...
3
votes
0
answers
621
views
Perfmon counters are not restarted after reboot
The question has a long history, and I went through all previous questions (1, 2) but neither of them answers the question why the standard way doesn't work? If I don't want to use logman how can I ...
3
votes
1
answer
3k
views
All methods of making iptables persist are not working
I set rules in iptables a few months back and used iptables-persistent to make the rules persist through reboot. I just updated my rules and am trying to make them persist but nothing is working they ...
2
votes
1
answer
689
views
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 ...
2
votes
1
answer
1k
views
Order in which Linux services are stopped during reboot/shutdown
On a KVM VM running Centos 7.5, I have a service running that writes to an NFS-mounted file system. When a shutdown or reboot is issued, the service is throwing an exception that indicates that it ...
2
votes
1
answer
80
views
How to make logwatch show a reboot event in the report?
Our environment consists of several workstations and servers, all RHEL (CentOS 7) and with logwatch (currently v7.4.0) installed. A custom cron job sends daily logwatch reports via email. The command ...
2
votes
1
answer
238
views
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 ...
2
votes
1
answer
103
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 ...
2
votes
0
answers
201
views
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 ...
2
votes
0
answers
1k
views
Automatic reboot of server for no reason
My server has restarted and I can't find a reason for this..
Installed on kvm virtualizor server.
I checked the logs but didn't see the reason for the restart.
last +x reboot
[root@localhost ~]# ...
2
votes
1
answer
2k
views
Cluster Shared Volume Owner Node After reboot
Problem:
In a failover-cluster (Hyper-v) the CSV (iSCSI) gets "pulled" to the node that just restarted (after updates) when i don't want it to.
I can not find any setting defining CSV owner ...
2
votes
0
answers
3k
views
watchdog watchdog0 watchdog did not stop
I have a computer that always has issues restarting/shutting down. I've installed many Linux distributions on it, including Debian 9 and VMware Photon OS, and I always have the same issue.
When I ...
2
votes
0
answers
58
views
'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 ...
2
votes
1
answer
3k
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
vote
1
answer
4k
views
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 ...
1
vote
2
answers
1k
views
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 ...
1
vote
1
answer
754
views
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 ...
1
vote
1
answer
2k
views
PostgreSQL: enable pg_stat_statements without server reload
I'd like to enable extension pg_stat_statements. It was installed as an extension.
But I cannot see it until server is rebooted. Is there any way to avoid reboot? I tried:
/etc/init.d/pg... reload
...
1
vote
1
answer
5k
views
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 ...
1
vote
1
answer
8k
views
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)
1
vote
1
answer
118
views
VM Windows Server 2022 does not start on its own after reboot
I have a VM created in google cloud, where I use a Windows Server 2022 Datacenter, but every time I restart this machine through the remote connection through my windows 11, the VM does not start by ...
1
vote
1
answer
104
views
Read-only filesystem => boot hangs
From time to time, I encounter a situation where my remote Ubuntu Linux server (18.04 LTS) experiences disk IO errors, resulting in the filesystem becoming read-only. While I can SSH into the server ...
1
vote
0
answers
1k
views
Ubuntu 22.04.1 LTS (Jammy Jellyfish) Hangs On Reboot (sometimes)
I have an Intel NUC NUC8I7HNK which I have installed Ubuntu on. If I reboot the system and then reboot it again everything is fine. Reboots without problem.
However, if I let the system sit for a ...
1
vote
0
answers
54
views
How to ensure execution of time consuming task on reboot/shutdown?
I have a bash script that is supposed to execute on reboot/shutdown of a remote Ubuntu server, connected over SSH:
ls /etc/rc{0,6}.d/k99*
/etc/rc0.d/k99_stop_all /etc/rc6.d/k99_stop_all
The script ...
1
vote
0
answers
364
views
Veritas Cluster nodes reboot when another is reset or hard turned off
We are conducting bi-yearly resiliency test on a 4 node VCS cluster. With two applications running on nodes 1-3 and 2-4 resp. in active-standby mode.
When making a manual switch over, or a graceful ...
1
vote
1
answer
245
views
Ubuntu Lenovo Server takes 3 hours to reboot
Since the beginning of the month, automatic reboot after kernel change takes ... 3 hours.
It is a Lenovo Thinksystem server in a datacenter.
journalctl -b -1 ends with:
juil. 23 03:02:25 host systemd-...
1
vote
0
answers
312
views
Planned reboot of Hyper-V guest caused unplanned Hyper-V host reboot
System: Windows Server 2016 Standard, fully patched, both host and guest(s).
A strange thing happened today when I rebooted one of my Hyper-V guests (by RDP-ing to the guest and manually triggering a ...
1
vote
1
answer
2k
views
Auditpol gets reset after rebooting
I have created a script that deletes a file and updates some advanced auditing settings using auditpol. However, whenever the computer gets reset, those auditpol changes get reset as well. Is there ...
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 ...
1
vote
1
answer
1k
views
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. ...
1
vote
1
answer
164
views
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
vote
0
answers
31
views
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 ...
1
vote
0
answers
1k
views
CENTOS 7 - incrond service doesn't start properly on reboot
I'm having some trouble with incrond not starting properly after a reboot.
If I check the service, everything looks ok:
$ systemctl is-active incrond.service
active
$ systemctl is-enabled incrond....
0
votes
1
answer
1k
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 ...
0
votes
1
answer
2k
views
Linux symlink does not working after reboot
I have created on our Debian squeeze my own daemon from skeleton where is my application starting (+I add there some logging to my log file). I have put this file to /etc/init.d/
cp /home/ja /etc/...
0
votes
1
answer
850
views
Ports not reachable after reboot
after I rebooted my server, I can no longer ssh into it. I am running headless Ubuntu 20.04.5
After investigating the problem, I've noticed, that all ports on my server appear to be closed (using an ...
0
votes
1
answer
712
views
SSHd on Fedora 36 doesn't start after boot, even after systemctl enable sshd.service
When I boot my desktop sshd is not running:
=$ systemctl status sshd.service
○ sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: ...
0
votes
1
answer
455
views
Debian reboot suggested after kernel update since Bullseye
So I've been using Stretch as a production server for a small academic research office.
Had a nice ~500 or so days of uptime, and I kept it up to date as updates rolled.
This summer, Stretch was ...
0
votes
1
answer
154
views
How to run a shscript on reboot
I am trying to run a script on reboot that enables a port forward to a remote server. I made i script that it works if i run it in terminal. But i am not able to run it on crontab reboot:
@reboot ...
0
votes
1
answer
765
views
How to restart centos 6 server from cron
I realize this is frowned upon. Many will suggest they don't recommend doing a server restart from cron because it's not being monitored. In my case I would like to do this, the reason is because ...
0
votes
1
answer
114
views
Reboot Ubuntu from MSSQL
I've written a stored procedure that I use as a scheduled job in MSSQL to reboot a list of servers, I also log all response messages as errors\warnings in case reboot doesn't go well. All was fine as ...