<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/</id><updated>2025-03-31T08:13:32.487000Z</updated><subtitle>Recent posts to Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</subtitle><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#253e/7ab2" rel="alternate"/><published>2025-03-31T08:13:32.487000Z</published><updated>2025-03-31T08:13:32.487000Z</updated><author><name>MadsKaizer</name><uri>https://forge.codesys.com/u/madskaizer/</uri></author><id>https://forge.codesys.com0814640a6130a3118b487e77cf8c0de5966d23ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you, this came in handy a few years later :)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#0339" rel="alternate"/><published>2023-01-27T19:33:50.202000Z</published><updated>2023-01-27T19:33:50.202000Z</updated><author><name>dore2138</name><uri>https://forge.codesys.com/u/dore2138/</uri></author><id>https://forge.codesys.com4142c5f019416a0319a90d9250082c55b0f16280</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello eschwellinger,&lt;/p&gt;
&lt;p&gt;Thank you for the advice!&lt;/p&gt;
&lt;p&gt;The firmware was indeed 4.6.0.0 . I ran updates. I will check logs on regular basis for similar entries after the update. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#7c21" rel="alternate"/><published>2023-01-27T14:02:17.508000Z</published><updated>2023-01-27T14:02:17.508000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comd2a979470c58efdcb384733a491ea98af24a207c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;on BeagleBone for sure solution is to update to 4.7.0.0 version, for this memory leak problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#7af0" rel="alternate"/><published>2023-01-26T21:36:21.980000Z</published><updated>2023-01-26T21:36:21.980000Z</updated><author><name>dore2138</name><uri>https://forge.codesys.com/u/dore2138/</uri></author><id>https://forge.codesys.comd7028eb55e991243c69301d8c063a09321863ca4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I experience the same phenomenon with the CODESYS Control for BeagleBone SL.&lt;br/&gt;
After rebooting the controller, the softPLC works again.&lt;br/&gt;
There is no fixed interval but it is definitely longer than hours, rather about 3 weeks.&lt;br/&gt;
The runtime is version 3.5.18.20 but certainly I also had this problem with the two previous versions.&lt;/p&gt;
&lt;p&gt;Has any cause been found for this issue?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#9ea0/92c2" rel="alternate"/><published>2022-07-28T05:08:15.300000Z</published><updated>2022-07-28T05:08:15.300000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/</uri></author><id>https://forge.codesys.com8206abe9cfe2a6c6336662a7449dc56b7a867943</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I have the same situation since 2 years. I do not how solve this problem. Do you have any soultions ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#eba7" rel="alternate"/><published>2022-01-09T21:11:23.022000Z</published><updated>2022-01-09T21:11:23.022000Z</updated><author><name>somlioy</name><uri>https://forge.codesys.com/u/somlioy/</uri></author><id>https://forge.codesys.com430124b46112ed375bd6befacceaa1b5b6552c0c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What environment is the PLC mounted in? Do you use Wagos power filter card? 750-624 og 750-626 for instance.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#f631" rel="alternate"/><published>2022-01-05T05:44:51.236000Z</published><updated>2022-01-05T05:44:51.236000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com56be9647ba213d1643f67dcb495c7a123b97052c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;maybe, but never seen so far, which Wago firmware version is it? Which CODESYS runtime version?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#253e" rel="alternate"/><published>2022-01-04T20:38:22.166000Z</published><updated>2022-01-04T20:38:22.166000Z</updated><author><name>nothinrandom</name><uri>https://forge.codesys.com/u/nothinrandom/</uri></author><id>https://forge.codesys.com610fbb7b97c35d217a1d3238e90cbe11d5356de1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="user-mention" href="/u/eschwellinger/"&gt;@eschwellinger&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Wouldn't this be more than a runtime crash because the device can't be pinged or accessed via SSH.  This seems like an OS layer issue.&lt;/p&gt;
&lt;p&gt;@MadsKaizer,&lt;/p&gt;
&lt;p&gt;If you SSH in and run this command &lt;strong&gt;ls -la /var/log/&lt;/strong&gt;, do you see log files that have been gzipped?  If yes, then try &lt;strong&gt;zcat&lt;/strong&gt; the files (e.g. &lt;strong&gt;zcat /var/log/kernel.&lt;/strong&gt;*)... though I'm not sure if zcat is installed.  If not, then move the file to your computer using WinSCP or something similar and try to read the file.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#d3f5" rel="alternate"/><published>2022-01-04T08:53:35.823000Z</published><updated>2022-01-04T08:53:35.823000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com26bb109c29a5c6eb014781d38d9879093aed4fe2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
the plclogger is saved on /tmp/codesyscontrol.log&lt;br/&gt;
so in case of any runtime crash you should see this in this log.&lt;br/&gt;
(attention this is temp file after reboot gone)&lt;/p&gt;
&lt;p&gt;In case you have reproducible errors I would recommend to start the PFC manually (via ssh connection) by:&lt;br/&gt;
1. login by ssh&lt;br/&gt;
2. stop the pfc:&lt;br/&gt;
 /etc/init.d/codesyscontrol stop&lt;br/&gt;
