Kodi Community Forum

Full Version: MySQL Central database - Possible on ESXi?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'd like to set up a centralized database for my XBMC clients. I've reviewed the thread here: http://forum.xbmc.org/showthread.php?tid=85654 but I've hit a catch-22 problem.

I have a server I run 24*7. It is a ESXi v4.1 box on which I set up servers as needed. I've set one up (Win7 x64 pro) as my HT server to provide services as needed. IE - Until XBMC has a built in PVR I'm using SageTV which is set up there. The HT server has no AV, the firewall is disabled, and UAC is off.

I started the centralized database install process and it went fine until I realized I need to have XBMC installed. So I installed it (v10.0) but I get the error when I try to run it:
CApplication::Create() failed - check log file and that it is writable.

The log file shows FATAL: CApplication::Create: Unable to init rendering system which as best I can tell from my research indicates the virtual video card isn't compatible with XBMC.

The central database requires a local XBMC to set up sources; but I cannot run XBMC to do so. Am I stuck with no solution?


Log:
09:26:26 T:1968 M:2352463872 NOTICE: -----------------------------------------------------------------------
09:26:26 T:1968 M:2352455680 NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) build 7600. Built on Dec 17 2010 (SVN:35647, compiler 1500)
09:26:26 T:1968 M:2352455680 NOTICE: Intel® Xeon® CPU L3110 @ 3.00GHz
09:26:26 T:1968 M:2352451584 NOTICE: Desktop Resolution: 1280x1024 16Bit at 60Hz
09:26:26 T:1968 M:2352451584 NOTICE: Running with administrator rights
09:26:26 T:1968 M:2352451584 NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
09:26:26 T:1968 M:2352451584 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
09:26:26 T:1968 M:2352451584 NOTICE: special://masterprofile/ is mapped to: C:\Program Files (x86)\XBMC\portable_data\userdata
09:26:26 T:1968 M:2352451584 NOTICE: special://home/ is mapped to: C:\Program Files (x86)\XBMC\portable_data
09:26:26 T:1968 M:2352451584 NOTICE: special://temp/ is mapped to: C:\Program Files (x86)\XBMC\portable_data\temp
09:26:26 T:1968 M:2352451584 NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
09:26:26 T:1968 M:2352451584 NOTICE: Log File is located: C:\Program Files (x86)\XBMC\xbmc.log
09:26:26 T:1968 M:2352451584 NOTICE: -----------------------------------------------------------------------
09:26:26 T:1968 M:2352435200 NOTICE: Setup SDL
09:26:26 T:1968 M:2352185344 NOTICE: Found screen: Dummy Monitor on RDPDD Chained DD, adapter 0.
09:26:26 T:1968 M:2352177152 NOTICE: Primary mode: 1280x1024 @ 60.00 - Full Screen
09:26:26 T:1968 M:2351984640 NOTICE: load settings...
09:26:26 T:1968 M:2351755264 NOTICE: special://profile/ is mapped to: special://masterprofile/
09:26:26 T:1968 M:2351751168 NOTICE: loading special://masterprofile/guisettings.xml
09:26:26 T:1968 M:2351738880 ERROR: special://masterprofile/guisettings.xml, Line 0
Failed to open file
09:26:26 T:1968 M:2351734784 ERROR: Unable to load special://masterprofile/guisettings.xml, creating new special://masterprofile/guisettings.xml with default values
09:26:26 T:1968 M:2351435776 NOTICE: Getting hardware information now...
09:26:26 T:1968 M:2351435776 NOTICE: Checking resolution 12
09:26:26 T:1968 M:2351431680 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
09:26:26 T:1968 M:2351423488 NOTICE: Loaded playercorefactory configuration
09:26:26 T:1968 M:2351423488 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
09:26:26 T:1968 M:2351423488 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
09:26:26 T:1968 M:2351419392 NOTICE: No advancedsettings.xml to load (special://masterprofile/advancedsettings.xml)
09:26:26 T:1968 M:2351419392 NOTICE: Default DVD Player: dvdplayer
09:26:26 T:1968 M:2351419392 NOTICE: Default Video Player: dvdplayer
09:26:26 T:1968 M:2351419392 NOTICE: Default Audio Player: paplayer
09:26:26 T:1968 M:2351423488 NOTICE: Loading media sources from special://masterprofile/sources.xml
09:26:27 T:1968 M:2346999808 FATAL: CApplication::Create: Unable to init rendering system
You don't need to have XBMC installed on the mysql machine. Run XBMC as you normally would from any other computer in the house.
Right, there's no need to run XBMC locally to set up the MySQL database. That's the point, any XBMC on your network can access it.

Just make sure you have the user accounts, schemas, and associated privileges set up in MySQL.

Make sure you allow your user to connect from non-local ip's as well.


----
Also, XBMC has no plans to replace a program like SageTV. That is, XBMC will probably never be a PVR. It only plans to be a PVR Client/Frontend, compatible with most of the open-source PVR software that is available.
Thanks! I was really stuck.
Hi,

I would also be keen to find out if XBMC can be launched in a VM (in my case Windows Workstation 7.1 running a Win7 VM).

MySQL, SabNzbd and SickBeard are all setup and working in my VM environment, but I need a copy of XBMC running constantly in order to have the Library updated as shows come in. I wouldn't be viewing any films on XBMC in the VM, its soul purpose is to update the library.

The only machine I would like to leave on constantly is my server running all these VMs, but at the minute I am having to leave one of my REVOs running as well because XBMC wont launch in a VM. I get the same

FATAL: CApplication::Create: Unable to init rendering system

error.

Anyone managed this?
I have XBMCLive running as a VM under ESXi. For some reason it always wants to peg the vCPU at 100% though; i still need to play around with it a bit.
running dxdiag in the VM shows Direct3D Acceleration: Not Available. The graphics card in the underlying server's host OS is a typical server card, i.e. not very good at all.

So, any way of getting XBMC to launch in Windows with no Direct3D acceleration?