Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [reboot]

rebooting is the process of bringing down a system in a state where it will complete reinitialise, without removing power from the system. Use this tag for question related to problems with being able to reboot a system. For problems booting into a particular installed OS, use the appropriate bootmanager tag (e.g. [grub])

0
votes
0answers
4 views

NVIDIA DevBox with Ubuntu 16.04 and 4.4.0-137-generic kernel randomly reboots and automatically shuts down overnight

I've recently stated using an NVIDIA DevBox that has an ASUS bios, with ther kernel version and ubuntu version mentioned above. For some reasons the machine can't really be left on overnight, as it is ...
0
votes
1answer
30 views

What is the difference between using crontab -e and /etc/crontab [duplicate]

I wish to run stuff from startup and also trigger reboots using cron. I was using sudo crontab -e and adding commands there. The commands work apart from the reboots. The reboots do not happen all ...
0
votes
1answer
19 views

CentOS 7 fails to reboot my PC

I have small Pegatron PC with Linux. When I was using Windows 7, reboot worked correctly. I migrated to CentOS, everything works except #reboot. Computer is never turned off, it simply stops ...
0
votes
1answer
43 views

Can I save the working status of Ubuntu before reboot, and recover it after reboot?

Is it possible to save the working status of Ubuntu,and reboot it and recover its working status? By working status of Ubuntu, I mean things such as the programs that are running, and the statuses of ...
0
votes
1answer
60 views

How to writes the log on the screen during shutdown and startup (after grub)

As we know, when we startup the system (after grub) and when we shutdown the system, many logs will be printed on screen. I know that the kernel would write some logs of the kernel. But how about the ...
0
votes
0answers
42 views

Is it possible to distinguish signal from kernel at reboot and at kill from terminal

As I know, we can send a signal SIGTERM to a process by pressing ctrl+c or by using pkill -f processName. Also, when we reboot or shutdown, the kernel will send SIGTERM to each process too. So I'm ...
1
vote
1answer
45 views

How and when is the command string arg to reboot() with LINUX_REBOOT_CMD_RESTART2 executed?

