a WinCC OA 3.11 project was copied from windows to linux. But now all valarchprocesses (0 - 5) are crashing at project start (under linux)
copy/pase from log file:
ACE_ASSERT: time Wed Nov 21 13:46:26.580111 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.
14:16:22.957[-1210754160](Archive.cpp:477) Assertion '[getCurrentSetNum() > 0]' failed !! - getCurrentSetNum()=0
ACE_ASSERT: time Wed Nov 21 14:16:22.957584 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.
14:16:24.137[-1211282544](Archive.cpp:477) Assertion '[getCurrentSetNum() > 0]' failed !! - getCurrentSetNum()=0
ACE_ASSERT: time Wed Nov 21 14:16:24.137832 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.
14:16:25.470[-1210786928](Archive.cpp:477) Assertion '[getCurrentSetNum() > 0]' failed !! - getCurrentSetNum()=0
ACE_ASSERT: time Wed Nov 21 14:16:25.470523 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.
14:16:26.656[-1211315312](Archive.cpp:477) Assertion '[getCurrentSetNum() > 0]' failed !! - getCurrentSetNum()=0
ACE_ASSERT: time Wed Nov 21 14:16:26.656597 file Archive.cpp, line 477 assertion failed for 'getCurrentSetNum() > 0'.
do you know what the problem is?
Thx.
valarch processes crash on linux system
Search
Re: valarch processes crash on linux system
Hello,
when copying a project from a Windows-system to a Linux-system you have to set the following config-entry:
[valarch]
useHeaderSize = "Windows"
Please check if the startup of the archives work.
If it does not work and the archived information in the value-archive directories is not needed you could delete the VA-directories at the database. They will be created automatically when starting the project.
Best Regards
Leopold Knipp
Senior Support Specialist
when copying a project from a Windows-system to a Linux-system you have to set the following config-entry:
[valarch]
useHeaderSize = "Windows"
Please check if the startup of the archives work.
If it does not work and the archived information in the value-archive directories is not needed you could delete the VA-directories at the database. They will be created automatically when starting the project.
Best Regards
Leopold Knipp
Senior Support Specialist
Re: valarch processes crash on linux system
Now it works.
At least the delete of the VA-directories has helped.
The config-entry did not help.
regards.
At least the delete of the VA-directories has helped.
The config-entry did not help.
regards.
Re: valarch processes crash on linux system
The config entry definitely helps if used in the right section. It must be:
[valarch]
useHeaderSize = "windows"
[valarch]
useHeaderSize = "windows"
Re: valarch processes crash on linux system
Meanwhile I've some experience with transfering projects from Windows to Linux.
The config entry definitely helps when it is added (to the config file) immediatly before first project start on linux.
I mean,
1) copy the project to linux
2) edit the config file
3) start the WinCC oA
The first time I wasn't aware of the config entry useHeaderSize. So the project was startet immediatly after copying. Then the error is reportet. When the config entry useHeaderSize now is used after the first project start then it did not help.
The config entry definitely helps when it is added (to the config file) immediatly before first project start on linux.
I mean,
1) copy the project to linux
2) edit the config file
3) start the WinCC oA
The first time I wasn't aware of the config entry useHeaderSize. So the project was startet immediatly after copying. Then the error is reportet. When the config entry useHeaderSize now is used after the first project start then it did not help.