Posted on 2007-11-18
Medium Priority
Last Modified: 2010-08-05
I'm hoping there is a Citrix guru out there who can help with this.

There was a "Service Accounts" OU within AD, which held various domain service accounts, and groups.  Most were not used, and there were only about 5 accounts in total.  Last week the OU was inadvertantly deleted by a tech - and that's where this story begins...

After about eight straight hours of troubleshooting, diagnosing, & re-configuration, I am finally at the point where the apps are working thru the WI Portal. The biggest challenge was identifying and ultimately creating a "citrix" user in AD, then giving it "db owner" rights on the SQL DB <different server>, then running a "DSMAINT CONFIG" on all ten Citrix Presentation Servers to re-asign each server's .dsn to the newly created account.  This is where I am now - Most apps are working, but I can no longer get into CMC (Presentation Server Console). I am getting the error "Failed to log onto Farm", which I absolutely know has something to do with not having the right citrix user account assigned the correct permissions somewhere (be it in AD, on the local servers, or within the IMA, or DS SQL DB's). I know I am missing something, I'm just not sure what exacly; I've even attempted doing a "CHFARM" on one of the servers, and re-adding it to the Farm, but I don't think it's right because it's not showing any apps - maybe I'm connecting to the wrong Farm?  In the Access Suite Console there are two Farms, but one has nothing in it (this was setup and configured by a consultant last year, before I was here), and the other has all the apps. When doing a CHFARM, the Farm Name is greyed out and I can't choose so I'm not sure how to connect to the correct Farm, or if this is even my problem.

Sorry for the many details, and crazy explanation; I just want to make sure I include all of the important details.  PLEASE HELP :-(

Question by:PMGIT
  • 3
  • 2
LVL 19

Expert Comment

ID: 20321000
After you did the DSMAINT CONFIG, did you bounce the IMA service?  This must be done (or a reboot) or else your datastore connection will be hosed still.  

Author Comment

ID: 20321862
Actually, yes.  I then did another chfarm, and that seemed to properly re-associate everything.  I think  the chfarm didn't work the first time because I was trying to use a DNS name, instead of the IP for the license server (which not in the domain; it's in Workgroup for security purposes).  As soon as I did a chfarm on all 10 servers using the newly created citrix id and the ip address rather than the netbios name everything worked!  I'm just hoping there are no other accounts or db associations I need to worry about  now...
LVL 19

Accepted Solution

BLipman earned 2000 total points
ID: 20324140
Yeah, I like to use SQL authentication for my Datastore connection; for me it is easier to keep from changing.  AD accounts have a way of getting disabled, renamed, and deleted when people start cleaning and locking down.  

Author Closing Comment

ID: 31409809
No doubt, I think I like that idea.
Thanks for replying; I'm not sure if it was a difficult question, bad timing, or just poorly asked, but it would appear that no one was interested in the pts so...

Author Comment

ID: 20324765
No doubt, I think I like that idea.
Thanks again!

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Citrix XenDesktop, Citrix Studio, Citrix Policies, Citrix XenApp
Citrix XenDesktop 7.6 Citrix Policies Graphics
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

621 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