Link to home
Start Free TrialLog in
Avatar of tolenmay
tolenmayFlag for United States of America

asked on

Errors during Citrix Xenapp upgrade (Presentation Serve 4.0 to Xenapp 5)

I've been trying to upgrade a Citrix 4.0 server to Xenapp 5 on a Windows 2003 machine (meaning the server components are going to 4.5).  I've encountered multiple challenges and I want some feedback because I'm starting to change too many things at a time and getting things more screwed up.  By the way, the M drive (formerly the C drive) completely filled up during installation so I was frantically cutting some Program File folders and pasting them somewhere else to give it space - don't know if this caused problems in itself).  
The first error I got was pretty far through the server install:
Error 26013. Function InitializeTree2 returned failure in CTX_IMA_InitializeTree2 the database username or password may be wrong.  
I tried to do a chfarm and create a new database (there's a database called Citrix on our SQL server so I guess that's what it was using) but it was throwing errors that it couldn't stop the IMA service etc...   It made the server installation go much further, though.  It only hung when it was trying to start the Metaframe COM server, which now (even if I reboot) show a status of "Starting".  

I'm also getting these errors in the event log:
The Independent Management Architecture service terminated with service-specific error 2147483649 (0x80000001).

The Citrix SMA Service service depends on the Independent Management Architecture service which failed to start because of the following error:
The service has returned a service-specific error code.

I just noticed that in the services window, the Metaframe COM server was set now to disabled and said "Stopping".  When I tried to make it automatic, it said the service had been marked for deletion.  

Help!!!!!
Avatar of Carl Webster
Carl Webster
Flag of United States of America image

How many servers are in the farm?

This is why I never recommend doing an in-place upgrade!  If something goes wrong, you may be screwed unless you took an image backup of the server before you started.
Avatar of tolenmay

ASKER

I took an image backup BUT the image is corrupted (according to the imaging program).  LOVELY!  
Just one server in the farm.  I can't get the IMA service to start as it has the error 2147483647.  I think it had issues getting a connection to the database (there is a SQL database named citrix on our SQL server) -  I looked up where it had it's ODBC connection and it was in N:\Program Files\Citrix\Independent Management Architecture\IMAldc.mdb  but wouldn't respond when I clicked "Select" - so I deleted the ODBC connection, then created a new one to that same mdb, tried starting the service, renamed the extension, started again, renamed back to the correct extension, and still get the same error.

I don't care if we create a new database or whatever - my users come back tomorrow and I need them to be able to get a desktop (all they're using is Program Neighborhood with an ICA connection and just getting a virual desktop).  
Oops... imalhc.mdb was the local connection.
SOLUTION
Avatar of Carl Webster
Carl Webster
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Will my clients lose stuff they've put on their desktops or customizations they've made to them?
That would be in their profile and that would not be touched.

BTW, Citrix no longer supports Program Neighborhood!  You may want to check out the Citrix Quick Launch utility:

http://support.citrix.com/article/CTX122536
Do my clients have to get Quck Launch before they can connect to Citrix?  Or can they get in for the moment with their old clients?
Hmmm... I'm also running into an error uninstalling the program (well, the hotfix I'm supposed to remove first)... Error 1920.  Service "CdfSvc' (CdfSvc) failed to start.  Verify that you have sufficient privileges to start system services.  
I've done some research on it so and haven't come up with much that's helpful.
Your clients can still use the old PN client they currently have.

Looks like you are in for a manual uninstall.
And I don't have my original Metafram 4.0 msi file, so I'm having to follow the Citrix documentation about what to do if an uninstall fails - e.g. manually removing CTX files, etc...

I'm wondering once I remove the ctxgina.dll files etc and references to Citrix, will the M drive become C drive and such,?  I'm just trying to make sure I have a bootable server!!  I so wish we were on a GoToMeeting - I feel so anxious about this whole thing.
Drive M will stay M
So, we're back to the same problem I started wtih (before I uninstalled)... When I install the Presentation Server, I can't get a database to be created - if I do one with SQL (whether I do or don't create the database manually), the ODBC connection is invalid; if I tell it to do an access database on the local server, I get:  Error 26013. Function InitializeTree2 returned failure in CTX_IMA_InitializeTree2 the database username or password may be wrong.
It looks like it may be time to call Citrix Support.
Unfortunately, closed today.
Well, Citrix had me blow away the OS and completely reinstall.  It's installed now, and working well.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial