I install 3.1sp1 without a flaw. When i run deadlineslave -nogui (my slave is headless) i get this error
Deadline Slave 3.1: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI (System.TypeInitializationException)
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000]
at FranticXForms.Utils.ApplicationUtils.EnableVisualStyles () [0x00000]
at DeadlineSlave.DeadlineSlaveApp.Initialize (Boolean guiMode) [0x00000]
at Deadline.Applications.SlaveApplication.RunSlave (System.String[] args) [0x00000]
I am not sure if it is a Mono 2.4 error or something with deadline. Mono 2.4 is the latest release. I have not had a problem with 3.0sp1 on the same box but since I upgraded the repository I am stuck with having to upgrade.
Unfortunately, it looks like Deadline 3.1 can’t run on a headless linux box. We’re going to try and get this fixed for the next major release of Deadline. Sorry for the inconvenience.
Cheers,
That fixed the error i was getting.
How come it was working with 3.0 sp1?
Now my servers cannot find the license file. The windows ones can just fine. Its saying “No such file or directory”
It looks like in 3.1 that a call to System.Windows.Forms.Application.EnableVisualStyles() is being called in nogui mode, which is a bug in our code. We won’t actually be using visual styles in the next release, so that alone should solve this problem, although we’ll make sure to do some testing to ensure this works.
The license server lookup is controlled by the .flexlm file in the linux user’s home directory, so now that you’re no longer running in headless mode, you likely have to configure this again (assuming a different .flexlm file was being used when running in headless mode). If you run the deadlinelauncher from a terminal, you can change the license server from there, and this will automatically configure the .flexlm file for you.
Cheers,
That fixed it. Thank you so very much.
-Jonathan