06-06-2008
"My solaris server is rebooting, not sure how!!! "
Are you talking abt a system panic? I don't get you as why you're talking abt apache in the midst of server reboot issue.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a monitoring script that checks on the content of an alert file, I'm doing some checks on weather I have already reported on the alert (there is one alert per file). If I find that the content is the same as before how can I stop and restart the loop until there is differences bewteen the... (5 Replies)
Discussion started by: nhatch
5 Replies
2. Solaris
Hi
I have changed my timezone using the command
export TZ='Asia/Calcutta"
but teh affect is taking place only in teh shell where I am logged in. If I export teh variable when I open the new session, things are fine.
Can I affetct the change universally, without restarting the server.
... (2 Replies)
Discussion started by: krishan
2 Replies
3. Solaris
How can I make sure that all the database instances are shut down and brought up when the server is restarted.
Krishan (3 Replies)
Discussion started by: krishan
3 Replies
4. Solaris
Dear guys,
Pls help me this case. I telnet normally to Solaris. After restarting it manually, I can only console, cannot telnet from my latop although I can ping it. I checked
/etc/default/login
/usr/sbin/in.telnetd
/etc/inet/inetd.conf
All these files are the same.
I don't see telnet... (2 Replies)
Discussion started by: wipi
2 Replies
5. UNIX for Dummies Questions & Answers
I'm trying to power on our SUN m4000 server after a recent shutdown. When I try to connect to the xscf console I'm getting prompted for a password. The system is not asking for a login just a password. Below is the output from the xscf console.
Anyone know how I can safely get back to the... (0 Replies)
Discussion started by: orahi001
0 Replies
6. Shell Programming and Scripting
Hi,
We have hosted our application on AIX server. The problem is that we have to start our application manually once the server is rebooted. Please guide me in writing a script that does this job automatically with the re-start of the server. I'm looking for something like windows services in... (2 Replies)
Discussion started by: himanshu397
2 Replies
7. Solaris
If I want to restart sysedge on a solaris box and it does not want to come up. It gets stucked. How can I check where the sysedge pid file so I can delete it and try to start sysedge again?
What can cause sysedge to not come up?
Thanks, (0 Replies)
Discussion started by: Pouchie1
0 Replies
8. Programming
Hi,
I use gfortran to run the code. Some times I need to stop the program
and restart it. On restarting I need to run the program from the beginning.
Is there any script or option available to restart the program from where
it stopped? This script/option will be immensely useful for... (2 Replies)
Discussion started by: rpd25
2 Replies
9. Shell Programming and Scripting
Hi,
I need a script to kill the process Ids for the user ABC.
I prepared the following script after that while logging with user therough script i am not sure how to pass the user name and password.Can ou modify the script and help me out.
#!/bin/bash
for filesize in $(ls -ltr | grep... (4 Replies)
Discussion started by: victory
4 Replies
10. UNIX and Linux Applications
Good afternoon
I need your help please.
There is a Mantenance Windos which needs to Restart de Database Server 192.x.x.97 to set up some configuration
Is it mandatory or not to stop/start Applcation server that runs in 192.x.x.95 ?
Is it mandatory or not to stop/start apache and Tomcat?... (3 Replies)
Discussion started by: alexcol
3 Replies
reboot(3C) reboot(3C)
NAME
reboot - reboot system or halt processor
SYNOPSIS
#include <sys/reboot.h>
int reboot(int howto, char *bootargs);
The reboot() function reboots the system. The howto argument specifies the behavior of the system while rebooting and is a mask con-
structed by a bitwise-inclusive-OR of flags from the following list:
RB_AUTOBOOT The machine is rebooted from the root filesystem on the default boot device. This is the default behavior. See boot(1M) and
kernel(1M).
RB_HALT The processor is simply halted; no reboot takes place. This option should be used with caution.
RB_ASKNAME Interpreted by the bootstrap program and kernel, causing the user to be asked for pathnames during the bootstrap.
RB_DUMP The system is forced to panic immediately without any further processing and a crash dump is written to the dump device
(see dumpadm(1M)) before rebooting.
Any other howto argument causes the kernel file to boot.
The interpretation of the bootargs argument is platform-dependent.
Upon successful completion, reboot() never returns. Otherwise, -1 is returned and errno is set to indicate the error.
The reboot() function will fail if:
EPERM The {PRIV_SYS_CONFIG} privilege is not asserted in the effective set of the calling process.
intro(1M), boot(1M), dumpadm(1M), halt(1M), init(1M), kernel(1M), reboot(1M), uadmin(2)
22 Mar 2004 reboot(3C)