Skip to main content

Posts

Showing posts from 2013

Citrix Receiver Runtime Error! Program: C:\PROGRA~2\Citrix\ICACLI~1\WFICA32.EXE

Sometime when  you upgrade Citrix  receiver or uninstall an older version and then install a new Citrix Receiver version , you may see an issue opening application /desktops (Citrix XenApp / XenDesktop) You may see errors as shown in the image: --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: C:\PROGRA~2\Citrix\ICACLI~1\WFICA32.EXE It may happen that an older installation of Citrix Receiver did not get cleaned up properly. Try and check if this entry exist in registry and then delete it. HKEY_CLASSES_ROOT\Installer\UpgradeCodes\9B123F490B54521479D0EDD389BCACC1 Hope this helps.

StoreFront 2.0 Load Balanced Group Issue no gateways are configured for this service

Sometimes when you build a new storefront Group with 2 or more servers in it and have them load balanced using Netscaler . As soon as you try and access you XenDesktop site,you will get redirected to one of the load balanced storefront servers. It may happen that when you add NetScaler to the storeFront site for Remote access the changes might not have been propagated to the secondary StoreFront servers. You wont be able to access the resources and at this point you will see this event on the secondary Storefront. Event Id 1 Task Category : 2007 A request was sent to service 'ABCStoreFront' that was detected as passing through a gateway. However no gateways are configured for this service.  Request details: X-Citrix-Gateway: X-Citrix-Via: test.domain.com X-Citrix-Via-VIP: Remote Address: Your NetScaler MIP X-Forwarded-For: Some IP ,Your NetScaler MIP Resolution was simple : Propagate changes to all storefront servers. Hope this helps

Microsoft ACT 5.6 ACTUpload: ACM database version is incompatible. Logs cannot be processed

After installing ACT 5.6 ,log processing kept failing with following Event 0 ACTUpload: ACM database version is incompatible.  Logs cannot be processed. I  followed this  to install and configure ACT http://www.techforcast.com/2012/04/act-56-setup-step-by-step.html On the Machine following event appeared everytime it tried to process the logs. Since i had choose to create  DB on separate SQL 2008 R2 SP1 Server and used System Account for Log Processing Service , i needed to add the following permission to system Account of the ACT machine on that DB. After this is done , move all the files from Failed folder to the root of ACT File Share and restart ACT log Processing Service. . Additional tip: In order to push the Data collection package silently using SCCM, i used the following command msiexec /i dcp001.msi /qn Hope this helps.

The following port numbers are either invalid or already in use VMware VirtualCenter HTTP port: 80

We encountered this issue while installing vCenter 5.1 The error was as shown: The following port numbers are either invalid or already in use. VMware VirtualCenter HTTP port: 80 Once we stopped the World Wide Web Publishing Service , we were able to continue the install. http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1030445 The information provided in this KB helped to resolve the issue in our case , although we dint have SSRS installed . Only thing i could think of was of the World Wide Web Publishing Service. Hope this Helps.

XenDesktop 7 VM default setting of Use Check boxes to select items

Found out on the new Windows 7 VDI (using Xendesktop 7) the folder options show a check box on everything when we click or hover the mouse pointer over an object. We need to go to the folder options and uncheck the following : Hope this helps.

StoreFront 2.0 Propagate Changes Event ID 0 and 1 .There was no endpoint listening at net.tcp

When we add server to the Citrix storefront 2.0 server gropup , it may happen that the Propagate changes give us an error You will see the following events on the Primary StoreFront 2.0 Server Event Id 0: Error in retrieving synchronization information. Citrix.DeliveryServices.PowerShell.Command.Runner.Exceptions.PowerShellExecutionException: An error occured running the command: 'Get-DSClusterConfigurationUpdateState' ---> System.Management.Automation.ActionPreferenceStopException: Command execution stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: There was no endpoint listening at net.tcp://storefront02/Citrix/ConfigurationReplication that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. Event Id 1: Citrix.DeliveryServices.PowerShell.Command.Runner.Exceptions.PowerShellExecutionException, Citrix.Delive

Windows Server 2012 .Net Framework 3.5 Features Installation failed using Server Manager

