Desktop UI With CentOS

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
9 posts • Page 1 of 1
uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm

Desktop UI With CentOS

Post by uxout »

Hello,

I'm trying to connect a DesktopUI under CentOS 7 to my WinCCOA 3.15 project running on Windows 10 Host.
I can connect to the same project with Android and Windows Desktop UI Client, but I'm having issue with CentOS Desktop UI Client.
This is what I get :

Code: Select all

Cannot register project: PA_E_REG_ERROR
: installdir: /root/.wincc_oa-cache
Initialization via HTTP server failed
Can someone explain me why I'm having this error and how to resolve it?

Thanks.

agruber
Posts:147
Joined: Tue Sep 07, 2010 2:52 pm

Re: Desktop UI With CentOS

Post by agruber »

Hello,

Take a look at /root/.wincc_oa-cache to see if the project files were created there. If yes, also look at the generated config file on this client at the cache directory to see if it is somehow corrupted.

BR, Andreas
Customer Care

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Desktop UI With CentOS

Post by mkoller »

The projects are getting registered in the file /opt/WinCC_OA/DesktopUI/pvssInst.conf
Check if this file exists and has permissions for the user running the desktop ui.
It should also contain at least 2 lines like:

Code: Select all

[Software\\ETM\\PVSS II\\3.15]
InstallationDir = "/opt/WinCC_OA/3.15"

uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm

Re: Desktop UI With CentOS

Post by uxout »

I just tried to connect to Demo ETM WinCC OA project and the directory WinCCOA_Demo is correctly created in /root/.wincc_oa-cache, but there is only config files downloaded.
Here is the config file :

Code: Select all

[general]
pvss_path = "/opt/WinCC_OA/3.15"
#proj_path = "C:\\WinCC_OA_Proj\\Simulator"
proj_version = "3.15"
langs = "de_AT.utf8"
langs = "en_US.utf8"
lang = "en_US.utf8"

maxLoops = 1

data = "demo"
event = "demo"

mxProxy = "demo demo.etm.at:5678 cert"
noReverseLookup = 1

#aliveTimeout = 0
connectDelay = 20

messageCompression = "zlib-bzip2"

[ui]
visionResizeMode = "FitToModule"
#forcedSourceDPI = 96
#panelCacheSize = 0
maxZoomFactor = 5.0
minZoomFactor = 0.1
#cacheTimeoutSecs = 1
trendEnableCurveRulers = 1
autoDownscaleThreshold = 1000

[webClient]
httpPort = 80
httpsPort = 443

## /opt/WinCC_OA/3.15/config/config.level ##
[ctrl]
LoadCtrlLibs = "std.ctl, libCTRL.ctl, hosts.ctl, va.ctl, archiv.ctl, mp.ctl"
LoadCtrlLibs = "sdSymbolDynamics.ctl"
LoadCtrlLibs = "panel.ctl"
LoadCtrlLibs = "cns.ctl"
ctrlDLL = "CtrlCNS"

[ui_extend]
LoadCtrlLibs = "para.ctl, ep.ctl, csg.ctl, ngedi.ctl, ini.ctl"

[ui]
LoadCtrlLibs = "as.ctl, es.ctl, libCTRL.ctl, STD_Symbols.ctl, STD_ComplexSymbols.ctl, da.ctl"
LoadCtrlLibs = "login.ctl, panel.ctl, std.ctl, dist.ctl"
LoadCtrlLibs = "hosts.ctl, va.ctl, ac.ctl, dpGroups.ctl"
LoadCtrlLibs = "pager.ctl, archiv.ctl, Clk.ctl, tools.ctl, mp.ctl, ax.ctl"
LoadCtrlLibs = "pmon.ctl, userMan.ctc"
LoadCtrlLibs = "pt.ctl, _consts.ctl"
LoadCtrlLibs = "ptms.ctl, ptnavi.ctl"
LoadCtrlLibs = "sdSymbolDynamics.ctl"
LoadCtrlLibs = "cns.ctl"
LoadCtrlLibs = "cnsTree.ctl"
LoadCtrlLibs = "cnsEditor.ctl"
ctrlDLL = "CtrlCNS"

[event]
LoadCtrlLibs = "STD_Symbols.ctl"

[ascii]
LoadCtrlLibs = "ASCIILib.ctl, da.ctl, mp.ctl, para.ctl"
The config seems correct to me.
Have you tried to connect Unix WinCC OA Desktop Client to this project?

uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm

Re: Desktop UI With CentOS

Post by uxout »

There is no file /opt/WinCC_OA/DesktopUI/pvssInst.conf
Isn't this file created when you install the whole WinCC OA Software instead of the WinCC OA Desktop Client?

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Desktop UI With CentOS

Post by mkoller »

Check something like this:
rpm -qp --scripts /opt/WinCC_OA/3.15/data/clsetup/linux-rhel-x86_64/WinCC_OA_3.15-desktop-ui-rhel-0-7.x86_64.rpm

this shall show you a small script which creates the registry file, e.g.
...
PrepRegistryConfig()
{
CONFIG_STD=pvssInst.conf
REGDIR_STD=/opt/WinCC_OA/DesktopUI
...

so this file should be created during the installation of the WinCC_OA_3.15-desktop-ui rpm package

uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm

Re: Desktop UI With CentOS

Post by uxout »

Yes, i got what you get.
Does that mean that the Unix Desktop Client is not correctly installed?

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Desktop UI With CentOS

Post by mkoller »

It seems so. Try deinstalling the package and reinstall it and check if there are any errors while installing, then check after the install if the pvssInst.conf file exists.

uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm

Re: Desktop UI With CentOS

Post by uxout »

Alright, it works now.
Thanks for your help !

9 posts • Page 1 of 1