reboot(8) System Manager's Manual reboot(8)Name
reboot - automatic reboot procedures
Syntax
/etc/reboot [ -n ] [ -q ]
Description
The ULTRIX system is booted by loading a kernel image, usually into memory at location zero and transferring to zero. Because the system
is not reenterable, the kernel image must be read in from disk each time the system is bootstrapped.
When the reboot of a running system is desired, is normally used. If there are no users, can be used. The command causes the disks to be
synced, and then a multiuser reboot is initiated. The system is booted and an automatic disk check is performed. If the procedure suc-
ceeds, the system is then brought up for the users.
The system will reboot itself after a power failure or after a crash, provided auto-restart is enabled on your system. A consistency check
of the file systems will be performed and, unless the check fails, the system will resume multiuser operations.
Options-n Prevents the disks from being synced.
-q Reboots quickly and ungracefully, without shutting down running processes first.
Files
System code
See Alsocrash(8v), fsck(8), halt(8), init(8), newfs(8), rc(8), shutdown(8)reboot(8)
Check Out this Related Man Page
reboot(2) System Calls Manual reboot(2)Name
reboot - reboot system or halt processor
Syntax
#include <sys/reboot.h>
reboot(howto)
int howto;
Arguments
howto The howto argument is a mask of options passed to the bootstrap program.
The bits of howto are:
RB_HALT
the processor is simply halted; no reboot takes place. RB_HALT should be used with caution.
RB_ASKNAME
Interpreted by the bootstrap program itself, causing it to inquire as to what file should be booted. Normally, the system
is booted from the file "xx(0,0)vmunix" without asking.
RB_SINGLE
Normally, the reboot procedure involves an automatic disk consistency check and then multi-user operations. RB_SINGLE pre-
vents the consistency check, rather simply booting the system with a single-user shell on the console. RB_SINGLE is inter-
preted by the init(8) program in the newly booted system. This switch is not available from the system call interface.
Only the superuser may a machine.
Description
The system call reboots the system, and is invoked automatically in the event of unrecoverable system failures. The system call interface
permits only RB_HALT or RB_AUTOBOOT to be passed to the reboot program; the other flags are used in scripts stored on the console storage
media or used in manual bootstrap procedures. When none of these options (for example, RB_AUTOBOOT) is given, the system is rebooted from
file in the root file system of unit 0 of a disk chosen in a processor-specific way. Normally, an automatic consistency check of the disks
is then performed.
Return Values
If successful, this call never returns. Otherwise, a -1 is returned, and an error is stored in the global variable errno.
Diagnostics
The call fails under the following condition:
[EPERM] The caller is not the superuser.
See Alsocrash(8v), halt(8), init(8), reboot(8)reboot(2)
I am trying to change an IP address on a machine running HPUX10
After I change it I can ping it from the outside but it completely locks the console. After a reboot it returns back to its previous IP. Any ideas??
Thanks
Brian (7 Replies)
I have 4 V440 servers running Solaris 9. I have their interfaces configured (ce0) and have connectivity to our network. However, after reboot,...the connectivity is lost although the interface shows that its still up after an ifconfig -a.
Only after I reconfigure the interface do I restore... (19 Replies)
Hi,
My system has added an entry to the cron:
--> crontab -l
0 00,12 * * * wall%rc.powerfail:2::WARNING!!! The system is now operating with a power problem. This message will be walled every 12 hours. Remove this crontab entry after the problem is resolved.
I have had an issue... (8 Replies)
Hello.
system fails on reboot this AM.
received message about not possible for kernel to find process that caused crash.
system does memory dump succesfully, then tries to boot again.
looking further at messages during this time, i'm getting 'init died with return value 256'...system panic... (12 Replies)
Hello,
I looked around but can't find a clear answer on this. Is there a way to shedule a box to reboot say on the first sunday of every month? Does it involve the cron.monthly file somehow, I googled and can't find how those cron.weekly, cron.monthly files function... This would be for Suse 9... (8 Replies)
Hi,
When I am trying to boot my SUN Netra 240 Machine its giving some boot error.
> {1} ok boot -i
> Boot device: /pci@1c,600000/scsi@2/disk@0,0:a File and args: -i
> Boot load failed.
> The file just loaded does not appear to be executable.
> {1} ok
I tried to boot it from cdrom... (9 Replies)
Dear all experts,
Recently the daily batch run process (run using Java Runtime Execution)suddenly run slow. Our apps vendor came in and check and request to reboot the server. After rebooting of the server, the batch run back to normal.
May I know is periodically rebooting of pSeries server is a... (9 Replies)
Hi All.
I am pretty new when it comes to Linux. My admin left on vacation and has presented 2 new disks to the server but they won't be seen until I can reboot the box this weekend.
Once that happens I need the steps to make it available to my server and mount them as new filesystems. One will... (25 Replies)
I'm working as sys admin on a db server that's currently serviced by 30x 15k disks and is getting about 3000-3500 iops. A consultant has suggested we can replace that with 10x 10k disks and 700g of flash. He has not performed any testing to determine the working set, growth patterns, etc... and I... (11 Replies)
Dear Guys ..
I'm going to Upgrade one of the servers AIX 6.1
I want to stop rootvg mirror to save the mirror then upgrade to AIX 6.1 this is to help me in rollback if something goes wrong but ..
can anyone help me how to make sure that system is relay mirrored and how to know that second... (10 Replies)
I am running an automated microscope (LIBRA) on SCO openserver.
I would like to set up the system on younger hardware but I am missing installation disks for acceleratedX (X inside inc).
Can anyone provide the disk contents ?
Thanks a lot! (9 Replies)