VDA is unable to Register with DDC with error: Failed to start WCF services

Server VDA machine does not get registered. Following Error is thrown on the VDA Event viewer

Error details:

Failed to start WCF services. Exception ‘Object reference not set to an instance of an object.’ of type ‘System.NullReferenceException’

COM component was unable to Load StackManager.ConnectToStackControlComServerAndVerify: COM exception System.InvalidCastException: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Citrix.StackControlService.StackControl’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{BEE5F9CD-A777-47C7-BA5A-CDD82FFEC4D8}’ failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)). at Citrix.Cds.BrokerAgent.AgentToStack.ConnectToStackControlCOMServer() at Citrix.Cds.BrokerAgent.StackManager.ConnectToStackControlComServer(StackCapabilities& actualStackCapabilities, Int32 retryCount)

Related:

Installation Failure SEE 11.2.1

I need a solution

I can’t get the SEE install to work!  I’ve looked at the install log and see that custom action ‘setrebootrequired’  is where the issue occurs.  The error itself says “Error: failed to loadlibrary c:program filessymantecendpoint encryptiondrive encryptiondealwrap.dll”  The install then rolls back.  I have disabled roll back and looking in the installation folder I see that dll is there.  I also tried to just register the dll manually but it fails.  Any help would be appreciated.  

0

Related:

Virtual Apps 7.15 -VDA is unable to Register with DDC

Server VDA machine does not get registered. Following Error is thrown on the VDA Event viewer

Error details:

Failed to start WCF services. Exception ‘Object reference not set to an instance of an object.’ of type ‘System.NullReferenceException’

COM component was unable to Load StackManager.ConnectToStackControlComServerAndVerify: COM exception System.InvalidCastException: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Citrix.StackControlService.StackControl’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{BEE5F9CD-A777-47C7-BA5A-CDD82FFEC4D8}’ failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)). at Citrix.Cds.BrokerAgent.AgentToStack.ConnectToStackControlCOMServer() at Citrix.Cds.BrokerAgent.StackManager.ConnectToStackControlComServer(StackCapabilities& actualStackCapabilities, Int32 retryCount)

Related:

Avamar: Avamar client software conflicts with third-party business application

Article Number: 498768 Article Version: 3 Article Type: Break Fix



Avamar Client for Windows

After successfully installing the Avamar Client, a third party service crashes. Removing the Avamar Client corrects the behavior.

The Avamar client installation adds “C:Program Filesavsbin” to the environment variable “$PATH” on a Windows Server.

The third party service also places “C:Program FilesNuanceRecognizerbinSSLeay32.dll” to the environment variable “$PATH” on the Windows Server.

Before the Avamar Client installation, the third party service loads the “ssleay32.dll” as C:Program FilesNuanceRecognizerbinSSLeay32.dll.

After installing the Avamar Client, the third party service loads the “ssleay32.dll” as C:Program Filesavsbinssleay32.dll causing the service to terminate due to an unexpected dll.

Remove the “C:Program Filesavsbin” from “$PATH” in the environment variable after the Avamar Client installation. Environment variable “$PATH” specifies the directories in which executable programs are located on the machine that can be started without knowing and typing the whole path to the file on the command line.

Alternatively, move the “C:Program Filesavsbin” entry in the Path parameter in Environment Variables from the first item to the last, thereby changing the priority for the custom application software to be higher on the list.

Also, check to see if the “libeay32.dll” and “ssleay32.dll” files are present in the avsbin directory.

The main problem is that those 2 files, which are 32bit, should not be in avsbin directory, which is a 64bit directory. Those files should be present also in the avsbin32 directory. So those two files can simply be deleted from avsbin, without changing the env var PATH, and that should fix the issue.

The “libeay32.dll” and ssleay32.dll” files are not part of Windows, they are SSL library DLLs that come with Avamar, as well as other software.

Related:

7002609: -783 Unable to load VRDIM at driver startup. -299 error in NDS Trace.

I. After looking at the environment variables and specifically theLD_LIBRARY_PATH variable there was a JAVA based application thatwas installed between reboots.

The installed Java based application caused IDM to lose a referenceto where its own JRE is loaded.

To temporarily fix the issue for a default root-based installationyou can place the following command in the eDirectory startupscript. This puts the IDM related paths in theLD_LIBRARY_PATH without any other paths:

