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])

Filter by
Sorted by
Tagged with
1
vote
0answers
570 views

Monit during reboot

We are seeing an issue using monit during a reboot or shutdown sequence. First some background of the some of the configuration of monit. Monit version is 5.5 Monit is started from inittab as null::...
0
votes
3answers
477 views

scheduler backup command history every restart

how to make scheduler backup command history every restart ? i try with crontab -e @reboot history > backup.txt and I reboot my pc there is a file backup.txt in directory but the file is empty, ...
2
votes
1answer
1k views

AutoSSH on startup with passphrase or otherwise protected key?

I need to setup a machine to AutoSSH on startup, but I would prefer a passphrase or some other form of protection to be placed on the key being used for SSHing. Is there anyway way to both protect the ...
0
votes
1answer
385 views

system occasionally fails to reboot/shutdown

I'm running a debian-wheezy based distro on an a set of armv5 boards. If I run the "reboot" command (either via ssh or serial console), it works fine most of the time. Occasionally (approximately ...
-1
votes
1answer
75 views

Two interfaces, both require the firewall to be up before starting

Say I have a couple of servers at DigitalOcean and I want them to talk to each others. DigitalOcean offers a WAN connection and a LAN connection. Problem is that both are insecure. The WAN is the ...
3
votes
1answer
537 views

How do I clean out my /tmp directory upon reboot?

I’m using Amazon Linux. Below is the uname info … [davea@mymachine ~]$ uname -a Linux sandbox.mydomain.com 4.4.18-35.99.amzn1.x86_64 #1 SMP Wed Jul 27 22:37:49 UTC 2016 x86_64 x86_64 x86_64 GNU/...
2
votes
1answer
167 views

Is there a way to perfrom a shutdown and after X seconds start the system again?

I would like to shutdown my system and boot it again after X seconds. Is there any command or service I can use to perform such task? The purpose: I perform the shutdown when I have the suspect ...
0
votes
1answer
2k views

My Debian /proc/cmdline gets reset every time I restart

Every time I restart my computer (running Kali Linux), the /proc/cmdline file gets reset, and reconfigures the root to /dev/sdb1, which leads to the boot failing (as /dev/sdb1 does not exist), and so ...
2
votes
0answers
757 views

Find out what's causing random restarts if /var/log/syslog is empty

I'm dealing with a server that randomly reboots every once in a while. Checked the power and nothing is wrong there. However the syslog is alway completely empty when it comes to the reboots, see the ...
1
vote
0answers
108 views

How to force script execution before shutdown or reboot is executed? [duplicate]

I have this service enabled by systemctl: [Unit] Description=The Oracle Database Service After=syslog.target network.target Wants=network.target [Service] LimitMEMLOCK=...
2
votes
0answers
179 views

How to force script execution before shutdown or reboot is executed? RHEL 7

I have this service enabled by systemctl: [Unit] Description=The Oracle Database Service After=syslog.target network.target Wants=network.target [Service] LimitMEMLOCK=infinity LimitNOFILE=65535 ...
2
votes
1answer
4k views

Bluetooth Mouse does not automatically reconnect on reboot

My mouse connects easy enough after booting up on Linux Mint 17.3 Cinnamon. Dell 3147, The mouse is a Logitech M557. But when I reboot of power off and log back in I have to repair the device even ...
1
vote
2answers
2k views

Reasons for a server to be unreachable, How to investigate?

