<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to RPi reboot every 2h with licence</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5ba69ece0a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5ba69ece0a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/5ba69ece0a/</id><updated>2020-02-27T16:27:50.728000Z</updated><subtitle>Recent posts to RPi reboot every 2h with licence</subtitle><entry><title>RPi reboot every 2h with licence</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5ba69ece0a/?limit=25#3529" rel="alternate"/><published>2020-02-27T16:27:50.728000Z</published><updated>2020-02-27T16:27:50.728000Z</updated><author><name>VincentGC</name><uri>https://forge.codesys.com/u/vincentgc/</uri></author><id>https://forge.codesys.com5c360f103db1df42f41e84af76436ee7e94e43f6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Okay, I tried what you said and that was the issue.&lt;br/&gt;
Everything works fine now.&lt;/p&gt;
&lt;p&gt;Big thanks Edwin!&lt;/p&gt;
&lt;p&gt;Vincent&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RPi reboot every 2h with licence</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5ba69ece0a/?limit=25#698d" rel="alternate"/><published>2020-02-27T16:27:49.821000Z</published><updated>2020-02-27T16:27:49.821000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com29597e79061b7d1a1a0fda56a3872bfc633087a3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;-SD are installed by binary copies of another one&lt;br/&gt;
If you copy a licensed CODESYS sd Card,&lt;br/&gt;
the steps are to activate the "new" license&lt;br/&gt;
-&amp;gt; remove the content of cmact_license&lt;br/&gt;
-&amp;gt; restart plc&lt;br/&gt;
-&amp;gt; activte the new license&lt;/p&gt;
&lt;p&gt;If you do not follow these steps- you'll have a broken license conatiner from the original Pi&lt;br/&gt;
sure you could activate a license to the new empty Container - but the license from first Pi stay there and will influcense&lt;br/&gt;
the license requests in that way.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RPi reboot every 2h with licence</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/5ba69ece0a/?limit=25#4015" rel="alternate"/><published>2020-02-27T16:27:47.296000Z</published><updated>2020-02-27T16:27:47.296000Z</updated><author><name>VincentGC</name><uri>https://forge.codesys.com/u/vincentgc/</uri></author><id>https://forge.codesys.com563c0ee69b6edb168b90fabf7f730f6347164f21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have several RPi using Codesys with licence and I could see that my device reboot after 2h.&lt;br/&gt;
My device has an external watchdog that reboots the RPi if the PLC shut down.&lt;/p&gt;
&lt;p&gt;With a little bash script I logged the status of codesyscontrol service every second until RPi reboot, and my last entry before the reboot is each time 2h and 5min after codesyscontrol start running.&lt;br/&gt;
I tried without an external watchdog and the service is exited instead of running, logs below :&lt;/p&gt;
&lt;p&gt;● codesyscontrol.service - LSB: Prepares and starts codesyscrontol&lt;br/&gt;
   Loaded: loaded (/etc/init.d/codesyscontrol)&lt;br/&gt;
   Active: active (running) since Sat 2017-10-28 08:17:06 UTC; 2h 5min ago&lt;br/&gt;
  Process: 510 ExecStart=/etc/init.d/codesyscontrol start (code=exited, status=0/SUCCESS)&lt;br/&gt;
   CGroup: /system.slice/codesyscontrol.service&lt;br/&gt;
           ├─650 /usr/bin/codesyscontrol.bin&lt;br/&gt;
           └─656 /usr/bin/codesyscontrol.bin&lt;/p&gt;
&lt;p&gt;● codesyscontrol.service - LSB: Prepares and starts codesyscrontol&lt;br/&gt;
   Loaded: loaded (/etc/init.d/codesyscontrol)&lt;br/&gt;
   Active: active (exited) since Sat 2017-10-28 08:17:06 UTC; 2h 5min ago&lt;br/&gt;
  Process: 510 ExecStart=/etc/init.d/codesyscontrol start (code=exited, status=0/SUCCESS)&lt;/p&gt;
&lt;p&gt;I though it was codesyscontrol without licence rebooting every 2h.&lt;br/&gt;
Is there something special to do at the licence installation? I followed the same steps as this youtube video : /watch?v=eTr9oO9OAy8&lt;/p&gt;
&lt;p&gt;Screenshot of API Param below :&lt;/p&gt;
&lt;p&gt;Information :&lt;br/&gt;
- Raspberry Pi 3, Model B, 1GB RAM&lt;br/&gt;
- Raspbian (v4.9.46-v7+)&lt;br/&gt;
- CODESYS Control for Raspberry Pi SL (V3.5.10.0)&lt;br/&gt;
- SD are installed by binary copies of another one&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Vincent&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Capture.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3139"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>