How do I get this server back online?

Nathan D
Nathan D used Ask the Experts™
on
Have taken the time to update XenServer 6, trying to get it all the way. The most update, however looks to have broken it. This is a super critical machine and I've been on it for 6 hours now.

XenCenter 6.5 cannot see/connect to the host.

The Host seems to be stuck in maintenance mode. When I try to exist maintenance mode from xsconsole, I get ("'NoneType' object has no attribute 'xenapi'",)

The host is pingable and can ping out.

I cannot run any xe commands, it returns: Error: Connection refused (calling connect ).

If you anyone can get me out of this tight spot I will be eternally grateful!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Tony JohncockLead Technical Architect

Commented:
I haven't come across this but a few others have when you Google.

Did you see this thread?

https://discussions.citrix.com/topic/361793-xenserver-65-cant-exit-maintenance-mode/

Author

Commented:
Yeah I've done the rounds online for the last 8 hours and it's driving me *insane!* Thankyou for for the effort though!
Tony JohncockLead Technical Architect

Commented:
Is it a standalone server?

Tried renamiing the db file one of those links points to?
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

Author

Commented:
Yep, it is the host to 2 VMs on it's own local storage.

I have tried the renaming state.db but unfortunately it hasn't helped.

Author

Commented:
We're at 22 hours in the office and I just cannot fix this thing. Any assistance would be greatly appreciated!
Peter HutchisonSenior Network Systems Specialist

Commented:
Have you tried rebooting it into single user mode so you have some sort of access?
https://support.citrix.com/article/CTX116019 (steps 1-6).
Commented:
After barrelling through many, many support hoops, we got hold of some exceptional people at XenServer support. After many hours of messing around, the solution ended up being:

"xapi has the ability to read and manipulate the hidden PCI devices. However, xapi expects any hidden PCI device addresses to be specified with the domain, i.e. xxxx:xx:xx.x

The PCI address mentioned in extlinux.conf file was in the format xx:xx.x , however, it should be in the following format : 0000:xx:xx.x .After making the change and rebooting the server, everything got connected,"


Something so small, but so deeply buried. Thanks to all who assisted.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial