we are using Oracle Linux Server 9.2 (Kernel 5.14.0-284.11.1.el9_2.x86_64) and WinCC OA V3.19 P008 on a Simatic IPC427E.
We are having problems with the automatic start of our project (start as service). So we created a test project, but it doesn't work with the test project either.
Would be great if someone is able to help us here, maybe we have to change/check some settings.
Steps according to
https://www.winccoa.com/documentation/W ... ion_2.html
In advance: Create project "TestProject" via Project Administrator (Legacy Standard project)
(Project path: /data/TestProject/ Linux system user "winccoa" is owner of directory /data/ with writing access)
Set WCCOAui to manual start (default: once).
1. systemctl enable winccoa@TestProject
2. Edit file /etc/systemd/system/winccoa@.service
-> User=winccoa
3. Definition of project in /etc/winccoa.conf
-> PVSS_II=/data/TestProject/config/config
Project start is triggered after reboot, but we are getting Error messages in the PVSS_II.log (messages are repeating):
Code: Select all
WCCOAvalarch (1), 2023.12.18 14:49:37.275, SYS, INFO, 101, Connection to (SYS: 0 Data -num 0 CONN: 1) @ localhost:4897 failed, new attempt in 20 secs
WCCOAvalarch (2), 2023.12.18 14:49:37.492, SYS, INFO, 101, Connection to (SYS: 0 Data -num 0 CONN: 1) @ localhost:4897 failed, new attempt in 20 secs
WCCOAvalarch (3), 2023.12.18 14:49:37.679, SYS, INFO, 101, Connection to (SYS: 0 Data -num 0 CONN: 1) @ localhost:4897 failed, new attempt in 20 secs
WCCOAvalarch (4), 2023.12.18 14:49:37.904, SYS, INFO, 101, Connection to (SYS: 0 Data -num 0 CONN: 1) @ localhost:4897 failed, new attempt in 20 secs
WCCOAvalarch (5), 2023.12.18 14:49:38.084, SYS, INFO, 101, Connection to (SYS: 0 Data -num 0 CONN: 1) @ localhost:4897 failed, new attempt in 20 secs
"systemctl status winccoa@TestProject" shows after reboot no errors.
Start via "systemctl start winccoa@TestProject" or stop via "systemctl stop winccoa@TestProject" shows no problem. Start/stop via WinCC OA console works also fine.
We got the same issues with WinCC OA V3.19 P003 and P006 and on virtual machines.
In WinCC OA V3.18 P015 and Oracle Linux Server 8.7 we did not have any problems.
Thanks in advance for any help/hints.
Content of /etc/winccoa.conf:
Code: Select all
PVSS_II=/data/TestProject/config/config
Code: Select all
[Unit]
Description=WinCC OA project '%i'
[Service]
ExecStart=/opt/WinCC_OA/3.19/bin/WCCILpmon -proj %i
ExecStop=/opt/WinCC_OA/3.19/bin/WCCILpmon -proj %i -stopWait
User=winccoa
[Install]
WantedBy=multi-user.target