[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Citrix XenApp 6.5 Published App Error

Posted on 2012-09-12
16
Medium Priority
?
7,675 Views
Last Modified: 2012-09-19
Hello Everyone,
We recently built a new Citrix XenApp 6.5 Farm to eventually migrate to. We have a server names "webinterface" running the Web Interface and Secure Gateway, another 2 servers names "datacollector" & "datacollector2" hosting the Collection Roles, another server called "licenseserver" hosting the citrix licensing which is installed properly and working. It also hosts MS Remote Server Licensing. Currently We have this role installed and the XenApp servers pointing to it for the MS Licensing as well. We currently do not have the Per User CALS installed yet but should be using okay using the temp CALS until the Real Per User CALS are installed. (At least this is what I think. Maybe it's causing the issue??) Anyway Last we have 2 XenApp servers called "Xen1" & "Xen2" they have the applications installed and they are also the servers users will be connecting to for their published desktop and apps. Now for testing I have published a few desktops and apps. Here is where I have the problem. I connect to a desktop or app and log in just fine through the web interface. If I then log out and try to launch the same desktop, app or a different one. I sometimes receive an error that pops up from Citrix Receiver that says "Your app is not available. Try again later." it's real sporadic sometimes I click it again right after and I get the app or desktop to launch. Sometimes I receive the error again. Any help would be greatly appreciated! Thanks everyone
0
Comment
Question by:Abacus IT
  • 10
  • 3
  • 2
  • +1
16 Comments
 
LVL 24

Expert Comment

by:Dirk Kotte
ID: 38393606
execute repeatly
qfarm /load
while the error occurs.
post the result.
there are some possibilities, and some are visible with the load monitor...
0
 
LVL 23

Expert Comment

by:Ayman Bakr
ID: 38393776
While it might be a licensing issue causing this error, but be aware that other factors might lead to the same error:

1. Xen1 & Xen2 are overloaded and can't take any more connections (again random, they might be processing at one time and get busy, and then gets freed and can accept connections)

2. Xen1 or Xen2 IMA service might have gone down for some reason. IMA service being down is just like the server itself is down.

3. The published app/desktop you are trying to access is published on one of the servers only (you missed the other/or missed to have included any server while creating the published app/desktop).

Points 2 and 3 are relatively easy to spot and remedy. Point 1 and the licensing issue can be spotted with the qfarm /load command as outlined by dkotte.

Hope this helps.
0
 
LVL 19

Expert Comment

by:basraj
ID: 38393796
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 1

Author Comment

by:Abacus IT
ID: 38394569
Thanks for everyones replies. I will look at the qfarm /load suggestion and the link today. I take it the qfarm /load is a command I run on the Data Collector?

To Mutawadi
This new 6.5 Farm is currently not being used. I am simply testing with an administrator account and a few others. All users are still using our old citrix environment.

I will check the IMA service but I would think that  something like this would display an error in the event viewer. I am unable to find any error on any of the servers around the times I am experiencing these issues.

I have a published desktop that loads between Xen1 & Xen2. I also have a published desktop just for Xen1 and another just for Xen2. I also have a published RDC app that loads between the two. I have been testing with the RDP app and the desktops that specifically go to each server. Like I said at times it works other times it does not it is real sporadic.

Another thing I would like to mention is this is happening from the outside using the web interface and secure gateway. I am also going to test internally today to see if it is just an external issue or both.

Thanks again for everyones help.
0
 
LVL 1

Author Comment

by:Abacus IT
ID: 38394582
Also I have installed the 2008 Per User CALS and the issue is still happening.
0
 
LVL 1

Author Comment

by:Abacus IT
ID: 38394708
Here is the qfarm output. The first 4 where me trying to launch a desktop to Xen1 through the webinterface. The weird part is the desktop started to load instead of displaying the published app error. it seemed like right when it was going to start logging into windows and displaying the desktop it quickly flashed and disappeared. The session never started. The last two are from trying to launch the Remote Desktop published app. Same thing happened. The citrix receiver started launching the app but got to a point where it flashed and disappeared. I am going to try it internally now and take a look at the event viewer.
0
 
LVL 1

Author Comment

by:Abacus IT
ID: 38394850
It's happening internally too. Sometimes I get through and sometimes I do not. Here is a screen shot of the internal error. Thanks again
Internal-Error.jpg
0
 
LVL 1

Author Comment

by:Abacus IT
ID: 38394855
Here is the qfarm output sorry
qfarm.jpg
0
 
LVL 24

Expert Comment

by:Dirk Kotte
ID: 38396257
have you installed the
Hotfix Rollup Pack 1 for Citrix XenApp 6.5 for Microsoft Windows Server 2008 R2
http://support.citrix.com/article/CTX134055
?
0
 
LVL 1

Author Comment

by:Abacus IT
ID: 38396385
Yes I have installed the Hotfix. After working on this again all day here is what I found. On our Web Interface we have the following Event ID 30107 Source Citrix Web Interface and it tells me the citrix servers reported that they are too busy to provide access to the selected resource. I have found this citrix article http://support.citrix.com/article/CTX124886 and have looked into the solutions. I tried downloading the MS hotfix described but when I try to install it on Xen1 or Xen2 I get an error that says "update not applicable" also no load evaluators are configured or assigned, We do not have any load balancing policies created and we are not using any work groups.
webinterface.png
0
 
LVL 1

Author Comment

by:Abacus IT
ID: 38396706
Also found this in the event viewer. I checked the farm and don't see any worker groups or load balancing policies created. also 10.1.1.163 is our Web Interface and the Secure Gateway. The only published Desktops and apps point to our Xen1 and Xen2 server nothing is published on the WI.
Error.png
0
 
LVL 23

Expert Comment

by:Ayman Bakr
ID: 38396910
Check this article and try e resolution in the:

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

Also on the XenApp servers ensure that the following registry key value is not set to 1:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\fDenyTSConnections

If the above doesn't seem to resolve the issue then try creating a worker group, adding Xen1 and Xen2 as members, then publish the app/desktop to the worker group.
0
 
LVL 24

Expert Comment

by:Dirk Kotte
ID: 38396913
next take a look to MS licensing ...
sometimes connections not availeble within the starting "test" period
goto remote desktop licensing and configure you liceseserver.
if you don't have licenses installed at the moment select "per user licenses". this license option makes less problems than device-licensing.

all ms patches are installed...?

repeatly take a look to "qfarm /load"
if you see someone a looad with 10000 a session-start is not possible.
if you see a load fron 10000 or more post the value
0
 
LVL 1

Author Comment

by:Abacus IT
ID: 38398833
Thanks for the suggestions. I am going through them now but they do not seem to be fixing the sporadic issues. I also looked into worker groups a little but it seems like a worker  group is a collection of similar XenApp servers. I understand  how this could fix an issue with overloaded servers but I don't believe it will help me fix the initial problem. Each published desktop points to a specific Xen server for testing. Example - Xen1 Published Desktop points to Xen1 server and Xen2 Published Desktop points to Xen2 server. If I create a Worker Group won't it just mask the problem? Plus like I have said before both the Xen servers should not be under heavy load. They aren't doing anything currently and the only user accessing them is me with the domain admin account. This is a plain installation of XenApp 6.5. I have not changed anything with the Farm like adding worker groups or policies. I have used other versions of XenApp and have done other XenApp 6.5 installs in test environments that have worked fine.

Also MS Licensing should be Per User, All servers are up to date with MS patches.

I have a question on XenApp Feature Pack 1. I was looking in our my citrix site and I click on XenApp Feature Pack 1 under downloads. It takes me to a screen where I can download XenApp6.5 for Windows Server 2008 R2 (4.40 GB) I have downloaded this but when I try to look at installing it it seems like it is the same thing as the XenApp 6.5 install ISO. Maybe it is and I am just confused. I also downloaded the Hotfix rollup pack and installed it on the 2 datacollector servers and 2 xenapp servers. I guess my question is how do I make sure I have feature pack 1 installed? Is that the Hotfix rollup pack or is feature release one the 4.40 GB ISO file labeled as "XenApp6.5 for Windows Server 2008 R2" if it is the 4.40 GB ISO how do I install it and make sure my current XenApp 6.5 is current with the Feature Pack? Thanks
0
 
LVL 1

Accepted Solution

by:
Abacus IT earned 0 total points
ID: 38400171
After taking a look at this with another co-worker we found that in the secure gateway I was not using the FQDN to our STA servers. We made the changes and so far have not had any more issues. Thanks for everyones time and suggestions.
0
 
LVL 1

Author Closing Comment

by:Abacus IT
ID: 38412939
This was the cause of our random published app issues through the web interface. As soon as we put the FQDN of the STA servers in (we only had the hostname) Everything worked fine and I have not received a published app issue since.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question