Stack Exchange Network

Stack Exchange network consists of 175 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])

3
votes
1answer
43 views

Resume Bash Script After Reboot

I have a bash script that changes some configuration in OS and database and it needs reboot then other commands are needed to be run. something like this: newvalue1= ip= . . some commands . ....
-2
votes
0answers
17 views

Two (seemingly) identical servers, but eno1 switched “off” after reboot on server 2

I have Debian 9 installed on two servers. They are identical as far as I can tell. When I reboot server1, internet comes up normally. When I reboot server2, there is no internet. I cannot ssh, ...
0
votes
0answers
13 views

I want ideas to trace which app is rebooting my android [migrated]

Some process is rebooting my phone every time it connects to Wi-Fi. I thought of connecting it to the PC and do an strace in init or zygote or the system server, but I don't know what to look for in ...
0
votes
1answer
13 views

Dirty unmount of nginx cache dir on reboot

I have a file based mount, used for nginx cache dir, so that the hundreds of thousands of little files don't clutter the main file system. It's fstab line is the following: /data/project/cache.img /...
2
votes
2answers
92 views

Is it possible to create a terminal command alias to automate CTRL + ALT + SYSRQ + R-E-I-S-U-O keypresses?

For whatever reason, my external harddrive pretty regularly experiences initramfs issues on boot, causing me to run $ fsck /dev/sdb2 -y to bring everything back in line. One thing I have noticed ...
3
votes
2answers
117 views

Systemd hangs when attempting shutdown

Distro: Gentoo systemd: 242 For a while, on both of the systems I have here, I've been unable to do a proper shutdown (halt, poweroff, reboot). It gets most of the way through shutting down services ...
2
votes
0answers
46 views

Linux freezes after reboot/shutdown

I'm running a Kali Linux with KDE Plasma and encountered an issue where I cannot logout/reboot or shutdown. I tried adding acpi=force, apm=power_off' and reboot=bios to the GRUB_CMDLINE_LINUX_DEFAULT,...
0
votes
1answer
50 views

How do I use Crontab to open a file at Linux startup only on a specific date?

matthew@matthew-pc:~$ crontab -l [...] @reboot 1 5 * sleep 10s && export DISPLAY=:0 && xdg-open ~/@/Testing.jpg "Testing.jpg" was not opened at Linux startup on May 1. How can I use ...
0
votes
0answers
6 views

Can't find the source of startup httpdmas at bootup

I have checked cron jobs but no startups referring to httpdmas. I have checked /etc/rc[0-6].d and /etc/init.d/rc.d/ (none) I have checked chkconfig for httpdmas and it is all off. chkconfig --list … ...
0
votes
0answers
32 views

reboot command in GRUB2 bootloader

I utilized multibootusb to create a bootable USB environment with multiple livecds. GRUB2 (GNU GRUB ver. 2.03) is the bootloader with some "minimal bash-like" shell that does not contain reboot or ...
0
votes
0answers
43 views

Fedora server reboot

I'm having an issue on a fedora server running on my laptop. I would like to get to the root of why Fedora decides to reboot automatically after a certain error: Apr 10 06:14:33 Leviathan.mendelev....
9
votes
1answer
1k views

Download, install and reboot computer at night if needed

How can I write a script in Ubuntu such that it download updates at night when I sleep and reboots the computer if it needs a reboot?
1
vote
0answers
39 views

Reboot/poweroff an attached computer on reboot/poweroff of master system?

I have two computers (let's call them master and slave) connected via ethernet with static IP addressing. What I want to achieve is to reboot slave whenever master is rebooted, and power it off ...
1
vote
0answers
93 views

Kali linux crash on desktop

I made a Kali bootable USB drive with latest Kali release (Kali linux 64 bit, version 2019.1a https://www.kali.org/downloads/). Loading Kali and doing any action on desktop (like moving mouse for a ...
2
votes
0answers
15 views

Run interactive script before reboot

CentOS VM. I got a script for updating firmware that I would like to run before each reboot. However, I want to get user confirmation before the script is actually run. I put the script in /etc/init....
0
votes
1answer
28 views

How investigate sporadic restarts

The system is : Debian 8.1 run on embedded system with ARM7V CPU 2 GB RAM and 4 GB flash. The system sporadically restart itself couple time in day, before a week with appear very rare. What is the ...
1
vote
1answer
743 views

Hanging on reboot with black screen and blinking underscore

Everything works, but when I reboot via "systemctl reboot" or through GNOME, it will never actually reboot, but instead it gets stuck in a black screen with blinking underscore cursor, and I am forced ...
0
votes
0answers
11 views

How to find the apps/packages/patches/configurations pending for reboot on hp-ux?

A few config changes carried out, but didn't reboot. Now,I would like to know the patches/apps/packages/apps/configurations pending for reboot for change config verification purposes. While googling, ...
0
votes
1answer
47 views

kernel error in CentOS 6.9

Recently I see these messeges in my /var/log/messeges and dmesg | less: kernel: INFO: task flush-8:32:1065 blocked for more than 120 seconds. kernel: Not tainted 2.6.32-696.el6.x86_64 #1 ...
0
votes
0answers
16 views

Can I reboot Ubuntu automatically if everything important is saved?

Is it possible to configure Ubuntu such that it will install updates on night when I'm not using computer and reboot the computer if it needs rebooting and there is no unsaved works? It would be nice ...
1
vote
1answer
835 views

Shutdown and reboot hang

9 times out of 10 my computer would take ≅ 2 minutes to shutdown or reboot. I tried many things like adding systemd and/or shutdown to initcpio hooks, but no luck. reboot -f never hangs so I followed ...
1
vote
2answers
62 views

Will the kernel ensure filesystems be in a clean state when restart/poweroff?

What does reboot(LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_POWER_OFF, NULL) syscall do with filesystems exactly? I know some still cache-in-memory data will be lost, but if I never ...
-1
votes
1answer
16 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
110 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
64 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
73 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
65 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
57 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
65 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
32 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
60 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
66 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
83 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
35 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
176 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
26 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
316 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
425 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
867 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
774 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
539 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
2k 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
29 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
3k 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
675 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
124 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
410 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
456 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
980 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 (...