WinCC OA as Linux service - Problems

Find and share HowTos to various installations / configurations!
Search

Post Reply
2 posts • Page 1 of 1
setschel
Posts: 10
Joined: Thu Oct 14, 2021 12:50 pm

WinCC OA as Linux service - Problems

Post by setschel »

Hello,

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
Opening the WinCCOA console shows the warning: "The process monitor (WCCILpmon) of this project ist not running!".
"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
Content of /etc/systemd/system/winccoa@.service:

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

User avatar
leoknipp
Posts: 2846
Joined: Tue Aug 24, 2010 7:28 pm

Re: WinCC OA as Linux service - Problems

Post by leoknipp »

The copied part of the PVSS_II.log file only shows log message that the Value Archive Managers cannot connect to the Data Manager.
It does not show any information for the first messages of starting the project.
Did you run the systemctl commands with the user winccoa or any other user?

If you need further assistance please get in contact with your common WinCC OA Support.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
2 posts • Page 1 of 1