On Windows Server 2012 , we may sometime face issue adding it through the Server Manager I prefer to use the following command to add .Net 3.5 feature using PowerShell First mount the ISO for windows server . Say it is mounted on D:\ Then run Powershell as Administrator , run the following command dism /online /enable-feature /featurename:NetFX3 /all /Source:D:\Sources\SXS Hope this Helps.

SCCM: Package Requires a newer version of source files and the new compressed files haven't arrived yet,

For a couple of days i have been facing an issue with some packages not getting updated on the secondary Site DP The message i kept seeing in the distmgr log on the Secondary Site server (DP) was: Package ABC001D2 requires a newer version (2) of source files and the new compressed files haven't arrived yet, current version is 1, skip X:\Program Files (x86)\Microsoft Configuration Manager\inboxes\distmgr.box\INCOMING\10xVQPN1.PKG I tried a lot of things like deleting the DP , adding the DP again , Refresh DP However finally these steps fixed this one for us: Before yyou begin check "All active package distributions" Report , it should show the package with Issue. 1.Go to the distmgr inbox on the DP that you have issue with Look for the .PCK file for the package and delete it. e.g ABC001D2.PCK 2.Backup the SCCM DB and then run the following queries: Delete from pkgstatus where SiteCode = 'SEC' and ID = 'ABC001D2' DELETE from PkgServ

SCOM 2012 Reporting Pane Empty

We faced an issue with SCOM 2012 SP1 Reporting Pane. When an Admin user was launching the console from one of the client Machines that had SCOM 2012 console installed locally and Clicking on the Reporting pane , it didn't display the reporting tree structure. Just blank reporting Pane was displayed. SCOM 2012 SP1 console was installed on the client machine and the user used Run As different user (the user that had admin privileges in SCOM) As we checked more into the issue , it seemed that IE proxy was causing it. We opened IE under the Admin user Account credentials (Run As Different user) , changed the proxy settings to include correct proxy details. After that the reports tree showed up for the Admin user. Hope this helps.

Re-install McAfee Agent using SCCM Package

We needed to re-install McAfee agent on all the servers as they were not reporting to ePO server properly. In order to do so we used SCCM to advertised a package that we created which re-installed the ePO agent. The package was saved on the FileServer and contained : FramePkg.exe EpoReinstall.cmd The content of EPOResinstall.cmd : CD "C:\Program Files (x86)\McAfee\Common Framework" FrmInst.exe /Forceuninstall /s "%~0\..\FramePkg.exe" /install=agent /S We set the advertisement to run the package directly from the DP. Hope this helps.

Citrix StoreFront 2.0 Event ID 17 and 12 Timeout

We are facing an issue with Storefront 2.0 . Everything seemed to be slow, authentication , enumeration , launch etc. The events we saw were: Event Id 17 An error occurred while contacting the Discovery Service. System.Net.WebException, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 The operation has timed out Url: http://StoreSRV01/Citrix/XD7PoC/discovery ExceptionStatus: Timeout Event ID 12 An error occurred while contacting the Discovery Service. System.Net.WebException, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 The operation has timed out Url: http://StoreSRV1/Citrix/XD7PoC/discovery ExceptionStatus: Timeout It supposedly was caused by McAfee VSE 8.8 Update 2. We tried uninstalling McAfee VSE 8.8 U2 and installing the older 8.7 version and it does make some difference. Not sure what the perfect solution is as of now. Hope this helps.

XenDesktop 7 Director localhost issue

We faced an issue with xendesktop 7 director. When the admin user logged on to the director server and launched it from the start menu it opens http://localhost/Director As soon as the user provides credentials , he's returned back to logion screen for Director. There is no error in the event log or IIS logs. We got it fixed by using  http://servername/Director  instead of  http://localhost/Director You can change the Shortcut in Start menu to http://servername/Director This may have something to do with the IIS , but not sure. If you face this issue , you can try the above steps and see if that works for you Hope this helps.

Psexec Help

