Sponsored Content
Operating Systems Linux Fedora Missing entries in log files just before/after reboot Post 302606690 by satish51392111 on Monday 12th of March 2012 12:34:47 PM
Old 03-12-2012
Missing entries in log files just before/after reboot

Hello world,

One of the servers, a Fedora one,rebooted today (Luckily, a testbox).
I tried to get the reason the server rebooted. After going through the messages, I think that the log entries just before and after reboot are missing.
Please below: (****** is the server name, for privacy reason)

Code:
 
Mar 12 15:28:35 ****** snmpd[9415]: Connection from UDP: [10.235.49.62]:65118
Mar 12 15:28:35 ****** snmpd[9415]: warning: /etc/hosts.allow, line 11: missing ":" separator
Mar 12 15:28:35 ****** snmpd[9415]: Connection from UDP: [10.235.49.62]:65118
Mar 12 15:28:35 ****** snmpd[9415]: warning: /etc/hosts.allow, line 11: missing ":" separator
Mar 12 15:28:35 ****** snmpd[9415]: Connection from UDP: [10.235.49.62]:65118
Mar 12 16:06:39 ****** rsyslogd: [origin software="rsyslogd" swVersion="2.0.2" x-pid="1592" x-info="http://www.rsyslog.com"][x-configInfo udpReception="No" udpPort
="514" tcpReception="No" tcpPort="0"] restart
Mar 12 16:06:39 ****** kernel: rklogd 2.0.2, log source = /proc/kmsg started.

I understand there will be no logs during the reboot but, why exactly did the server reboot? I have two doubts:
1.Was the SNPD process with the error "missing ":" separator" the cause for reboot?
2. Why did rsyslogd run immediately aftyer the reboot? Can it help me trace the reboot cause?

Thanks in Advance.Smilie

Last edited by satish51392111; 03-12-2012 at 01:35 PM.. Reason: forgot codetags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

files missing

a few of some live payroll files have been deleted / missing ... i've restored last nites backup ... what could be the possibilities of this strange occurance ... users have menus to work on and use these live files ... we run an aix box with a ksh shell. Where do I start ?? Thanks (4 Replies)
Discussion started by: cubicle^dweller
4 Replies

2. Solaris

System Reboot Log

Hello Everyone , I am a new member to this forum and came to know about this from so many of my friends . I face one issue last day when suddenly the system got rebooted ( But don,t know why ) . Can someone please help me in investigating this issue as to why the system got rebooted and who... (4 Replies)
Discussion started by: gera_sachin125
4 Replies

3. UNIX for Dummies Questions & Answers

boot / reboot log info

hi guys, i know some commands to check last boot information in solaris and redhat. #last -10 | grep boot #who -b #cat /var/adm/messages | grep signal but how do i check for boot info in hp-ux other than from the "shutdownlog" #last -10| reboot has rebooted my hp-ux server ! ... (2 Replies)
Discussion started by: cromohawk
2 Replies

4. Shell Programming and Scripting

Check for files and log report if missing

Hi, I need a shell program that will prompt the user to input a dept name to the script. The script should then check a specific directory called ‘report' in the home directory of each member of that dept. If the report directory does not exist, or there are no contents in the directory,... (2 Replies)
Discussion started by: johnnyvlme
2 Replies

5. Shell Programming and Scripting

Compare 2 folders to find several missing files among huge amounts of files.

Hi, all: I've got two folders, say, "folder1" and "folder2". Under each, there are thousands of files. It's quite obvious that there are some files missing in each. I just would like to find them. I believe this can be done by "diff" command. However, if I change the above question a... (1 Reply)
Discussion started by: jiapei100
1 Replies

6. Solaris

How to find missing disks on Sun x4150 without reboot?

Hi, Here is the issue: There are 4 disks on this Sun x4150 system under Solaris 10, but only 1 disk can be seen by the OS. I've tried commands disks and devfsadm but not working. It's an important production server, so 'reboot -r' is not a choice. # format < /dev/null Searching for... (6 Replies)
Discussion started by: aixlover
6 Replies

7. Red Hat

missing raid array after reboot

Dear all , i ve configured raid 0 in redhat machine(VM ware), by following steps: #mdadm -C /dev/md0 -l 0 -n 2 /dev/sdb1 /dev/sdc1 #mkfs.ext3 /dev/md0 #mdadm --detail --scan --config=mdadm.conf >/etc/mdadm.conf then mounted the/dev/md0 device and also added a entry in fstab. how... (2 Replies)
Discussion started by: sriniv666
2 Replies

8. AIX

NFS files after reboot

i Have a mount point from NAS and i mount it My AIX manually the system get rebooted by its self and it did not get mounted , how can i make it mounted with the system up in automated way ? (1 Reply)
Discussion started by: thecobra151
1 Replies

9. Shell Programming and Scripting

How to take the missing files

Hi all , am using unix ksh I have a lots of files in /prb directory in the format as .. .. .. .. MMRR0607.DAT_2012 MMRR0707.DAT_2012 MMRR0907.DAT_2012 MMRR1107.DAT_2012 ... .. MMRR3107.DAT_2012 MMRR0208.DAT_2012 .. I need the output as Missing files are:- MMRR0807.DAT_2012 (note... (4 Replies)
Discussion started by: Venkatesh1
4 Replies

10. Shell Programming and Scripting

Monitor log entries in log files with no Date format? - Efficient logcheck?

is there a way to efficiently monitor logfiles that do not have a date or time format? i have several logs on several different servers that need to be monitored. but i realized writing a script for this would be very complex and time consuming giving the variety of things i need to check for i.e.... (2 Replies)
Discussion started by: SkySmart
2 Replies
reboot(2)							System Calls Manual							 reboot(2)

NAME
reboot - Reboots system or halts processor SYNOPSIS
#include <sys/reboot.h> void reboot( int howto ); PARAMETERS
Specifies a mask of options. DESCRIPTION
The reboot() function restarts the system. The startup is automatic and brings up /vmunix in the normal, nonmaintenance mode. The calling process must have superuser privilege to run this function successfully. However, a reboot is invoked automatically in the event of unre- coverable system failures. The following options, defined in the sys/reboot.h include file are passed to the new kernel or the new bootstrap and init programs. They are supplied as values to the howto parameter. The default, causing the system to reboot in its usual fashion. Dump kernel memory before rebooting; see the savecore command for more information. The processor is simply halted; no reboot takes place. The disks are not sync'd before the processor is halted or rebooted. Normally, the disks are sync'd (see the sync() command) before the processor is halted or rebooted. Because the disks are not sync'd with the RB_NOSYNC option, loss of data may result from using it. When no options are given (that is, RB_AUTOBOOT is used), the system is rebooted from file vmunix in the root file system of unit 0 (zero) of a disk chosen in a processor-specific way. (see the fsck command). RETURN VALUES
If successful, this call does not return. Otherwise, a -1 is returned and errno is set to indicate the error. ERRORS
If the reboot() function fails, errno may be set to the following value: The calling process does not have appropriate privilege. RELATED INFORMATION
Commands: crashdc(8), halt(8), init(8), reboot(8), savecore(8) delim off reboot(2)
All times are GMT -4. The time now is 10:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy