The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
29 views

Solved - Solaris 10 - Is it possible to reboot a system from a startup script?

I have a Solaris 10 test guest logical domain (LDom). I plan to have the network on this be reconfigured before rebooting using a startup script in /etc/rc0.d. At the moment, when the system boots, ...
2
votes
1answer
38 views

What is the use of “magic arguments” in Linux reboot system call?

As I was reading Linux source code, and more specifically the system calls code, I came across sys_reboot implementation: http://lxr.free-electrons.com/source/kernel/reboot.c#L199. 199 ...
5
votes
1answer
64 views

How to continue a script after it reboots the machine?

I'm writing a shell script in bash. At some point in the script, it detects that the machine needs to be rebooted before continuing. It issues: sudo reboot When the machine comes back up, there ...
2
votes
1answer
36 views

Why does Alt+SysRq+B not always trigger while REISU do?

On many different machines, when I come across a lockup, I often use Alt+SysRq+REISUB to reboot without too much losses. But I often noticed that although REISU commands work even when I just hold ...
2
votes
2answers
36 views

Automatically reboot, if no wifi connection for a certain time

It seems that my Raspberry Pi server loses wifi connection after a random time and is somehow not able to recover automatically. Usually a reboot done by hand resolves the problem. I would like to ...
2
votes
2answers
550 views

Is there a way to tell how many times my computer has rebooted in a 24 hour period?

I was doing a 24 hour code-a-thon and had to reboot numerous times and was wondering if there was a way to tell exactly how many the computer was rebooted or crashed.
5
votes
3answers
697 views

How long has my Linux system been running?

Is there a command I can type in a terminal that will tell me the last time a machine was rebooted?
1
vote
1answer
58 views

Unable to SSH into Google Cloud Server after Reboot

I was learning to configure a Debian server and familiarising myself with the common command lines. However, after executing the reboot command in SSH, my subsequent SSH connections were refused and ...
0
votes
0answers
65 views

Universal Access System Settings keep resetting after reboot

I am using Elementary OS Luna and each time I reboot my computer, the Universal Access settings keep getting reverted to the following state: I do not want the Sticky Keys feature so I disable it, ...
2
votes
1answer
41 views

Reboot when there is a hardware failure without physical access to machine?

I'm getting this error message whathever I do: $ sudo reboot bash: /usr/bin/sudo: Input/output error $ reboot bash: /sbin/reboot: Input/output error It's a hardware failure according to this ...
3
votes
1answer
157 views

Why isn't “REISUB” working on Debian?

I'm using Debian 'Jessie'. Sometimes my computer freezes, and then I can't use Ctrl+Alt+Supr to reboot, Ctrl+Alt+Backspace to kill the X Window System nor Ctrl+Alt+F1 to open a new shell. I've read ...
2
votes
3answers
1k views

Restart all services without reboot

I do some group permission changes on the CentOS server, And then need restart all services. How can I restart all services safely without rebooting?
22
votes
3answers
2k views

When is a reboot required?

Apart from upgrading the kernel, are there any changes to a Linux system that require a reboot? I know there are situations where a reboot makes things easier, but are there any that cannot be ...
6
votes
1answer
159 views

How to have Linux wipe/randomize/sanitize RAM at shutdown?