exportLD_LIBRARY_PATH=/opt/novell/eDirectory/lib:/opt/novell/eDirectory/lib/nds-modules:/opt/novell/lib

Running this command will only overwrite thevariable until the server is rebooted. To permanently fix theissue, either remove the other Java-based application or find wherethe application is setting the LD_LIBRARY_PATH (probably in/etc/profile.d directory) and remove or adjust the settings. Some applications do not need to have a path in the LD_LIBRARY_PATHand the normal PATH variable is sufficient.

Another possible resolution would be to removeIDM and reinstall. It seems that when the JAVA applicationwas installed prior to IDM there were no issues; however, that maynot be the case with all applications, just the one that was usedin this particular issue.

If this issue happens on a system with eDirectory 8.7.3.x here are the steps to resolve.

  1. Edit the ndsd startup script (/etc/init./ndsd)
  2. Look for the line LD_LIBRARY_PATH. It should look something like the following: LD_LIBRARY_PATH=/usr/lib/nds-modules/jre/lib/i386:$LD_LIBRARY_PATH
  3. Change the like so that it looks like this: LD_LIBRARY_PATH=/usr/lib/nds-modules/jre/lib/i386
  4. Restart eDirectory and the IDM engine should load.

II. This issue has also been seen on a non-root install of IDM 4.7. This is due to missing Java Runtime Edition not being installed correct. Workaround: sudo su as root and install the following package from the IDM 4.7 installation media. Then restart eDirectory and the driver should load.

rpm -ihv /common/packages/java/netiq-jrex-1.8.0-162.noarch.rpm

Related:

Citrix Server VDI : Failed to start wcf services. Exception object reference not set to an instance of an object

The following System.InvalidCastException is thrown as BrokerAgent starts up, creates our StartWorkerAgentThread, Initializes LaunchManager, and attempts to ConnectToStackControlCOMServer:

COM exception System.InvalidCastException: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Citrix.StackControlService.StackControl’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{BEE5F9CD-A777-47C7-BA5A-CDD82FFEC4D8}’ failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).

This is caused either by a missing StackController type library or by incorrect registry entries relating to the same.

Related:

Running java code relying on oplall.jar in CPLEX Studio 128

Dear support team,

I have installed CPLEX Studio 128 on a Mac. The IDE works fine, but now I am trying to run an OPL model via the java interfaces.

I have included the oplall.jar file in the project and all is fine until I run the code, at which point I receive the following message

Native code library failed to load: ensure the appropriate library (opl1280.dll/.so) is in your path.
Exceptions:
no opl1280 in java.library.path
no oplb in java.library.path
no opl_lang_wrap_cpp in java.library.path
no opl_core_wrap_cpp_java1280 in java.library.path
no opl_core_wrap_cpp in java.library.path
no cp_oaas1280 in java.library.path
no cp_oaas in java.library.path
no cp_wrap_cpp_java1280 in java.library.path
no cp_wrap_cpp in java.library.path
no concert_wrap_cpp_java1280 in java.library.path
no concert_wrap_cpp in java.library.path

I have checked in the folder Applications/CPLEX_Studio128/opl/lib/x86-64_osx/static_pic/ but there is no file OPL1280.so. The list of files in that directory is

libconcert.a
libcp.a
libcplex.a
libcplexdistmip.a
libicudata.55.dylib
libicudata.dylib
libicui18n.55.dylib
libicui18n.dylib
libicuio.55.dylib
libicuio.dylib
libicule.55.dylib
libicule.dylib
libiculx.55.dylib
libiculx.dylib
libicutu.55.dylib
libicutu.dylib
libicuuc.55.dylib
libicuuc.dylib
libiljs.a
libilocplex.a
libopl.a

I have also run a search for opl1280.so in folder /Applications/CPLEX_Studio128, but this file does not seem to be there.

What is the correct way to run java code that relies on oplall.jar in CPLEX Studio 12.8? What folder should I indicate in -Djava.library.path=? Is this perhaps a bug in the manifest file within the oplall.jar?

Related:

Trying to launch the Installation Manager I receive an issue on libfontconfig

Meaning I have installed all the RPMs/filesets at the proper version as well as installed 32 bit versions for those stated.
Still the Installation Manager will not launch. I receive the following error to the screen, no log files are written.

Truncated error message
Error :