3. start it manually:&lt;br/&gt;
LD_LIBRARY_PATH=/opt/codesys/lib/compat LD_PRELOAD=/lib/libwretain.so &lt;br/&gt;
/opt/codesys/bin/codesyscontrol.bin -d /etc/CODESYSControl.cfg&lt;/p&gt;
&lt;p&gt;open a second ssh client and&lt;br/&gt;
tail -f /tmp/codesyscontrol.log&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys PFC200 Runtime, no log after reboot, can I get a Post-Mortem log?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/92be148c24/?limit=25#ff8b" rel="alternate"/><published>2022-01-04T07:28:57.869000Z</published><updated>2022-01-04T07:28:57.869000Z</updated><author><name>MadsKaizer</name><uri>https://forge.codesys.com/u/madskaizer/</uri></author><id>https://forge.codesys.com0466e7b9718e99466678ad8c5008ea21af806521</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;All the log files there are only with data from after the latest reboot.&lt;/p&gt;
&lt;p&gt;There is a logrotate.status file that contains this:&lt;br/&gt;
logrotate state -- version 2&lt;br/&gt;
"/var/log/sudo.log" 2021-12-21-14:0:0&lt;br/&gt;
"/var/log/runtime.log" 2021-12-21-14:0:0&lt;br/&gt;
"/home/log/wagolog.log" 2021-12-21-14:0:0&lt;br/&gt;
"/var/log/openvpn.log" 2021-12-21-14:0:0&lt;br/&gt;
"/var/log/syslog.log" 2022-1-2-18:1:0&lt;br/&gt;
"/var/log/lighttpd/error.log" 2021-12-21-14:0:0&lt;br/&gt;
"/var/log/kernel.log" 2021-12-21-14:19:0&lt;br/&gt;
"/var/log/lighttpd/access.log" 2021-12-21-14:0:0&lt;br/&gt;
"/var/log/earlymsg" 2021-12-21-14:19:0&lt;br/&gt;
"/var/log/cron.log" 2022-1-4-7:35:0&lt;br/&gt;
"/log/fwupdate.log" 2021-12-21-14:0:0&lt;br/&gt;
"/var/wagoearlylog.log" 2021-12-21-14:0:0&lt;br/&gt;
"/var/log/messages" 2021-12-21-14:0:0&lt;br/&gt;
"/var/log/wago/wagolog.log" 2021-12-21-14:0:0&lt;/p&gt;
&lt;p&gt;which seems to suggest that all logs was rotated on the hour of reboot. There is a ".1" of the older logs, but that is just the reboot information. &lt;/p&gt;
&lt;p&gt;This does not seem to be the right place for a continues log, that would have information about a crash :(&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>