We had a requirement to create 10GB files on 200 machines immediately  for testing. psexec was used to do this remotely. The command: psexec.exe -u username -p passpord @list.txt \\FileSrv01\Sharename\CreateFile.cmd Here are the steps: Created a batch file and saved it on a file share which all users have access to . FileServer Share  ----   \\FileSrv01\Sharename\ Batch File ---  CreateFile.cmd The batch file had this content: fsutil file createnew C:\test.bak 10000000000  The Above command creates around 9GB file immediately 1.Logged in to one of the machines with admin privilege 2.Copied psexec.exe  to folder C:\temp 3.Created a file list.txt which had all the machines where i wanted to run the batch file.Kept it in the same folder. 4.Executed the command from command prompt within C:\temp directory psexec.exe -u username -p passpord @list.txt \\FileSrv01\Sharename\CreateFile.cmd Hope this Helps.

Xendesktop 7 Machines Shut down during Peak Hours

Sometimes you might have a situation wherein you have a dedicated Catalog with 100's of machines. You set the delivery group for Peak hours and do not want any machines to be turned off. However you will notice that machines are still shutting down during the peak hours  Set-BrokerDesktopGroup "Your Delivery Group Name" -PeakBufferSizePercent 100 e.g Set-BrokerDesktopGroup "ABCDesktops" -PeakBufferSizePercent 100 You may want to test with different values for PeakBufferSizePercent In our case i choose 100 Hope this helps.

There are no apps or desktops assigned to you at this time Citrix Storefront

Sometimes when  you configure Storefront 2.0 and you create a store to access your apps for your current XenApp 6.5 Farm .You may not see any of your published applications. And the page looks like: Just a message: "There are no apps or desktops assigned to you at this time" You need to make sure that while Creating the store you need to specify the correct port for XML broker for your farm. Like in our case it is 8080 Also in case if you want to show the Apps by default on the Logon page you can use the following keywords while publishing the applications in the AppCenter These keywords are : Auto Featured TreatAsApp Auto -- Will show the published application by default Featured --To add to the featured list There are others you can add as well Then it will show as: Hope this helps.

Citrix Storefront 2.0 - The Management console is Unavailable because a root certificate is missing

While Installing Storefront 2.0 , you may get a warning in the Storefront console . "The Management console is Unavailable because a root certificate is missing" It happens if - VeriSign Class 3 Primary CA - G5  Certificate is missing under the trusted Root certification Authorities Container  on the machine where storefront is installed. Download the root certificate from  http://www.symantec.com/page.jsp?id=roots Look for the certificate that is missing as this page has a lot of them. Save it somewhere . And then import it in the Trusted Root Certification Authorities store  of the local Computer. Hope this helps.

SCOM Custom reports Event ID 18456

We faced an issue where in the users who were part of the  SCOM 2012 Report Operators were unable to run some Custom Reports. These reports were using a Custom DataSource created for the OpsMgrDB Whenever user tried to open the report ,we received following alert on the SQL Reporting server. he Permission on SSRS is "System User" for 2537B367-6D74-4110-B0B5-1F51C1B1B09E Log Name:      Application Source:        MSSQLSERVER Date:          10-05-2013 15:41:01 Event ID:      18456 Task Category: Logon Level:         Information Keywords:      Classic,Audit Failure Description: Login failed for user 'Domain\User01'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: <local machine>] This is what we did and it worked for us: In the Datasource we modified the Connect using:: Windows integrated security  to Credentials stored securely in the report server

Data Access Service (OMSDK) and System Center Management Configuration do not start Event Id 1000 and 1026

We faced this issue with  SOCM 2012 SP1  very recently. I received an alert the Operation manager resource pool has some issue , checked and found that the SDK and Data Access Service (OMSDK) and System Center Management Configuration were stopped on one of the management servers and do not start at all. When i try to start them manually , it comes up with the the message as shown: I saw the following Events on the Management servers: Event ID: 1000 Faulting application name: Microsoft.EnterpriseManagement.Monitoring.Console.exe, version: 7.0.9538.0, time stamp: 0x50903ed4 Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b8479b Exception code: 0xe0434352 Fault offset: 0x0000000000009e5d Faulting process id: 0x1d3c Faulting application start time: 0x01ce41887f1cbc6c Faulting application path: X:\Program Files\System Center 2012\Operations Manager\Console\Microsoft.EnterpriseManagement.Monitoring.Console.exe

Low disk space on C: on windows 2008 x64 server

