08-24-2006
IP setting changes after server reboot
I've recently changed my gateway setting using SMIT. Everything went fine except that the gateway setting kept reverting back to the old one everytime I reboot the server.
I'm on AIX 5.2 running p-Series. Thanks for any info.
9 More Discussions You Might Find Interesting
1. SCO
Dear sir,
I am using sco open server 5.06.How we can reboot the system without using root password? Whar are the permision need to change to do this.
Thanks,
Mostafizur Rahman (3 Replies)
Discussion started by: rahmanm
3 Replies
2. Shell Programming and Scripting
I want to get an email alert from a cronjob when a server got rebooted unexpectedly. Please help. Thanks! :confused: (2 Replies)
Discussion started by: angloi
2 Replies
3. UNIX for Advanced & Expert Users
hi all, :)
for a reboot of sun box for patch installation i would like to know where do the reboot logs apart from /var/adm/messages and patch run messages would be available,
i would like to know the sequence of messages logged in the file like
requesting the users to log out
sending a... (1 Reply)
Discussion started by: matrixmadhan
1 Replies
4. Solaris
I'm not an advanced user by any strech, that being said here is my problem:
I ran "reboot" on a sun blade 2500
When loading up it runs through the usual routine, checking disks, filesystems and then it locks up
after the following message:
*****
starting rpc services: rpcbind... (6 Replies)
Discussion started by: eyukins
6 Replies
5. Solaris
Hi All,
I want to know the procedure like if server is down, i want to reboot the server through console ($rsc or $sc prompt).Could you please help me out.
I would really appreciate your cooperation.
thanks for understanding
regards
krishna (5 Replies)
Discussion started by: murthy76
5 Replies
6. Solaris
Hi Gurus
Recently i had change the gateway for a server
i had change the IP in the /etc/defaultrouter
and run the below command
# route add default 10.86.33.222
# route delete default 10.86.33.1
# netstat -rn
Routing Table: IPv4
Destination Gateway Flags Ref ... (2 Replies)
Discussion started by: SmartAntz
2 Replies
7. Linux
We reboot our linux servers daily. Is it needed ? (10 Replies)
Discussion started by: linuxadmin
10 Replies
8. Solaris
Hi,
anyone please let us know how to write shell script to find the missing mountpoints after server reboot.
i want to take the mountpount information before server reboot, and validate the mountpoints after server reboot if any missing.please let us know the shell script from begining to end as... (24 Replies)
Discussion started by: VenkatReddy786
24 Replies
9. Red Hat
Hi,
The server got rebooted and below messages can be seen in /var/log/messages
Sep 7 10:49:12 minersville kernel: Call Trace: <IRQ> <ffffffff80167420>{__alloc_pages+796}
Sep 7 10:49:12 minersville kernel: <ffffffff80182814>{kmem_getpages+106} <ffffffff80183c16>{fallback_alloc+304}... (3 Replies)
Discussion started by: admin_db
3 Replies
REBOOT(2) System Calls Manual REBOOT(2)
NAME
reboot - close down the system or reboot
SYNTAX
#define _MINIX_SOURCE 1
#include <unistd.h>
int reboot(int how, ...)
DESCRIPTION
Reboot() is used to close down the system. It allows several ways of shutting down depending on how:
reboot(RBT_HALT)
Halt the system and return to the monitor prompt.
reboot(RBT_REBOOT)
Reboot the system by letting the monitor execute the "boot" command.
reboot(RBT_PANIC)
Cause a system panic. This is not normally done from user mode, but by servers using the sys_abort() kernel call.
reboot(RBT_MONITOR, code, length)
Halt the system and let the monitor execute the given code of the given length. (code is of type char * and length of type size_t.)
reboot(RBT_RESET)
Reboot the system with a hardware reset.
Reboot() may only be executed by the super-user.
DIAGNOSTICS
If the call succeeds, it never returns. If something went wrong, the return value is -1 and an error is indicated by errno.
SEE ALSO
shutdown(8), reboot(8), halt(8), sync(1).
NOTES
Minix can not return to the monitor if running in real mode, or if started from MS-DOS. This means that most of the reboot functions will
change to a reset.
AUTHOR
Edvard Tuinder (v892231@si.hhs.NL)
REBOOT(2)