One of my server which host a mongoDB is, sometimes and "randomly" unreachable. After a while, it come back, like nothing happend. During this period, impossible to open an ssh tunnel (timeout, don'...
3
votes
1answer
5k views

Ignore sshd inhibitors when rebooting

On my home PC, I set up sshd as an SFTP server so I could share files with my friends. However, when I attempt to reboot and someone has an SFTP client connected, I get the following message: $ ...
0
votes
0answers
29 views

How does reboot run without root password on the console? Can I get this to happen with other programs? [duplicate]

I login at the graphical console terminal on basically stock RHEL Linux 6, and type reboot in the command window. The system reboots without being asked for a password eventhough I am not the root ...
0
votes
1answer
1k views

Linux mint 17.3 doesn't shut down

Just installed Linux Mint 17.3 with KDE on HP probook 6470B. Installation went well, the system said it was restarting - DVD was ejected and system seemed to shut down but it didn't. I tried Ctrl+Alt+...
0
votes
1answer
993 views

Is it okay to modify Ubuntu Linux 16.04's /etc/fstab after I initialized it?

I modified /etc/fstab after I initialized it on an Ubuntu Linux 16.04 system running on an Lenovo Thinkstation desktop. After it messed up my Ubuntu Linux 16.04 system causing it to go into emergency ...
1
vote
0answers
35 views

Raspberry pi blocks completely after multiple reboots

I have a c++ program running on login on the raspberry pi, this program checks data for multiple devices attached on to it (Arduino Mega 2560 + Modbus RS485), gets inputted data from them and sends ...
0
votes
1answer
137 views

Nothing survives reboot in Debian Jessie

Running RasPBX based on Debian Jessie - I tried to change a few .conf files, but they always reverted following reboot. I initially thought this was dhcp messing with things, but it turns out nothing ...
2
votes
1answer
5k views

Ubuntu 14.04 black screen after Nvidia Driver 352

I wanted to make use of my Nvidia graphic card so after a little bit of reading I saw that it is possible to change it in the Additional Drivers. It's somewhat similar to here: Ubuntu 14.04 Nvidia ...
1
vote
1answer
539 views

custom shutdown script in rc6.d does not seem to be working.

I'm working with a software application that's a bit touchy so I wan't to shut the software down automatically on reboot or shutdown. I have created a script an placed it in /etc/init.d/ with a ...
0
votes
1answer
132 views

cross-reboot monotonic systemd timer

The timer functionality of systemd includes monotonic timers, which measure time in real uptime since some starting point after boot. This means that after a boot, the service triggered by the timer ...
5
votes
1answer
11k views

Time it takes to reboot a Linux server

Is there a way to work out how long it would take to reboot a Linux server? To clarify, the time from the reboot command starts to when the server is back up and running (ie all services started, ...
1
vote
1answer
32 views

Does `reboot` go through GRUB?

I had a pretty broken GRUB set up where booting required the enter key to be pressed. However today I ran sudo reboot and it powered off and came back up without a hitch. I doubt I fixed my GRUB issue ...
2
votes
0answers
653 views

Reboot takes too long

I have a Toshiba S55-B5280 which originally came installed with Windows 10 and after a while I decided to go with linux and try to install it. My choice was Manjaro Linux and so far it has work well ...
11
votes
2answers
65k views

Setting persistent environment variable in CentOS 7 issue [duplicate]

I have been trying to set environment variables that would be saved upon reboot, but without success. When I set variables using the export or setenv command, as root or any other user, it gets ...
1
vote
1answer
530 views

how to interrupt system reboot?

I currently have a system which reboots every 1 in 3 reboots, I can find the date time as to when and i can find out who (just says system) but I cannot find out why. I was wondering if it was at ...
1
vote
0answers
40 views

A machine running Ubuntu or Debian shutdown on reboot. What steps would you use to find what dev/driver is causing this?

I have a few of the same board that shuts down on reboot but never restarts. It does this with Debian or Ubuntu (yes yes, two sides of the same coin,) but does not do it in Fedora. I read of some ...
4
votes
2answers
16k views

Computer doesn't power off at shutdown/reboot (Arch) [closed]

My computer doesn't power off when I try to shutdown or reboot it, I'm forced to press the power button. At shutdown, a single _ is displayed (sometimes blinking, sometimes not). At reboot, two ...
0
votes
1answer
471 views

grub2-reboot without root

I use the following script (based on code here) to reboot to windows, so I can stop kicking myself every time I start daydreaming and miss the boot menu. #!/bin/bash ENTRY=$( grep Windows /boot/grub2/...
2
votes
1answer
332 views

Shutdown with keyboard press doesn't work

I have a Debian Jessie build, and I want to add keyboard shutdown. I've tried the following, without any success: Attempt 1 To /etc/inittab I added ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now ...
1
vote
1answer
536 views

Why do I still need to run shutdown as sudo after this?

I'm running Linux Mint 17.3. By default, running shutdown or other commands like reboot, poweroff requires root privilege. So I added the following line lesaff_b ALL=(ALL) NOPASSWD: /sbin/...
0
votes
1answer
125 views

How to fix Linux from doing fake Restarts?

How can I stop Linux from doing a fake Restart Computer when I go to select Restart from the Quit menu. What I mean by a fake restart is that, it goes to do a restart, shows the splash screen image ...
63
votes
6answers
10k views

Why does reboot and poweroff require root privileges? [duplicate]

To restart or shut off Linux from the terminal, one can use reboot and poweroff, respectively. However, both of these commands require root privileges. Why is this so? What security risk is posed by ...
-2
votes
1answer
728 views

What causes runlevel (to lvl 0)

What can cause my system to hit runlevel 0 during normal operations? shutdown system down 2.6.32-042stab11 Thu Dec 24 13:53 - 21:47 (1+07:54) runlevel (to lvl 0) 2.6.32-042stab11 Thu Dec 24 13:52 -...
0
votes
1answer
46 views

Finding out why Reboot only stops the system

I'm using puppy on a 500 MB ram machine.It works quite fine so far, but whenever I type in reboot........all stops and I need to manually shut down the machine and restart it (energy switch). I've ...
3
votes
1answer
116 views

Investigate an unwanted shutdown over the weekend

This morning my machine running Fedora 22 was in a state of shutdown showing, IIRC, something like the following, in fullscreen white on black terminal: [Rebooting] ... System halted. After holding ...
-2
votes
1answer
296 views

Does a Linux brand cause a Dell Latitude D620 notebook to hang during reboot process?

Recently, I installed Linux Trisquel 6 on a Dell Latitude D620 notebook (dual core cpu, 2GB DDR and 60GB hard drive), where previously Windows XP was installed. But Trisquel doesn't seem to support ...
0
votes
1answer
835 views

Two implementations of reboot?

Why do there seem to be two implementations of reboot on my linux system? # find . -name "reboot" ./etc/init.d/reboot ./sbin/reboot
1
vote
1answer
41 views

Check that mashine was rebooted

A GUI application is started by the normal user. It's doing stuff with the bootloader and then asks for reboot. The question is how to implement the second part: after reboot and login into the ...
0
votes
1answer
51 views

Debian Wheezy VPS reboots after each login

I have a Debian Wheezy vps on the cloud. Today I tried to login using the VNC console provided by my vps service provider but everytime I login the server automatically reboots after 5 seconds! Has ...
0
votes
1answer
3k views

Requiring a script to sync ramdisk before and after reboot

On a specific machine I use a lot of RAM to serve websites really fast directly from RAM (which by the way is working amazingly well). For this I have mounted a ramdisk in /etc/fstab (in debian 7, via ...
1
vote
0answers
29 views

Can I specify partition in “reboot” or any similar commands?

I like to make scripts for everything that takes a bit of time, and when I have to reboot to another partition, I press the reboot button and then hold alt (⌥) and then I have to choose partition. I'd ...
0
votes
1answer
1k views

Linux: System reboots instead of power off or shutdown on motherboard intel DB85FL

The question is: Whenever I ask the system to shutdown to power off, it goes to power off mode for like 2-3 seconds then it powers on automatically again without my intervention. I did not go manually ...
1
vote
0answers
203 views

RAID5 needs drive to be added every reboot

I have a 3 disk RAID5 mdadm array total 4TB on an Ubuntu Server 14.04.3 LTS. Since a kernel panic caused by an already replaced device unrelated to the array, after every reboot the array starts [UU_]...
1
vote
1answer
511 views

Send network connectivity ping from server to client

So I have a server and a client computer which I must have running on the network all the time. Somemtimes because I am running my client computer on WLAN the network goes down so I need to restart it....
0
votes
1answer
238 views

FreeBSD - Automatic reboots on boot attempts - init / getty failure?

$ uname -a FreeBSD MACH1 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 19:31:38 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 On booting, everything seems to run ...
6
votes
1answer
960 views

Kernel update - reboot needed or not?

I just updated our AWS Linux Server (which uses yum) and a new kernel is installed: kernel-4.1.10-16.27.amzn1.x86_64. It didn't state anything about restarting. According to this answer here I ...
1
vote
0answers
80 views

Why deconfiguring interfaces is a need on reboot?

When I reboot the Raspbian (Debian 7.8) it waits around 10 seconds before shutdown at "deconfiguring network interfaces" step. What would be if we make the system skip this step? Why is deconfiguring ...
2
votes
1answer
3k views

cronjob at resume from suspend

using linux. I know you can do an @reboot cronjob. I want to do an equivalent thing but instead of running at reboot, running after my computer awakens from suspend. Is that possible?