For mysterious reasons I still double boot sometimes into Windows. My problem is that I fear that information may leak because the RAM memory is accessible to Windows. (the Linux partitions are ...
1
vote
1answer
76 views

Debian, nonroot, cron, bash script and rebooting at specific time

As nonroot user, how can I schedule a reboot every day at 4:30am? 30 04 * * * /home/user/scripts/reboot.sh As a nonroot normal user, I'm sure the system won't allow me to use the reboot command. ...
3
votes
2answers
73 views

Remote executing Magic Sys Rq

Is it possible to execute Magic SysRq keys on remote machine, using SSH? For example I'm trying to run like this: xdotool key Alt+Sys_Req+H But I do not see any help in console, also in ...
1
vote
1answer
44 views

Is there a way to check which process terminates first during reboot

Assuming I have 2 processes running. Is there any way for me to check which process terminates first during reboot/shutdown? From this link, it tells about appending boot to a file. Yet, I still don't ...
1
vote
0answers
56 views

Can't use QWERTY layout after make IBus work with Dvorak layout after reboot

To keep my Input Method (Bogo or Unikey) of IBus working with Dvorak keyboard layout after reboot, I use sudo dpkg-reconfigure keyboard-configuration to set keyboard as Dvorak, and go to tab Advance ...
6
votes
3answers
744 views

“system is going down for reboot now”

I am connected to a beagleboard via tty and I suddenly see this message : Broadcast message from root@arm (unknown) at 11:40 ... The system is going down for reboot NOW! [ 143.036193] ...
1
vote
1answer
43 views

At what frequency is /var/log/wtmp updated?

What daemon is in charge of updating this file and at what frequency does it run ? When I type in last reboot I see : reboot system boot 3.5.0-45-generic Wed Jan 15 16:24 - 09:49 (14+17:24) ...
4
votes
2answers
2k views

crontab's @reboot only works for root?

man 5 crontab is pretty clear on how to use crontab to run a script on boot: These special time specification "nicknames" are supported, which replace the 5 initial time and date fields, and ...
5
votes
2answers
615 views

Is it possible to execute a script as first at shutdown/reboot on Debian?

I am currently trying to register a script (located in the /etc/init.d) in a way that makes this script being executed as the first script/programm at shutdown/reboot (change to running level 0 or 6). ...
0
votes
3answers
134 views

Disable cronjob after reboots

How can I prevent cronjobs from automatically starting after my server has rebooted? Every time I reboot my server the cronjobs start up again, which I'd like to prevent. These servers are running ...
1
vote
1answer
314 views

Debian can't reboot and asking for root password (maintenance)

I'm experienced some file system errors on Debian (seems caused by RAID controller). Files system now seems fixed. I reinstalled broken packages with some broken config files. System boots normally. ...
1
vote
1answer
194 views

last reboot/uptime/… strange behaviour

I know this has been more or less asked before but I still don't have any answer. I started to investigate why on my system (it is a remote machine) who -b and uptime gave different results (~3 days ...
1
vote
1answer
84 views

How do I power down on reboot?

I am programming for a Linux ARM device and have some situations where I need to reboot the device after a user prompt. Whenever I run reboot -f or shutdown -r now though, the system starts up with a ...
2
votes
1answer
834 views

Linux VM's disk went read-only = no choice but reboot?

I have several Linux VMs on VMware + SAN. What happened A problem occured on the SAN (failed path) so that for some time, there were I/O errors on the Linux VMs drives. When the path failover had ...
5
votes
1answer
356 views

how to reboot a frozen FreeBSD server from the serial console?

Linux has the "magic sysrq key" to reboot frozen machines remotely, and it works over the serial console, but what about FreeBSD? Is there a way to send a "control-alt-delete" to FreeBSD servers on ...
9
votes
1answer
257 views

Don't let users reboot while root's logged in

On my system users can reboot and shut down the system. From time to time I need to update software (or do anything else) and I don't want users to reboot/shutdown the system until I've finished. Is ...
2
votes
1answer
202 views

CentOs eth2 wont start on reboot

I have Cent OS 6.4 inside my virtualbox with two ethernet devices. One is connected to the internet with NAT, the other is connected to the internal network. here is my eth2 config file cat ...
1
vote
1answer
1k views

How to restart Alsa/PulseAudio after using Jack

After I use Jack, the PulseAudio outputs and inputs are replaced by a dummy device. I've tried to kill PulseAudio and reload Alsa, but the only way I can use an Alsa-based application again is to ...
2
votes
1answer
57 views

How do I identify on my system after successful boot. weather it was crash or was it a shutdown or reboot or something else?

Depending on the restart of the system, I need to make my application taking some follow up. my system is get restarted as following: my self as system admin rebooting sudo init 6 or sudo reboot my ...
1
vote
1answer
151 views

How to figure out what is performing scheduled server reboots?

I'm helping a friend with a server and it appears the server reboots every week on Sunday night. How can I figure out what is causing is the server to reboot? Aside from rebooting, the server appears ...
3
votes
1answer
587 views

Poweroff or Reboot as normal User

To run the command poweroff or reboot one needs to be super user. Is there anyway I can run this as a normal user? I just don't want to sudo and enter my password every time I reboot or power off.
3
votes
1answer
170 views

Rolling your own init: How to shutdown/restart?

After reading this answer, I thought it would be funny to roll my own init on Python, so I wrote this in /init-python. #!/usr/bin/python3 import os import subprocess # Make / writable! ...
1
vote
2answers
523 views

Warn users that the system is going down for a reboot

I'm new to linux server administration, and I wonder how you would warn users that the system is going down for a restart. According to LPIC1 Training here: ...
3
votes
7answers
726 views

Rebooting fails randomly

That is, the following command fails at times: $ sudo reboot The last message on terminal, after which the machine gets stuck, requiring a power cycle: Restarting system. I tried the following ...
5
votes
2answers
535 views

How can I ensure only the root user have the right to halt/reboot the system?

CentOS Linux by default allows all users to have permission to "halt" & "reboot" the system by using the commands halt and reboot. How can I configure my system so that only the root user has the ...
1
vote
2answers
2k views

Determine if reboot is required to update kernel?

I am running a server which runs on CentOS with cPanel (latest version) and I have it set to automatically update using yum. Since it needs to be rebooted in order to update the kernel (and possibly ...
2
votes
3answers
398 views

Do I need to stop processes like mysql or apache before “reboot”?

I have been wondering if issuing a reboot command safely stops running LAMP processes like MySQL or Apache?
1
vote
0answers
395 views

Why does my server not shutdown properly?

When I run $ reboot on my embedded FreeNAS 0.7 (FreeBSD 7.2) it does start the shut down procedure but seemingly hangs. I have registered a command to start a service script which is executed on ...
14
votes
1answer
2k views

Why are reboot, shutdown and poweroff symlinks to systemctl?

In Arch Linux, if I do ls -l in /sbin, I can see that reboot, shutdown and poweroff are all symlinks to /usr/bin/systemctl. But issuing reboot, shutdown and systemctl commands obviously does not all ...
2
votes
1answer
179 views

How to customize logout options under Kubuntu

I'm running a machine with Kubuntu and Windows XP in dual-boot. I recently learned about the very useful grub-reboot command, and id like to know if it is possible to customize the logout options ...
0
votes
1answer
1k views

What caused my CentOS 6.4 box to reboot itself?

I noticed that the MySQL daemon running on my CentOS 6.4 machine was suddenly not running anymore. I checked the MySQL log, but didn't see anything relevant: 121229 22:17:45 mysqld_safe mysqld from ...
5
votes
4answers
4k views

iptables rules not reloading on CentOS 6.x

I have one single ipset added to my iptables on a CentOS 6.x box and this rule is lost when the machine reboots. I've found this answer showing how to make a Ubuntu system reload the iptables rules ...
2
votes
0answers
218 views

gnome-settings-daemon not saving Settings after reboot; Mint 14 XFCE

I am running Linux Mint 14 with xfce on my Asus UX31A and switched to gnome-settings-daemon, because this way all the function keys work out of the box. Disabled XFCE Volume Daemon as advised here: ...
1
vote
0answers
649 views

Chromium OS says “Your system is repairing itself. Please wait” and then reboots

I downloaded ChromeOS-Vanilla-3851.0.2013_03_17_1641-r7af8fe3d.zip from chromeos.hexxeh.net, then extracted and "burned" to a 4GB USB drive with dd ...
0
votes
0answers
39 views

Frozen Linux Recovery Without SysReq

RHEL system has run out of memory and is now frozen. The SysReq commands are not working, so I am not even sure that /proc/sys/kernel/sysrq is set to 1. Is there any other "safe" way I can reboot ...
31
votes
4answers
29k views

What is the difference between reboot , init 6 and shutdown -r now?

I just want to know difference between in reboot init 6 shutdown -r now and which is the safest and the best?
2
votes
1answer
722 views

Apache boot without asking for passwd

So I'm maintaining a server which has a verified SSL certificate setup, however there is a password on the private key and so whenever apache is reboot, we get a message asking for the password. This ...