If you face a condition where in the C:\ on server 2008 x64 (in my case SCOM 2007 R2 CU5 RMS server) becomes full and you have no more space and don't know what to delete : This is what i deleted and think didn't affect my sever. Clean up Winsxs a little bit: C:\Windows\winsxs http://blogs.technet.com/b/askcore/archive/2008/09/17/what-is-the-winsxs-directory-in-windows-2008-and-windows-vista-and-why-is-it-so-large.aspx Deleted the files under C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp  (5GB)  -- the file modified dates were 3 years ago. So i took a chance Move the archive Security Logs to other location : C:\Windows\System32\winevt\Logs (5GB) You can run Disk Cleanup utility (however you need to Install Desktop Experience feature on the server as Disk cleanup is not part of Windows 2008 and need to be added as a feature) Uninstalled programs from the server that no longer were needed. (e.g management pack Installers , some software which i no lo

Exporting Group Membership from AD

Sometimes you may find yourself in a situation where you have to export the members of a security group from AD. In such a situation we can use following commands : (On a server were AD tools - remote Administration tools are installed) dsquery group -name “Group Name” | dsget group -members > users.csv However this will give results with the respective LDAP paths e.g CN=Server01,OU=V,OU=Servers,OU=Computers,OU=Loc,DC=domain,DC=com You might have only wanted to get the name not the netire path. Just open the csv file you exported and  (Press Ctrl + H )  i.e Find and  Replace these 1 by 1 Use Replace All option , the image is shown here: OU=* CN= , Additionally you may also use the following command: net group “Group Name” /domain > users.csv Again you have to do some formatting of the results. Hope this helps.

XenApp 6.5 Apply Full Load Evaluator for Server Maintenance

In XenApp 6.5 in case you want to drain the sessions so that eventually you could reboot the server for maintenance. there is an option in the XenApp console , where in you can do the following: This is same as the (drain mode) of Microsoft RDS 2008 R2. However i have had mixed results with this and sometimes when i prohibit logons it changes it back to Allow logons . Also this disables the functionality of RDP as well. I have found using load Evaluator is a better and good option to accomplish maintenance mode for Citrix Xenapp Servers. In XenApp 6.5 we cant assign load Evaluators to Servers directly , so have to use Worker Groups. Firstly I created a Load Evaluator (named it Full Load) and used Scheduling Rule. This Load evaluator if applied to a Worker Group , will apply Full Load (10000) to all servers in the Worker Groups. I then Created a Worker Group and Named It -- Full Load Worker Group I used Farm Server as Select Source instead of Active Directo

Chrome Spell Check Notification Error

Google Chrome Spell Check Alert :) It dint spell Better (bettar)

SCOM Test Event Based Rule by creating a Fake event

Sometimes we need to create a rule for alerts using the Windows Event Ids I had a situation to alert on one such event: Event 6008  which is logged as a dirty shutdown. It gives the message "The previous system shutdown at time on date was unexpected" In order to create a Rule for unexpected Shutdown : i used the following method http://dynamicdatacenter.wordpress.com/2012/10/09/quick-win-scom-alert-rule-to-detect-server-reboot-shutdown/ Configuration for the Rule:  -System Log - Event ID: 6008 - Event Source: EventLog In order to test the monitor we can create a fake event using many methods: e.g using vbscript , eventcrete , logevent , powershell ,OpsMgr Script Each one has its Pro's and Con's http://ianblythmanagement.wordpress.com/2008/08/25/create-events/ I used the following powershell to create the fake event Write-EventLog -Logname System -Source EventLog -EventId 6008 -Message "This is a Fake Event"-EntryType ERROR Ho

Updating Dell R720

Updating Dell R720 I had to update a new Dell R720 server , being the first time it took a lot of time to find the details on how to do things; I downloaded the Latest SUU DVD  from: http://www.dell.com/support/drivers/us/en/555/DriverDetails/Product/poweredge-r720?driverId=T1XHC&osCode=WS8R2&fileId=3105458864&languageCode=en# Connect to the iDRAC The default username and Password fro dell iDRAC : Username : root Password: calvin Click on launch  in the Virtual Console Preview Power on the machine As the Machine boots Up we have to Press F10 During POST The steps are shown in the images as follows: You have to choose Platform Update First we can view the current updates Now we can choose to  Launch platform Update We can choose to dell  ftp Site for latest updates , or use the Local CD/DVD/USB or Network  You have to configure Networking first I will choose D