Could not load SWT library. Reasons:
/opt/IBM/cognos/Installationmanager/eclipse/configuration/org.eclipse.osgi/bundles/370/1/.cp/libswt-pi-gtk-4239.a ( 0509-022
Cannot load module /usr/lib/libfontconfig.a(libfontconfig.so.1).
0509-150 Dependent module
/opt/IBM/cognos/HTTPServer/lib/libexpat.a(libexpat.so.1) could not be loaded.
0509-152 Member libexpat.so.1 is not found in archive
0509-022 Cannot load module
/opt/IBM/cognos/Installationmanager/eclipse/configuration/org.eclipse.osgi/bundles/370/1/.cp/libswt-pi-gtk-4239.a.
0509-150 Dependent module /usr/lib/libfontconfig.a (libfontconfig.so.1) could not be loaded.)
swt-pi-gtk (Not found in java.library.path)
/home/cognadmd/.swt/lib/aix/ppc/libswt-pi-gtk-4239.a ( 0509-022 Cannot load module /usr/lib/libfontconfig.a(libfontconfig.so.1).
0509-150 Dependent module
/opt/IBM/cognos/HTTPServer/lib/libexpat.a(libexpat.so.1) could not be loaded.
0509-152 Member libexpat.so.1 is not found in archive
0509-022 Cannot load module /home/cognadmd/.swt/lib/aix/ppc/libswt-pi-gtk-4239.a.
0509-150 Dependent module /usr/lib/libfontconfig.a (libfontconfig.so.1) could not be loaded.)
/home/cognadmd/.swt/lib/aix/ppc/libswt-pi-gtk.a ( 0509-022 Cannot load module /home/cognadmd/.swt/lib/aix/ppc/liblibswt-pi-gtk.a.so.
0509-026 System error: A file or directory in the path name does not exist.)
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/opt/IBM/cognos/Installationmanager/eclipse/configuration/org.eclipse.osgi/bundles/370/1/.cp/libswt-pi-gtk-4239.a ( 0509-022 Cannot load module /usr/lib/libfontconfig.a(libfontconfig.so.1).
0509-150 Dependent module
/opt/IBM/cognos/HTTPServer/lib/libexpat.a(libexpat.so.1) could not be loaded.
0509-152 Member libexpat.so.1 is not found in archive
0509-022 Cannot load module

Related:

Metabot DLL that references another DLL … where to place them?

Imagine I create a MetaBot. In that MetaBot I add a Windows DLL that exposes functions I wish to call. Great!!! Let us call that DLL MyMetaBot.DLL.

Now imagine that this DLL (MyMetaBot.DLL) itself has a pre-requisite of another DLL. It needs “MyLibrary.DLL” at run-time.

When I register MyMetaBot.DLL with my MetaBot definition and try and run it in AA, I get the error “MyLibrary.DLL” not found. That makes sense as no-where along the line have I told AA where to go look for the MyLibrary.DLL. I tried adding MyLibrary.DLL as an “Asset” in the MetaBot but that didn’t work (that would have been great). So the question before me is …

What is the correct procedure for adding requisite DLLs to a MetaBot controlled exposed DLL?

Related:

SPSS25 and R Code script problems

Purchased the new book Andy Field’s Discovering Statistics Using SPSS 5th Edition – just came out and has new items from previous editions. One of the big additions he has is the use of R within SPSS. In one of the early chapters he has s
specific command to download a new R module to be accessed inside of SPSS.
Here’s the code he provides.

BEGIN PROGRAM R.

install.packages(“WRS2″)

END PROGRAM.

When I ran it nothing seemed to happen. So I went looking for an answer and came across this:
https://www.ibm.com/developerworks/library/ba-call-r-spss/index.html
I copied the code for displaying “Hello R!”

BEGIN PROGRAM R.

cat(“ttHello R!n”)

END PROGRAM.

When I ran it this is what I got back;

Warning messages:
1: In doTryCatch(return(expr), name, parentenv, handler) :
unable to load shared object ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/modules//R_X11.so’:
dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/modules//R_X11.so, 6): Library not loaded: /opt/X11/lib/libSM.6.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.3/Resources/modules//R_X11.so
Reason: image not found
2: In redirection() : Unable to open connection to X11 display.
Hello R!

Note that the file R_X11.so is in that folder. Also note that for some reason there is a double forward slash…

Thanks

Related: