1

I have a c++ program running on login on the raspberry pi, this program checks data for multiple devices attached on to it (Arduino Mega 2560 + Modbus RS485), gets inputted data from them and sends that to mysql database.

The program itself runs fine, but after (what i suppose is causing the problem) rebooting several times the raspberry completely blocks after giving me some weird info (see pic) (the program reboots the raspberry pi when it cant reach the mysql db or it cant connect to any of the devices)

I can't be sure of what the problem is since my program will easily run +12hourse before bloking the rPi so i can't really monitor my screen for errors or anything

Error after failure

Or a close - up

Download -> Kern.log & syslog.log files

  • Did you look at the syslog entries that come before those dumps? – Julie Pelletier May 24 '16 at 6:41
  • Where can i do that ? – Rafael Lambelin May 24 '16 at 6:42
  • By default it would be in /var/log/syslog. – Julie Pelletier May 24 '16 at 6:45
  • I see the raspberry pi rebooted at 20:17 and then everything stops (no more log entries) the same goes for the kern.log and the mysql.log – Rafael Lambelin May 24 '16 at 6:53
  • ( and no errors in the rebooting process ) – Rafael Lambelin May 24 '16 at 6:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.