Community discussions

MikroTik App
 
reinerotto
Long time Member
Long time Member
Topic Author
Posts: 520
Joined: Thu Dec 04, 2008 2:35 am

How to trace down spontaneous reboots ?

Wed Jul 27, 2011 10:30 am

I have upgraded my hotspot (411AR) from 4.12 to 5.5.
Now I am having spontaneous reboots.
It looks lilke they occure, when a download is started, via BT for instance.
So it might be connected with a sudden peak in download traffic. Until now I have no limitations on traffic implemented, no queues.

Any hint, what to do/how to do, to chase down the reason for the reboots ?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: How to trace down spontaneous reboots ?

Wed Jul 27, 2011 10:52 am

/log print entries show reason for reboot.
 
reinerotto
Long time Member
Long time Member
Topic Author
Posts: 520
Joined: Thu Dec 04, 2008 2:35 am

Re: How to trace down spontaneous reboots ?

Wed Jul 27, 2011 11:43 pm

/log print entries show reason for reboot.
Actually, I used remote logging. No info about reason of spontaneous boot, which might be understandable.
So, which logging (error, critical ?) to set to "disk", to get reason of spontaneous boot later on ? I assume, "memory" will not be good enough.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: How to trace down spontaneous reboots ?

Wed Jul 27, 2011 11:54 pm

I'm pretty pragmatic this way, but I'd just hook up a computer to the serial port, and use a terminal program that allows you to log sessions to file. That'll catch everything happening at the time, including the boot process.
Might not be possible depending on the install location, of course.

I'm pretty sure 'critical' should cover it, though. That's what I get console messages for after reboot for 'improper shutdowns' when I just pull the plug on lab equipment.
 
reinerotto
Long time Member
Long time Member
Topic Author
Posts: 520
Joined: Thu Dec 04, 2008 2:35 am

Re: How to trace down spontaneous reboots ?

Thu Jul 28, 2011 10:07 pm

/log print entries show reason for reboot.
Got one reboot. And what does log print say ?

"01:00:20 system,error,critical router was rebooted without proper shutdown (cause 1)"

Is that good enough for you to have an idea about the real cause ?
 
reinerotto
Long time Member
Long time Member
Topic Author
Posts: 520
Joined: Thu Dec 04, 2008 2:35 am

Re: How to trace down spontaneous reboots ?

Thu Jul 28, 2011 10:16 pm

I'm pretty pragmatic this way, but I'd just hook up a computer to the serial port, and use a terminal program that allows you to log sessions to file. That'll catch everything happening at the time, including the boot process.

Sorry, I do not understand, what you mean. Will not show more than the log file, or am I wrong ?


During my good times as a real time programmer, writing multithreaded device drivers for exotic HW or comms protocols, in Assembler, we already had an OS-module doing a (real) core-dump to disk in case of crash. Which might be because of illegal adrs in kernel mode, or also unexpected power-failure. And after restart a smart utility to interpret system lists etc., to show all active processes, current process at time of crash, open files etc.
Such a tool would be the right one to track such problems down.
Not something similar available for RoS ?
(The OS I was using could handle 2MB main memory max.)
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: How to trace down spontaneous reboots ?

Fri Jul 29, 2011 9:50 am

reinerotto, generate support output file from your router and send it to support (support@mikrotik.com),
http://wiki.mikrotik.com/wiki/Support_Output_File
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26379
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: How to trace down spontaneous reboots ?

Fri Jul 29, 2011 9:58 am

"01:00:20 system,error,critical router was rebooted without proper shutdown (cause 1)"
power outage. this doesn't look like a software issue. to be sure, you can email the supout.rif file to support and we will see if there were any crashes before this.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: How to trace down spontaneous reboots ?

Fri Jul 29, 2011 8:41 pm

I'm pretty pragmatic this way, but I'd just hook up a computer to the serial port, and use a terminal program that allows you to log sessions to file. That'll catch everything happening at the time, including the boot process.

Sorry, I do not understand, what you mean. Will not show more than the log file, or am I wrong ?
It'll show the boot process, for one thing. As well as anything the OS was unable to write to disk for some reason.

However, like normis said, that looks like a power failure to me.
 
MRMISSY
newbie
Posts: 44
Joined: Sun Mar 07, 2010 3:26 pm

Re: How to trace down spontaneous reboots ?

Sun Jul 31, 2011 2:48 am

I have been facing the same problem for sometime in one ap
solution?
it is power issue so, decrease the tx power of the wireless by 2 dbm and see
suggestion?
replace the package of wireless nv2 to wireless only

Who is online

Users browsing this forum: Bing [Bot], GoogleOther [Bot], robertkjonesjr and 101 guests