Even after linux reboot, virtualbox is slow
location: ubuntuforums.com - date: June 7, 2008
My virtualbox program is very slow. Is that too happening to you ?
Linux reboot after upgrade
location: ubuntuforums.com - date: August 3, 2009
I thought you didn't have to reboot after updates/upgrades on Linux.
I just upgraded and it's telling me to reboot, why?... I switched from Windows to Linux to have less reboots but apparently they're the same..
Linux reboot issue
location: linuxquestions.com - date: December 17, 2013
Could any one help me with the issue that the linux server reboots itself.
My Server is HP P70 REDHAT 6.2 Linux 2.6. Thanks a lot ! the log in /var/log/messages around the reboot time is as below:
how to do a linux reboot from php file
location: linuxexchange.com - date: June 13, 2014
I have a user brftv on my linux system and I have www-data that runs the nginx.
from the terminal I can let my brftv user run
and it works fine since I added the following to my /etc/sudoers file's "#user privilege specification" section:
brftv ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff
www-data ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff
But when my php file runs the following code, nothing happens
exec('nohup sudo -u brftv /sbin/reboot');
I added the www-data line to the etc/sudoers above in case it was necessary when running the above exec() (even though I run it as -u brftv, but I'm no linux expert, just thought better be safe just in case).
The php file that runs this exec() is owned by www-data, and chmod is 777, all should thus have privilege to execute from it.
I have tried running the php-file both through browser (would be run by user www-data I assume) and from terminal $ php myFile.php.
------------------- UPDATE ------
Magic numbers of the Linux reboot() system call
location: linuxexchange.com - date: January 26, 2011
The Linux Programming Interface has an exercise in Chapter 3 that goes like this:
When using the Linux-specific reboot()
system call to reboot the system, the
second argument, magic2, must be
specified as one of a set of magic
numbers (e.g., LINUX_REBOOT_MAGIC2).
What is the significance of these
numbers? (Converting them to
hexadecimal provides a clue.)
The man page tells us magic2 can be one of LINUX_REBOOT_MAGIC2 (672274793), LINUX_REBOOT_MAGIC2A (85072278), LINUX_REBOOT_MAGIC2B (369367448), or LINUX_REBOOT_MAGIC2C (537993216). I failed to decipher their meaning in hex. I also looked at /usr/include/linux/reboot.h, which didn't give any helpful comment either.
I then searched in the kernel's source code for sys_reboot's definition. All I found was a declaration in a header file.
Therefore, my first question is, what is the significance of these numbers? My second question is, where's sys_reboot's definition, and how did you find it?
EDIT: I found the definitio
Linux reboot function called in C program causes file loss created by the program on disk
location: linuxexchange.com - date: August 18, 2014
I have developped a C program (Linux), this program create a new file and write into, after that it reboots the PC.
After reboot, I have lost the file created by my program. When I deactivate reboot function, the file created by my program is still present.
This behaviour is seen with Linux:
- OpenWrt (Backfire 10.03) on VirtualBox (filesystem ext2)
- Linux (Ubuntu) (filesystem ext4)
Have you an explication for this behavior and how can I fix it?
int main ()
pFile = fopen ("/home/user/Desktop/example.txt","w");
if (pFile == NULL) perror ("Error opening file");
Normal to assert RTS/DTR lines during a linux reboot?
location: linuxexchange.com - date: September 18, 2015
Sorry for such a boring question but this serial port behavior has been driving my team nuts.
Basically when we reboot our Linux board it asserts (voltage low) the RTS/DTR line on the serial connection which unfortunately resets another board we are connected to. We would like to know if this is normal behavior and if so is there a way to prevent it (keep voltage high)? Some apps we have tested with this are minicom, putty and the popular java RXTX library and for all apps they will assert the RTS/DTR lines when we connect to the port. It would be helpful to know if this is the OS/kernal doing it or the apps themselves. Would greatly appreciate any help understanding what is causing the assertion.
Shutdown and Reboot Linux System via php script
location: linuxquestions.com - date: March 21, 2009
How to shutdown and reboot the linux system via php script. We have used more linux commands in php exec, shell_exec and system functions. But the commands are not working properly in php script. The commands are working in linux terminal. Please help me.
Linux time change after reboot
location: linuxquestions.com - date: January 5, 2006
i'm using linux 7.2. recently, i've no idea why the server date time will always auto change in advance 7 hours after i've reboot the machine.
appreciate for help, tq.
How to reboot linux machine automatically
location: linuxquestions.com - date: July 28, 2005
How do I perfom a unattended linux reboot at a particular time- say at 10 p.m. every night.
Will the command "shutdown -h 22:01 -r now" work? If not what is the right command. Thanks
Page: 1 2 3 4 5 6 7 8 9 10