farm running latest 6 beta.
repository on win7 machine.
tried to run monitor on osx.
got this:
Traceback (most recent call last):
File “DeadlineMonitor\UI\Forms\MainWindowStartup.py”, line 152, in Startup
DatabaseConnectionException: An error occurred while trying to connect to the Database.
It is possible that the Mongo Database server is incorrectly configured, currently offline, or experiencing network issues.
at Deadline.StorageDB.MongoDB.MongoSettingsStorage.GetNetworkSettings (Boolean invalidateCache) [0x00000] in :0
at Deadline.StorageDB.SettingsStorage.GetRecentNetworkSettings () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
There could be a few reasons why this is happening:
- The mongod.exe application isn’t running on the Win7 machine.
- The port that mongod.exe listens on is being blocked by a firewall (the default is 27017).
- The OSX machine can’t connect to the Win7 machine using the host name or IP address stored in your repository connection settings.
For (1), it should be enough to just check the Task Manager on the Win7 machine to see if it’s running. Note that you may have to show processes for all users to see it.
For (2), you would just need to unblock that port in your firewall settings.
For (3), figure out what host name or IP address your OSX machine needs to use to ping the Win7 machine, and use that in your database connection settings in the repository. You can run the repository installer again to reconfigure the database connection settings, or you can modify the dbConnect.xml file in \your\repository\settings manually.
Cheers,
Thanks Ryan!
Mongod.exe was running
no firewall issues
Followed Opt3 of your list and then changed the MogoDB host to an IP not just a system name and reinstalled repository.
Thanks again!
Andres Kirejew
VFX Supervisor | Partner
www.townshipco.com
o - 416 366 8977
c - 416 996 1688
Hey! I’m new, and have been trying to get this stuff running for the past day and a half. Also going to be a mixed farm, with some PC’s and some Mac Pros. The repository is installed on a mac, and other Macs connect to it well enough, but i’ve been having this same error when a PC tries launches monitor. BY this logic i should make sure that dbConnect.xml on the mac that has repository on it should have the PC’s ip in there somewhere?
Having lots of trouble with this…any help would be very appreciated
You would just need to set the Hostname setting in the dbConnect.xml file to use the IP address of the PC machine.
Another solution would be to keep the PC’s host name in the dbConnect.xml file, and then modify the hosts file on the Mac to resolve that host name to the right IP address:
support.apple.com/kb/TA27291
Cheers,
Hey, thanks so much! that worked!
except, is there a way to enter multiple PC’s IP’s?
multiple .*..*** lines? or would it have to use the alternate system you linked to, to support connecting to multiple windows machines?
*edit
Glad that worked!
Currently, the dbConnect.xml file only supports a single host, but we’re thinking we need to be able to support multiple hosts. This is something we’ll be looking into.
Cheers,