Repetier-Server randomly restart on RPi 2

I have Repetier-Serve 0.86.2 on the RPi 2 and I have problem with randomly restarts, practicaly I can't anything print, becouase in the test print object with 6 layers it's restarts. I was tried change power adapter (I have two 5V/3A) from my TV RPi 2 with OSMC, but it still restarting. and I have new 16GB micro SD card, but it's doing also with older 8GB micro SD card.

Actually I have trial Pro licence.

Have you anybody idea where should be problem, please?

Comments

  • What restarts? Pi, server or just printer? If it is printer check /var/log/syslog if it logs the usb disconnected. Taht would be the typical pi problem. 

    If possible you could check if you can change printer to not use USB power, so that it only works when main power is on. That way it does not put extra 400-500mA load on pis power consumption. Same can be achieved with a powered usb hub of course.
  • RPi is restarting, not Printer or Server (software).
    I suspect It's can be doing by the RPI overheating, or RPi Camera module, because when Camera Module is disconnected, then it working good, bud RPi case have lower temperature (measure by hand). I will try to print with the connected camera module and the open case.

    Disconnect power supply between printer driver electronic and RPi is good idea, because it's meant reduce of RPi power consumption and reduce RPi heating.
  • You should see /var/log/syslog at the time when reboot happens. With some luck linux wrote a message before restarting that helps.
  • I'm not see any problem in the Syslog before restart, but there is the Syslog:

    Apr 21 14:53:08 Repetier-Server dbus[261]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Apr 21 14:53:08 Repetier-Server NetworkManager[271]: <info>  [1524322388.2274] dhcp4 (eth0):   nameserver '10.0.0.138'
    Apr 21 14:53:08 Repetier-Server NetworkManager[271]: <info>  [1524322388.2276] dhcp4 (eth0): state changed unknown -> bound
    Apr 21 14:53:08 Repetier-Server systemd[1]: Starting Network Manager Script Dispatcher Service...
    Apr 21 14:53:08 Repetier-Server dhclient[1626]: bound to 192.168.88.3 -- renewal in 275 seconds.
    Apr 21 14:53:08 Repetier-Server dbus[261]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Apr 21 14:53:08 Repetier-Server systemd[1]: Started Network Manager Script Dispatcher Service.
    Apr 21 14:53:08 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: new request (1 scripts)
    Apr 21 14:53:08 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: start running ordered scripts...
    Apr 21 14:55:31 Repetier-Server systemd[1]: Started Session c2 of user pi.
    Apr 21 14:56:54 Repetier-Server dhcpcd[505]: eth0: adding default route via 192.168.88.1
    Apr 21 14:57:43 Repetier-Server dhclient[1626]: DHCPREQUEST of 192.168.88.3 on eth0 to 192.168.88.1 port 67
    Apr 21 14:57:43 Repetier-Server dhclient[1626]: DHCPACK of 192.168.88.3 from 192.168.88.1
    Apr 21 14:57:43 Repetier-Server NetworkManager[271]: <info>  [1524322663.4070] dhcp4 (eth0):   address 192.168.88.3
    Apr 21 14:57:43 Repetier-Server NetworkManager[271]: <info>  [1524322663.4073] dhcp4 (eth0):   plen 24 (255.255.255.0)
    Apr 21 14:57:43 Repetier-Server NetworkManager[271]: <info>  [1524322663.4075] dhcp4 (eth0):   gateway 192.168.88.1
    Apr 21 14:57:43 Repetier-Server NetworkManager[271]: <info>  [1524322663.4076] dhcp4 (eth0):   server identifier 192.168.88.1
    Apr 21 14:57:43 Repetier-Server NetworkManager[271]: <info>  [1524322663.4077] dhcp4 (eth0):   lease time 600
    Apr 21 14:57:43 Repetier-Server dhcpcd[505]: eth0: deleted default route via 192.168.88.1
    Apr 21 14:57:43 Repetier-Server NetworkManager[271]: <info>  [1524322663.4081] dhcp4 (eth0):   nameserver '192.168.88.1'
    Apr 21 14:57:43 Repetier-Server NetworkManager[271]: <info>  [1524322663.4083] dhcp4 (eth0):   nameserver '10.0.0.138'
    Apr 21 14:57:43 Repetier-Server NetworkManager[271]: <info>  [1524322663.4084] dhcp4 (eth0): state changed bound -> bound
    Apr 21 14:57:43 Repetier-Server dbus[261]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Apr 21 14:57:43 Repetier-Server systemd[1]: Starting Network Manager Script Dispatcher Service...
    Apr 21 14:57:43 Repetier-Server dhclient[1626]: bound to 192.168.88.3 -- renewal in 296 seconds.
    Apr 21 14:57:43 Repetier-Server dbus[261]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Apr 21 14:57:43 Repetier-Server systemd[1]: Started Network Manager Script Dispatcher Service.
    Apr 21 14:57:43 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: new request (1 scripts)
    Apr 21 14:57:43 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: start running ordered scripts...
    Apr 21 15:01:45 Repetier-Server systemd[1]: Starting Cleanup of Temporary Directories...
    Apr 21 15:01:45 Repetier-Server systemd[1]: Started Cleanup of Temporary Directories.
    Apr 21 15:01:54 Repetier-Server dhcpcd[505]: eth0: adding default route via 192.168.88.1
    Apr 21 15:02:39 Repetier-Server dhclient[1626]: DHCPREQUEST of 192.168.88.3 on eth0 to 192.168.88.1 port 67
    Apr 21 15:02:39 Repetier-Server dhclient[1626]: DHCPACK of 192.168.88.3 from 192.168.88.1
    Apr 21 15:02:39 Repetier-Server NetworkManager[271]: <info>  [1524322959.4934] dhcp4 (eth0):   address 192.168.88.3
    Apr 21 15:02:39 Repetier-Server NetworkManager[271]: <info>  [1524322959.4937] dhcp4 (eth0):   plen 24 (255.255.255.0)
    Apr 21 15:02:39 Repetier-Server NetworkManager[271]: <info>  [1524322959.4939] dhcp4 (eth0):   gateway 192.168.88.1
    Apr 21 15:02:39 Repetier-Server NetworkManager[271]: <info>  [1524322959.4940] dhcp4 (eth0):   server identifier 192.168.88.1
    Apr 21 15:02:39 Repetier-Server dhcpcd[505]: eth0: deleted default route via 192.168.88.1
    Apr 21 15:02:39 Repetier-Server NetworkManager[271]: <info>  [1524322959.4941] dhcp4 (eth0):   lease time 600
    Apr 21 15:02:39 Repetier-Server NetworkManager[271]: <info>  [1524322959.4944] dhcp4 (eth0):   nameserver '192.168.88.1'
    Apr 21 15:02:39 Repetier-Server dbus[261]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Apr 21 15:02:39 Repetier-Server NetworkManager[271]: <info>  [1524322959.4945] dhcp4 (eth0):   nameserver '10.0.0.138'
    Apr 21 15:02:39 Repetier-Server dhclient[1626]: bound to 192.168.88.3 -- renewal in 297 seconds.
    Apr 21 15:02:39 Repetier-Server NetworkManager[271]: <info>  [1524322959.4947] dhcp4 (eth0): state changed bound -> bound
    Apr 21 15:02:39 Repetier-Server systemd[1]: Starting Network Manager Script Dispatcher Service...
    Apr 21 15:02:39 Repetier-Server dbus[261]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Apr 21 15:02:39 Repetier-Server systemd[1]: Started Network Manager Script Dispatcher Service.
    Apr 21 15:02:39 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: new request (1 scripts)
    Apr 21 15:02:39 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: start running ordered scripts...
    Apr 21 15:06:54 Repetier-Server dhcpcd[505]: eth0: adding default route via 192.168.88.1
    Apr 21 15:07:37 Repetier-Server dhclient[1626]: DHCPREQUEST of 192.168.88.3 on eth0 to 192.168.88.1 port 67
    Apr 21 15:07:37 Repetier-Server dhclient[1626]: DHCPACK of 192.168.88.3 from 192.168.88.1
    Apr 21 15:07:37 Repetier-Server NetworkManager[271]: <info>  [1524323257.0709] dhcp4 (eth0):   address 192.168.88.3
    Apr 21 15:07:37 Repetier-Server NetworkManager[271]: <info>  [1524323257.0711] dhcp4 (eth0):   plen 24 (255.255.255.0)
    Apr 21 15:07:37 Repetier-Server NetworkManager[271]: <info>  [1524323257.0712] dhcp4 (eth0):   gateway 192.168.88.1
    Apr 21 15:07:37 Repetier-Server NetworkManager[271]: <info>  [1524323257.0713] dhcp4 (eth0):   server identifier 192.168.88.1
    Apr 21 15:07:37 Repetier-Server dhcpcd[505]: eth0: deleted default route via 192.168.88.1
    Apr 21 15:07:37 Repetier-Server NetworkManager[271]: <info>  [1524323257.0714] dhcp4 (eth0):   lease time 600
    Apr 21 15:07:37 Repetier-Server dbus[261]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Apr 21 15:07:37 Repetier-Server NetworkManager[271]: <info>  [1524323257.0715] dhcp4 (eth0):   nameserver '192.168.88.1'
    Apr 21 15:07:37 Repetier-Server NetworkManager[271]: <info>  [1524323257.0717] dhcp4 (eth0):   nameserver '10.0.0.138'
    Apr 21 15:07:37 Repetier-Server NetworkManager[271]: <info>  [1524323257.0718] dhcp4 (eth0): state changed bound -> bound
    Apr 21 15:07:37 Repetier-Server systemd[1]: Starting Network Manager Script Dispatcher Service...
    Apr 21 15:07:37 Repetier-Server dhclient[1626]: bound to 192.168.88.3 -- renewal in 264 seconds.
    Apr 21 15:07:37 Repetier-Server dbus[261]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Apr 21 15:07:37 Repetier-Server systemd[1]: Started Network Manager Script Dispatcher Service.
    Apr 21 15:07:37 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: new request (1 scripts)
    Apr 21 15:07:37 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: start running ordered scripts...
    Apr 21 15:11:54 Repetier-Server dhcpcd[505]: eth0: adding default route via 192.168.88.1
    Apr 21 15:12:01 Repetier-Server dhclient[1626]: DHCPREQUEST of 192.168.88.3 on eth0 to 192.168.88.1 port 67
    Apr 21 15:12:01 Repetier-Server dhclient[1626]: DHCPACK of 192.168.88.3 from 192.168.88.1
    Apr 21 15:12:01 Repetier-Server NetworkManager[271]: <info>  [1524323521.2434] dhcp4 (eth0):   address 192.168.88.3
    Apr 21 15:12:01 Repetier-Server NetworkManager[271]: <info>  [1524323521.2436] dhcp4 (eth0):   plen 24 (255.255.255.0)
    Apr 21 15:12:01 Repetier-Server NetworkManager[271]: <info>  [1524323521.2438] dhcp4 (eth0):   gateway 192.168.88.1
    Apr 21 15:12:01 Repetier-Server NetworkManager[271]: <info>  [1524323521.2439] dhcp4 (eth0):   server identifier 192.168.88.1
    Apr 21 15:12:01 Repetier-Server dhcpcd[505]: eth0: deleted default route via 192.168.88.1
    Apr 21 15:12:01 Repetier-Server NetworkManager[271]: <info>  [1524323521.2440] dhcp4 (eth0):   lease time 600
    Apr 21 15:12:01 Repetier-Server NetworkManager[271]: <info>  [1524323521.2441] dhcp4 (eth0):   nameserver '192.168.88.1'
    Apr 21 15:12:01 Repetier-Server dbus[261]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Apr 21 15:12:01 Repetier-Server NetworkManager[271]: <info>  [1524323521.2442] dhcp4 (eth0):   nameserver '10.0.0.138'
    Apr 21 15:12:01 Repetier-Server NetworkManager[271]: <info>  [1524323521.2444] dhcp4 (eth0): state changed bound -> bound
    Apr 21 15:12:01 Repetier-Server systemd[1]: Starting Network Manager Script Dispatcher Service...
    Apr 21 15:12:01 Repetier-Server dhclient[1626]: bound to 192.168.88.3 -- renewal in 242 seconds.
    Apr 21 15:12:01 Repetier-Server dbus[261]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Apr 21 15:12:01 Repetier-Server systemd[1]: Started Network Manager Script Dispatcher Service.
    Apr 21 15:12:01 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: new request (1 scripts)
    Apr 21 15:12:01 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: start running ordered scripts...
    Apr 21 15:16:03 Repetier-Server dhclient[1626]: DHCPREQUEST of 192.168.88.3 on eth0 to 192.168.88.1 port 67
    Apr 21 15:16:03 Repetier-Server dhclient[1626]: DHCPACK of 192.168.88.3 from 192.168.88.1
    Apr 21 15:16:03 Repetier-Server NetworkManager[271]: <info>  [1524323763.4540] dhcp4 (eth0):   address 192.168.88.3
    Apr 21 15:16:03 Repetier-Server NetworkManager[271]: <info>  [1524323763.4543] dhcp4 (eth0):   plen 24 (255.255.255.0)
    Apr 21 15:16:03 Repetier-Server NetworkManager[271]: <info>  [1524323763.4545] dhcp4 (eth0):   gateway 192.168.88.1
    Apr 21 15:16:03 Repetier-Server NetworkManager[271]: <info>  [1524323763.4546] dhcp4 (eth0):   server identifier 192.168.88.1
    Apr 21 15:16:03 Repetier-Server dbus[261]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Apr 21 15:16:03 Repetier-Server NetworkManager[271]: <info>  [1524323763.4548] dhcp4 (eth0):   lease time 600
    Apr 21 15:16:03 Repetier-Server NetworkManager[271]: <info>  [1524323763.4550] dhcp4 (eth0):   nameserver '192.168.88.1'
    Apr 21 15:16:03 Repetier-Server NetworkManager[271]: <info>  [1524323763.4553] dhcp4 (eth0):   nameserver '10.0.0.138'
    Apr 21 15:16:03 Repetier-Server dhclient[1626]: bound to 192.168.88.3 -- renewal in 285 seconds.
    Apr 21 15:16:03 Repetier-Server NetworkManager[271]: <info>  [1524323763.4555] dhcp4 (eth0): state changed bound -> bound
    Apr 21 15:16:03 Repetier-Server systemd[1]: Starting Network Manager Script Dispatcher Service...
    Apr 21 15:16:03 Repetier-Server dbus[261]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Apr 21 15:16:03 Repetier-Server systemd[1]: Started Network Manager Script Dispatcher Service.
    Apr 21 15:16:03 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: new request (1 scripts)
    Apr 21 15:16:03 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: start running ordered scripts...
    Apr 21 15:16:54 Repetier-Server dhcpcd[505]: eth0: adding default route via 192.168.88.1
    Apr 21 15:17:01 Repetier-Server CRON[2310]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
    Apr 21 15:20:48 Repetier-Server dhclient[1626]: DHCPREQUEST of 192.168.88.3 on eth0 to 192.168.88.1 port 67
    Apr 21 15:20:48 Repetier-Server dhclient[1626]: DHCPACK of 192.168.88.3 from 192.168.88.1
    Apr 21 15:20:48 Repetier-Server NetworkManager[271]: <info>  [1524324048.3248] dhcp4 (eth0):   address 192.168.88.3
    Apr 21 15:20:48 Repetier-Server NetworkManager[271]: <info>  [1524324048.3251] dhcp4 (eth0):   plen 24 (255.255.255.0)
    Apr 21 15:20:48 Repetier-Server NetworkManager[271]: <info>  [1524324048.3254] dhcp4 (eth0):   gateway 192.168.88.1
    Apr 21 15:20:48 Repetier-Server NetworkManager[271]: <info>  [1524324048.3255] dhcp4 (eth0):   server identifier 192.168.88.1
    Apr 21 15:20:48 Repetier-Server dhcpcd[505]: eth0: deleted default route via 192.168.88.1
    Apr 21 15:20:48 Repetier-Server NetworkManager[271]: <info>  [1524324048.3257] dhcp4 (eth0):   lease time 600
    Apr 21 15:20:48 Repetier-Server dbus[261]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Apr 21 15:20:48 Repetier-Server NetworkManager[271]: <info>  [1524324048.3259] dhcp4 (eth0):   nameserver '192.168.88.1'
    Apr 21 15:20:48 Repetier-Server NetworkManager[271]: <info>  [1524324048.3260] dhcp4 (eth0):   nameserver '10.0.0.138'
    Apr 21 15:20:48 Repetier-Server NetworkManager[271]: <info>  [1524324048.3262] dhcp4 (eth0): state changed bound -> bound
    Apr 21 15:20:48 Repetier-Server systemd[1]: Starting Network Manager Script Dispatcher Service...
    Apr 21 15:20:48 Repetier-Server dhclient[1626]: bound to 192.168.88.3 -- renewal in 239 seconds.
    Apr 21 15:20:48 Repetier-Server dbus[261]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Apr 21 15:20:48 Repetier-Server systemd[1]: Started Network Manager Script Dispatcher Service.
    Apr 21 15:20:48 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: new request (1 scripts)
    Apr 21 15:20:48 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: start running ordered scripts...
    Apr 21 15:21:54 Repetier-Server dhcpcd[505]: eth0: adding default route via 192.168.88.1
    Apr 21 15:24:47 Repetier-Server dhclient[1626]: DHCPREQUEST of 192.168.88.3 on eth0 to 192.168.88.1 port 67
    Apr 21 15:24:47 Repetier-Server dhclient[1626]: DHCPACK of 192.168.88.3 from 192.168.88.1
    Apr 21 15:24:47 Repetier-Server NetworkManager[271]: <info>  [1524324287.7396] dhcp4 (eth0):   address 192.168.88.3
    Apr 21 15:24:47 Repetier-Server NetworkManager[271]: <info>  [1524324287.7405] dhcp4 (eth0):   plen 24 (255.255.255.0)
    Apr 21 15:24:47 Repetier-Server NetworkManager[271]: <info>  [1524324287.7409] dhcp4 (eth0):   gateway 192.168.88.1
    Apr 21 15:24:47 Repetier-Server NetworkManager[271]: <info>  [1524324287.7411] dhcp4 (eth0):   server identifier 192.168.88.1
    Apr 21 15:24:47 Repetier-Server NetworkManager[271]: <info>  [1524324287.7412] dhcp4 (eth0):   lease time 600
    Apr 21 15:24:47 Repetier-Server dhcpcd[505]: eth0: deleted default route via 192.168.88.1
    Apr 21 15:24:47 Repetier-Server NetworkManager[271]: <info>  [1524324287.7415] dhcp4 (eth0):   nameserver '192.168.88.1'
    Apr 21 15:24:47 Repetier-Server NetworkManager[271]: <info>  [1524324287.7417] dhcp4 (eth0):   nameserver '10.0.0.138'
    Apr 21 15:24:47 Repetier-Server dbus[261]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
    Apr 21 15:24:47 Repetier-Server NetworkManager[271]: <info>  [1524324287.7418] dhcp4 (eth0): state changed bound -> bound
    Apr 21 15:24:47 Repetier-Server systemd[1]: Starting Network Manager Script Dispatcher Service...
    Apr 21 15:24:47 Repetier-Server dhclient[1626]: bound to 192.168.88.3 -- renewal in 249 seconds.
    Apr 21 15:24:47 Repetier-Server dbus[261]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
    Apr 21 15:24:47 Repetier-Server systemd[1]: Started Network Manager Script Dispatcher Service.
    Apr 21 15:24:47 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: new request (1 scripts)
    Apr 21 15:24:47 Repetier-Server nm-dispatcher: req:1 'dhcp4-change' [eth0]: start running ordered scripts...



  • I agree that this part doe snot show anything useful. But when exactly did the restart happen? To me it looks before the beginning of the shown part as it starts with Apr 21 14:53:08 Repetier-Server dbus[261]: [system] Activating via systemd: service  which I interpret as part of bootup sequence. The interesting part would be before boot starts if it could get stored and flushed to card.
  • This log was captured via SSH and using linux command: tail -f /var/log/syslog
  • Ok, so you mean the reboot happened at the end of what I see at Apr 21 15:24:47? In that case there is no hint on the restart reason. Might be just power lost or anything else. Did you test if this happens also when you are not printing or with the default raspbian image. Such restarts are not normal and using a default image from pi foundation rules out that our software is a reason. Not that normal software can cause a sudden restart normally. Linux would just close it if it makes trouble.
Sign In or Register to comment.