Where Do I get Logs for tracing the sypmtoms for last reboot.


 
Thread Tools Search this Thread
Operating Systems Linux Where Do I get Logs for tracing the sypmtoms for last reboot.
# 1  
Old 02-04-2010
Where Do I get Logs for tracing the sypmtoms for last reboot.

Hi,

I have got 4 Sun Servers with Linux OS and are in Cluster.
This setup worked fine for about 2 Weeks. But today 3 servers rebooted automatically.
I got this log

Feb 4 13:59:30 test1 syslogd 1.4.1: restart.

Was not able to trace out the pre reboot logs. Where Do i get these logs for tracing the cause of same.

There is no problem with power supply. I have redundant Power Supply.
Kindly Suggest.
# 2  
Old 02-04-2010
Quote:
Originally Posted by SiddhV
Was not able to trace out the pre reboot logs. Where Do i get these logs for tracing the cause of same.
There's no logs at all before the reboot? Or just nothing pertinent to the cause of the reboot? What's in /var/log/messages? Did they all reboot simultaneously?

If it was just one, I'd suspect a kernel panic. But three, that smacks of intention to me. If there's nothing in the logs before the reboot for all three of them, that seems even more intentional, these things don't go away unless something clears them...
# 3  
Old 02-04-2010
Quote:
Originally Posted by SiddhV
Hi,

I have got 4 Sun Servers with Linux OS and are in Cluster.
This setup worked fine for about 2 Weeks. But today 3 servers rebooted automatically.
I got this log

Feb 4 13:59:30 test1 syslogd 1.4.1: restart.

Was not able to trace out the pre reboot logs. Where Do i get these logs for tracing the cause of same.

There is no problem with power supply. I have redundant Power Supply.
Kindly Suggest.
Perhaps they have been log-rotated. Try /var/log/message.1(.gz) or so.

HTH,
Loïc.
# 4  
Old 02-05-2010
Thanks for replying...

No... The logs havent been Archieved.
# 5  
Old 02-05-2010
Are there any crash dumps under /var/crash/hostname/ ? If so, you could try to read the internal messagebuffer from the dump, like:

Code:
adb -k unix.0 vmcore.0
   $<msgbuf

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies

2. Shell Programming and Scripting

Grep yesterday logs from weblogic logs

Hi, I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows: """"""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies

3. UNIX for Advanced & Expert Users

tracing a user input

Hi, i need to get a log of all the commands typed and output of those commands fired by a specific user on my sun machine. Also i need to trace all commands and inputs given from a specific IP on my machine. Regards Rochit (1 Reply)
Discussion started by: rochitsharma
1 Replies

4. Programming

Tracing self process using ptrace()

Kindly correct me if any of the foll is wrong: I want to trace the current process from the C program itself which I think can be done using ptrace(PTRACE_ATTACH,getpid(),0,0); I would like to get control back after a segmentation fault, or arithmetric exception (i.e. all signals that end... (1 Reply)
Discussion started by: vpraveen84
1 Replies

5. Solaris

Tracing a shell script!!!

Hi all, I would like to know how to trace a shell script.. I meant i used the set -x command and also tried, $ bash -xv <script name> but the problem is am a newbie and did not understand what those + and ++ meant at the beginning of each line...(once the execution of the script starts),... (1 Reply)
Discussion started by: wrapster
1 Replies

6. Shell Programming and Scripting

tracing in linux

hello every one can any one help me out i just want to trace what ever i am doing in linux 8.0 in the text mode to be saved in a text file so that at the end i can see my work what i have do. its just like oracle spool so you can see your work at the end . for example what ever command u gave... (2 Replies)
Discussion started by: shary
2 Replies

7. Linux

tracing

hello every one can any one help me out i just want to trace what ever i am doing in linux 8.0 in the text mode to be saved in a text file so that at the end i can see my work what i have do. its just like oracle spool so you can see your work at the end . for example what ever command u gave... (1 Reply)
Discussion started by: shary
1 Replies

8. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

9. What is on Your Mind?

Tracing an e-mail address

Not sure if this is the right place to post this, but I thought I'd start here. Not really a Unix question, but I'm hoping the gurus here can help me in an area I know little about. Someone got one of my credit card numbers. Tried to use it to charge a bunch of stuff over the internet. The... (4 Replies)
Discussion started by: denverd0n
4 Replies

10. UNIX for Advanced & Expert Users

Tracing a terminal

Hi you all, any of you know how to monitor what is going on in another terminal? I mean if somebody will install an application on my server remotely and I want to "watch" what he is doing. I remember that some one use the "audit" command but now I just can't remember. thanx.:mad: (2 Replies)
Discussion started by: alex blanco
2 Replies
Login or Register to Ask a Question