Multiple Desktop Sessions Citrix XenApp 6.5

Reading Time: < 1 minute

When a user accesses a published Citrix Desktop via web interface, there is a chance they launch two desktops even though the allowed limit is set to one. Due to the user double clicking the published desktop icon quickly they may bypass the limit whilst Citrix Xenapp catches up.

Cause:
Users rapidly clicking on published application icons can initiate multiple sessions prior to the application instance counter getting updated.

 There are two articles from Citrix which resolve this issue. See links below:

http://support.citrix.com/article/CTX118656 (The registry fix here will  only work with published apps.)

http://support.citrix.com/article/CTX124612

 

Faulting Application version rpm.dll – Crash

Reading Time: < 1 minute

If you’re using Xenapp 6.5 and find that some of Xenapp servers are randomly kicking all users off and stop allowing logons. You also probably have hotfix  XA650W2K8R2X64014 installed. See link below for a hotfix from Citrix which is supposed to resolve the issue.

http://support.citrix.com/article/CTX132912

 

Citrix XenApp license acquisition server from server. All licenses are currently in use – Citrix Fundamentals 6

Reading Time: < 1 minute

When new users login using Citrix Fundamentals 6, they receive the below error:

Error:

“Citrix XenApp license acquisition server from server: all licenses are currently in use. Please try again later”

But you know that all licenses are not in use.

You are right, the licenses are not in use. The Citrix licensing Manager is not telling the truth 🙁

On your Citrix server:

1) Click Start
2) Click Programs
3) Click Citrix
4) Click Quick Start
5) Click Management
6) Click Licensing
7) A list of users will appear and you will find that all licenses are in use.
8.) Locate the uers who are not currently logged on and invoke the license

Citrix Access Management Console does not launch as published app

Reading Time: < 1 minute

When you try launching Citrix Access Management Console as a published app, it attempts to launch but then disappears.

This is caused when a new user launches Access Management console for the first time.

To resolve, logon to a Citrix server and manually launch Citrix Management Console.

Now, try launching Citrix Management Console as a published app.

Citrix Presentation server can not contact the license server

Reading Time: 3 minutes

If you come across the above error,  you may also come across one or more of the errors below within your Citrix server event logs.

This computer running Citrix Presentation Server will now stop accepting connections. This server is no longer in or could not enter a licensing grace period.


Or

Citrix Presentation Server has entered the grace period. You have x hour(s) remaining before this server stops accepting connections from client devices

Or

The licenses required by this edition of MetaFrame Presentation Server are not present on the license server

Or

Citrix XenApp cannot contact the license server localhost

Or

This computer running Citrix XenApp will now stop accepting connections. This server is no longer in or could not enter a licensing grace period

Or

Error received while obtaining a license for a Citrix Presentation Server client connection. A grace license has been granted.

Or

Citrix presentation server license acquisition err (-xx): Unable to acquire a license from server. Please contact your system administrator or open event viewer for more details.
The alerts are generated when your citrix servers lose connection with the citrix license server. The citrix servers will continue to run until the grace period expires, unless they are able to communicate with the license server again.

Once your citrix servers have successfully communicated with the license server, you should receive the below or something similar within your event log.

This server is successfully communicating with the license server. Citrix Presentation Server has left the grace period

There are a few basic tasks you can carry out:

1) Ensure the citrix licensing services are running. If you need to locate you citrix license server, see link in step 3. If the license server is running go to step 2.

2) Restart the IMA service on your Citrix servers

3) If the above does not resolve issue, restart the license services on your Citrix licensing server. If you don’t know which server holds the citrix licensing role, see https://cloudbuild.co.uk/?p=1713

4) If any of the above do not resolve your issue, check your citrix licenses have not expired. On your Citrix license server, access Start, Programs, Citrix and Citrix license console. If they have expired you need to renew. Otherwise go to step 5.

5) From your citrix server, open a command prompt window and telnet to your citrix license server on port 27000. Please note, the port may be different, follow the link in step three to find out what port you are using. If you are unable to telnet to the port, you need to open the port on your firewall. The citrix servers need to communicate with the license server. Example telnet servername 27000

6) Can you ping the license server from a citrix server and the citrix server from the license server.

7) An incorrect Presentation Server edition level may have been set. Click a citrix server name within your citrix farm, from the right hand pane click set presentation server edition. Ensure the correct version is selected. Do the same for all your Citrix servers.

8.) Within a command prompt type netstat -a    –  Is the connection from your citrix server to license server established? If not you could have netoworking issues between servers.

9) Restart, the license server

10) If issue still exists, restart Citrix servers.

 Just a list of basic tasks which usually get to the bottom of grace period alerts.

Explanation from Citrix:

The problem occurs when there are intermittent problems, or delays (over 10 seconds per message) affecting the communication of messages between the XenApp server and the License Server. Once a timeout of a message sent from the XenApp server to the License Server occurs, subsequent communication to the License Server does not occur correctly because the persistent connection from XenApp to the License Server becomes unstable. As a result of the instability of this connection, subsequent user connections to the XenApp server might fail with the previously noted errors.

Important note: This problem only occurs in cases where the License Server is online and partially accessible over the network from the affected XenApp server. If the License Server is completely offline, this problem does not occur because the XenApp server continues to accept user connections until the standard licensing grace period expires or the License Server becomes accessible, whichever comes first.

A common source of this problem is intermittent network connectivity because of a physical problem such as damaged or defective network hardware (patch cables, patch panels, or switch ports).