The manpage of reboot() says LINUX_REBOOT_CMD_RESTART2 (0xa1b2c3d4; since Linux 2.1.30). The message "Restarting system with command '%s'" is printed, and a restart (using the command ...
0
votes
1answer
30 views

systemd service that reboots?

I am getting a new microSD flash ready for deploying a large number of BeagleBones, Blacks and Greens. There's a new-ish u-boot feature that is required for this, but I can't know in advance what ...
0
votes
0answers
39 views

Logging/tracking-down process that auto-reboots CentOS server at boot time

Background I have a bunch of CentOS servers with proprietary applications running on them which are part of a third-party security camera system supplied by an external vendor (i.e. I don't have ...
0
votes
0answers
51 views

Plasma 5 - shutting down kills apps

I'm using KDE/Plasma for several years now and I always had a problem with shutting down but it's just now it started to annoy me. The problem is that when I shutdown my laptop (with Plasma shutdown ...
-1
votes
2answers
51 views

How can I ssh into multiple password protected machines to reboot them?

I'm trying to write a bash script to reboot multiple machines via ssh that are all password protected. I have all the IPs listed in a .txt file and want the script to read the IPs from there. I've ...
0
votes
0answers
12 views

ACPI Shutdown works but not Reboot

I had originally thought that ACPI was not working on my system at all, but discovered that while a Shutdown operation successfully powers down the system, a Reboot operation will reach the Restarting ...
0
votes
1answer
51 views

Which logs to look when kernel reboots because of panic?

I wish to set kernel.panic=1 and kernel.panic_on_oops=1. Is there any log I can check before/after reboot, which will indicate that the reboot was because of a kernel panic?
0
votes
0answers
21 views

How to reboot a frozen linux unit

There is a PROD unit with Mindspeed c2000 and Linux(3.2.54) on it. It offers many services like SSH, LAN(connecting to back-end), 3G etc. At certain times the unit goes into freeze mode and no way to ...
0
votes
1answer
164 views

How to run a “Keep NumLock always on” command in Linux Mint 19 Cinnamon on each reboot / re-login?

In an answer of my question on Code Review: Keep NumLock always on in Linux (C++), I am pointed to the right solution for this problem, that being a command: setxkbmap -option numpad:mac which ...
0
votes
1answer
75 views

How to set cronjob or unit file to run after reboot

I have created cronjob as @reboot root sleep 75 && firefox but then I test it, but it didn't work. In /var/spool/mail/root it shows me this what I want to archive is after every reboot I ...
0
votes
1answer
364 views

dnsmasq not working after reboot

After rebooting, dnsmasq service is running, but does not respond to remote requests (trying using "dig @10.0.0.1 stackexchange.com" from another machine). The log looks good in my opinion: Aug 11 17:...
1
vote
2answers
396 views

Reboot sometimes hangs [closed]

My machine sometimes does not properly reboot. I am not sure what triggers it to work or not work. It happens sometimes both during automatic reboots when unattended-upgrades tries to reboot as well ...
1
vote
1answer
239 views

How exactly a 'shutdown -h' “HALT” differ from “normal shutdown” in linux [duplicate]

Suppose I have 20 process/deqamons running in my linux system, How different the HALT will have an effect on my process/deamons, when compared to a normal shutdown.., *Note: I need to understand.....
1
vote
3answers
501 views

Reboot over ssh

I'm trying to reboot a Teltonika RTU950 using ssh. I can log in as root via ssh and then reboot the router fine. However if i try to send the reboot command over ssh it does not work. ssh root@...
0
votes
1answer
25 views

Lubuntu: reboot-log-entries don´t seem to be correct

I´ve recently taken a look at my reboot-logs with last -x | grep reboot : reboot system boot 4.4.0-134-generi Tue Aug 28 12:20 still running reboot system boot 4.4.0-134-generi Mon Aug 27 14:...
2
votes
1answer
32 views

Any way to prevent computer from rebooting

I am trying to create an environment on my computer where it simply never receives updates or it might receive updates but still never reboot on its own. My question is can I achieve this on any ...
1
vote
1answer
2k views

CentOS 7 reboot error getting authority?

I'm trying to reboot the CentOS 7 after yum update, and getting the following error when I run sudo reboot. Error getting authority: Error initializing authority: GDBus.Error:org.freedesktop.DBus....
0
votes
1answer
313 views

Running script at shutdown and reboot to prevent chromium session loss

I'm running Ubuntu 18.04.1 and I'm trying to create a script that shuts down Chromium properly before shutting down the system so that it doesn't give me "restore session" popup after booting. I ...
3
votes
2answers
93 views

wget saving files as emply plain text files on boot

I have a bash script in crontab that runs @reboot: The script itself contains a wget command to pull and download a file from the internet When I run my script after signing in and opening the ...
2
votes
1answer
234 views

How does systemd stop services that don't have a unit file

Systemd can inherit orphaned processes, and there are other ways a service can be running without having a unit file for the given service. I want to know what the catch-all is for services that don'...
1
vote
1answer
280 views

Remote reboot for a fedora 27 machine with luks encryption

I run Fedora 27 on a pc, that mainly runs scripts for my work. In the beginning I was using it as my workstation so I chose full disk encryption while installing. But now the encryption serves no use ...
1
vote
2answers
451 views

Is reboot -f a safe way to cold-reboot?

On the machine I'm currently at, sudo reboot will only give me a warm reboot. Is sudo reboot -f a safe way to do a cold reboot (through BIOS)? I'm booting through MBR, not EFI and I'm using upstart (...
1
vote
0answers
30 views

Do we need to reboot RHEL Servers, after making changes for control-alt-delete override? [closed]

We are planning on disabling the RHEL Server reboot triggered by control-alt-delete. for which we are going to follow the Steps mentioned here. However, that link does not say whether we need to ...
0
votes
1answer
541 views

How to umount /var /usr safely on systemd without reboot

I have a Linux server on a VM which the reboot does work as powering off due to misconfiguration of a third part provider. I do not have access to VM configuration. The person who installed the ...
0
votes
0answers
116 views

System Reboot or shutdown in terminal prompts for retry after closing inhibitors and logging out other users

I was trying to shutdown or reboot my system given as a BYOD by organization for which I work. So, far I have tried this : And as you can see, each time I get this error : User root is logged in on ...
0
votes
0answers
26 views

Spontaneous turning off after reboot from Windows

How should I troubleshoot spontaneous turn off of my notebook running Debian Stretch? What happens: Boot to Windows (dual boot system with windows and Debian on separate drives) Reboot Boot into ...
1
vote
1answer
520 views

How to set ansible playbook to reboot servers

I want to be able to write one playbook to update all my servers in different environments - stage and prod. I do not want to reboot these servers every time there is an update to the kernel, I only ...
0
votes
1answer
69 views

3 Questions about having to do a hard shutdown and reboot

When I attempt to do a soft reboot or shutdown, the display hangs and the system is unresponsive for an inordinate amount of time. I therefore have to shutdown or reboot my setup by holding the power ...
0
votes
0answers
38 views

Waking up from hibernate-disk reboots the laptop

I recently upgraded Debian Jessie to Stretch and noticed that hibernation is possible to do, but booting the laptop afterwards tries to load the saved state and then reboots afterwards. I did not ...
1
vote
0answers
58 views

Is it possible to declare a regulator in the device tree that can power down the system

If I have, for example, a fixed-regulator declared in my device tree, how can I request Linux to call the disable function after shutting down? Note, I use a custom regulator driver (not fixed-...
1
vote
1answer
338 views

Systemd watchdog kills services after changing system time manually

I have been investigating to fix what appears to be a problem with systemd watchdog but with no success. I have a bunch of services that are of Type=notify. If the system time is set backwards, every ...
0
votes
1answer
124 views

unix throws error “sh: mntroot: not found” when doing sshpass with @host command, how to solve this?

My requirement : i want to pass some commands with sshpass command. ex 1: sshpass -p 'sshpass' ssh -oKexAlgorithms******* user@host touch /mnt/us/pass above sshpass example works perfectly. ex 2: ...
1
vote
0answers
2k views

Reboot is not working

I have the VM running with ubuntu(14.04.4). Sometimes, I just want to restart the VM by reboot command. When I execute the command, it prompts "success" but nothing happened. I checked the syslog, no ...
0
votes
2answers
2k views

My machine always reboot into the GRUB prompt instead of GRUB menu

I got a problem that is after rebooting grub CLI always appears instead of grub menu. For me the problem is not being unable to boot into any kernels (it is simple: type exit and enter twice do the ...
0
votes
1answer
57 views

fsck not performed during boot in spite fstab configured correctly

today we notice about very strange issue the following partition ( from /etc/fstab) defined with "2" in the end of the line that means that fsck will be activate during boot since the data on that ...
1
vote
1answer
719 views

Crontab job to restart application services after reboot of server

I have several applications that weren't configured to start up automatically. I am trying to figure out a way for those services to start up automatically after a reboot. Eg. This is one command ...
3
votes
1answer
106 views

systemd reboot threshold limit

Related: Limit system reboot burst I'm working for a commercial product that runs a camera service. This service is critical for the normal functionality of the system. So far, it is going good and I'...
2
votes
1answer
239 views

How to Force fsck for all other non-root partitions

We have the following disks and there mount point: /dev/sdb /appTdb/sdc ext4 defaults,noatime 0 0 /dev/sdc /appTdb/sdd ext4 defaults,noatime 0 0 /dev/sdd /appTdb/sde ext4 defaults,noatime 0 0 /dev/...
1
vote
0answers
382 views

how to know why Linux redhat machine performed reboot

we have cluster with redhat machines version 7.2 on pluto05 machine we saw that machine rebooted before one day uptime 13:51:06 up 1 day, 1:46, 2 users, load average: 0.30, 0.14, 0.08 and from ...
1
vote
1answer
49 views

Are runlevels 0 and 6 a result or a transition?

The runlevels 0 and 6 have the meaning of shutting down or rebooting the system. If I enter the command init 0, the system will shut down as a result. However my question is if the system is ...
0
votes
1answer
42 views

Output of cron on the ssh shell ?

OS: Centos 7 | Shell: Bash | Virtual Machine: Virtualbox I have created a short script to check few servers on startup of my application and need to run this on every reboot. I have configured the ...
1
vote
0answers
696 views

Any difference between a reboot vs. shutdown/restart on AIX?

Is a reboot functionally different than performing a shutdown/restart on AIX servers? If they are the same, why are the timestamps different between the 'last system boot' and 'last reboot'? $ who -...
2
votes
0answers
436 views

Is /var/run/reboot-required a reliable indicator of a needed reboot?

After updating two Ubuntu 16.04 servers with an update that did not include the kernel, but did include packages systemd and systemd-sysv, I checked the following file: ls -la /var/run/reboot-...
1
vote
2answers
1k views

What differences it will make, if i use “telinit 6” instead of “reboot” command to restart my computer? [duplicate]

I am trying to understand Run Levels in Unix, I found Runlevel 6 is state of reboot. So I tried to switch to run level 6 using the command telinit 6 and it worked same as reboot on my computer. I am ...