06-02-2008
server restarting
Hello people,
My solaris server is rebooting, not sure how!!! Which log should I look in to? I checked /var/adm/messages and dmesg also. How do I check older dmesg logs? I checked lastlog and also ran the last command. Nothing useful pointing to why server rebooted.
Also when server reboots I want apache to also come up with it? For eg: I can give ./apachectl -k start in a startup script. Where is the startup script for the OS?
Thanks in advance...
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
dmesg(1M) dmesg(1M)
NAME
dmesg - collect system diagnostic messages to form error log
SYNOPSIS
DESCRIPTION
looks in a system buffer for recently printed diagnostic messages and prints them on the standard output. The messages are those printed
by the system when unusual events occur (such as when system tables overflow or the system crashes). If the argument is specified, com-
putes (incrementally) the new messages since the last time it was run and places these on the standard output. This is typically used with
(see cron(1)) to produce the error log by running the command:
every 10 minutes.
The arguments and allow substitution for the defaults and where should be a file containing the image of the kernel virtual memory saved by
the savecrash(1M) command and should be the corresponding kernel. If the system is booted with a kernel other than /stand/vmunix say
/stand/vmunix_new, must be passed this name, the command must be,
WARNINGS
The system error message buffer is of small, finite size. is run only every few minutes, so there is no guarantee that all error messages
will be logged.
AUTHOR
was developed by the University of California, Berkeley.
FILES
error log (conventional location)
memory scratch file for option
special file containing the image of kernel virtual memory
the kernel, system name list
SEE ALSO
savecrash(1M).
dmesg(1M)