ivanvidori - 2020-07-24

Frequently the codesyscontrol service exits apparently without reason.
Tried to check in the /tmp/codesyscontrol.log but found nothing.
Start to notify issues when visu shows "waiting for app" message and red cycling arrows, but the Plc is still working, after some minutes the plc stops too.
Raspberry is still working.

Checked the service status through ssh.
This is the output:
pi@FETopCore121:~ $ sudo service codesyscontrol status
● codesyscontrol.service - LSB: Prepares and starts codesyscontrol
Loaded: loaded (/etc/init.d/codesyscontrol; generated; vendor preset: enabled)
Active: active (exited) since Fri 2020-07-24 08:22:55 CEST; 2h 28min ago
Docs: man:systemd-sysv-generator(8)
Process: 408 ExecStart=/etc/init.d/codesyscontrol start (code=exited, status=0/SUCCESS)
lug 24 08:22:54 FETopCore121 systemd[1]: Starting LSB: Prepares and starts codesyscontrol...
lug 24 08:22:55 FETopCore121 codesyscontrol[408]: License backup created.
lug 24 08:22:55 FETopCore121 codesyscontrol[408]: codesyscontrol started.
lug 24 08:22:55 FETopCore121 systemd[1]: Started LSB: Prepares and starts codesyscontrol.

Starting the service get no results:
pi@FETopCore121:~ $ sudo service codesyscontrol start
pi@FETopCore121:~ $ sudo service codesyscontrol status
● codesyscontrol.service - LSB: Prepares and starts codesyscontrol
Loaded: loaded (/etc/init.d/codesyscontrol; generated; vendor preset: enabled)
Active: active (exited) since Fri 2020-07-24 08:22:55 CEST; 2h 29min ago
Docs: man:systemd-sysv-generator(8)
Process: 408 ExecStart=/etc/init.d/codesyscontrol start (code=exited, status=0/SUCCESS)

lug 24 08:22:54 FETopCore121 systemd[1]: Starting LSB: Prepares and starts codesyscontrol...
lug 24 08:22:55 FETopCore121 codesyscontrol[408]: License backup created.
lug 24 08:22:55 FETopCore121 codesyscontrol[408]: codesyscontrol started.
lug 24 08:22:55 FETopCore121 systemd[1]: Started LSB: Prepares and starts codesyscontrol.

Restarted the service:
pi@FETopCore121:~ $ sudo service codesyscontrol restart
pi@FETopCore121:~ $ sudo service codesyscontrol status
● codesyscontrol.service - LSB: Prepares and starts codesyscontrol
Loaded: loaded (/etc/init.d/codesyscontrol; generated; vendor preset: enabled)
Active: active (running) since Fri 2020-07-24 10:54:02 CEST; 9s ago
Docs: man:systemd-sysv-generator(8)
Process: 2784 ExecStop=/etc/init.d/codesyscontrol stop (code=exited, status=0/SUCCESS)
Process: 2791 ExecStart=/etc/init.d/codesyscontrol start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/codesyscontrol.service
β”œβ”€2811 /opt/codesys/bin/codesyscontrol.bin /etc/CODESYSControl.cfg
└─2817 /opt/codesys/bin/codesyscontrol.bin /etc/CODESYSControl.cfg

lug 24 10:54:02 FETopCore121 systemd[1]: Starting LSB: Prepares and starts codesyscontrol...
lug 24 10:54:02 FETopCore121 codesyscontrol[2791]: License backup created.
lug 24 10:54:02 FETopCore121 codesyscontrol[2791]: codesyscontrol started.
lug 24 10:54:02 FETopCore121 systemd[1]: Started LSB: Prepares and starts codesyscontrol.

We do this restart operation several times every day, need to found the cause of exitting.

System info:
Codesys 3.5.15.10
uname
Linux FETopCore121 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
* cpuinfo
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

Best regards,

Ivan

 

Related

Talk.ru: 1