Deadline Slave 3.1 in linux?

Hey,

I cannot seem to get Deadline Slave to launch in linux. I go through the install process, and when launching ./deadlineslave i get an error saying FLEXnet licensing error -1,359 System error 2: No such file or directory. Was Deadline supposed to create a FLEXlm directory when installing? There is no license.dat file on the system anywhere, which the Deadlineslave is looking for… I’m running Fedora 10.

Thanks,
Brett Bronson

Hey Brett,

FLEXlm saves its settings to the .flexlmrc file in the current user directory. If this file doesn’t exist, create it, and add this entry:

FRANTIC_LICENSE_FILE=port@server

Note that ‘port’ is optional, and ‘server’ is the name or IP address of the license server machine. Don’t forget the ‘@’ symbol. Save the file and try starting up the slave again.

Cheers,

  • Ryan

Yes, that file exists, and the contents are correct . This is my output from install and an attempted launch:

[root@brett-linux Deadline_3.1_Install_linux]# sh deadlineclientsetup.sh
Verifying archive integrity... All good.
Uncompressing nixstaller.................................................................
Collecting info for this system...
Operating system: linux
CPU Arch: x86_64
Checking if Mono is installed
Mono JIT compiler version 2.0.1 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
    TLS:           __thread
    GC:            Included Boehm (with typed GC)
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
Mono returned exit code 0
Creating the install location selection screen
Deadline config file /usr/local/share/deadline/deadline.ini doesn't exist, defaulting to empty path
Creating the launcher setup screen
Creating the repository and license server screen
Getting default license server from FLEXlm config file /root/.flexlmrc
Creating Deadline folders in /etc/deadline
Setting permissions in /usr/local/share/deadline
Deadline config file /usr/local/share/deadline/deadline.ini doesn't exist, creating a new one
Setting permissions for /usr/local/share/deadline/deadline.ini
Creating deadlinecommand bin script /usr/local/bin/deadlinecommand
Creating deadlinecommandbg bin script /usr/local/bin/deadlinecommandbg
Creating deadlinelauncher bin script /usr/local/bin/deadlinelauncher
Creating deadlinelauncherservice bin script /usr/local/bin/deadlinelauncherservice
Creating deadlinepulse bin script /usr/local/bin/deadlinepulse
Creating deadlineslave bin script /usr/local/bin/deadlineslave
Creating deadlinemonitor bin script /usr/local/bin/deadlinemonitor
Creating deadlinejobmonitor bin script /usr/local/bin/deadlinejobmonitor
Creating repositorysetupwizard bin script /usr/local/bin/repositorysetupwizard
Creating tileassembler bin script /usr/local/bin/tileassembler
Creating tileassembler64 bin script /usr/local/bin/tileassembler64
Reading in FLEXlm config file /root/.flexlmrc
Adding license2 to FLEXlm config file
[root@brett-linux Deadline_3.1_Install_linux]# cd /usr/local/bin
[root@brett-linux bin]# ls
deadlinecommand     deadlinelauncherservice  repositorysetupwizard
deadlinecommandbg   deadlinemonitor          tileassembler
deadlinejobmonitor  deadlinepulse            tileassembler64
deadlinelauncher    deadlineslave
[root@brett-linux bin]# ./deadlineslave
Could not set X locale modifiers

** (/usr/local/lib/deadline/deadlineslave.exe:3305): WARNING **: System.Net.Sockets.SocketOptionName 0x1b is not supported at IPv6 level
Deadline Slave 3.1 [v3.1.0.36430 R]
slave initialization beginning.
Repository time: 02/10/2010 18:18:35
 Info Thread - Created.
Could not get license on first attempt because:
Cannot find license file.
 The license files (or license server system network addresses) attempted are
listed below.  Use LM_LICENSE_FILE to use a different license file,
 or contact your software provider for a license file.
Feature:       deadline
Filename:      license2
License path:  license2:
FLEXnet Licensing error:-1,359.  System Error: 2 "No such file or directory"
For further information, refer to the FLEXnet Licensing documentation,
available at "www.acresso.com".
Could not get license on second attempt because:
Cannot find license file.
 The license files (or license server system network addresses) attempted are
listed below.  Use LM_LICENSE_FILE to use a different license file,
 or contact your software provider for a license file.
Feature:       deadline
Filename:      license2
License path:  license2:
FLEXnet Licensing error:-1,359.  System Error: 2 "No such file or directory"
For further information, refer to the FLEXnet Licensing documentation,
available at "www.acresso.com".
Cannot find license file.

The file: /root/.flexlmrc has the following contents: FRANTIC_LICENSE_FILE=license2

The file exists, as shown below:

[root@brett-linux bin]# cd /root/
[root@brett-linux ~]# ls -la
total 152
drwxr-x---  8 root root  4096 2010-02-11 15:30 .
drwxr-xr-x 23 root root  4096 2010-02-10 17:32 ..
-rw-------  1 root root  1419 2010-02-04 19:48 anaconda-ks.cfg
-rw-------  1 root root  2477 2010-02-10 17:31 .bash_history
-rw-r--r--  1 root root    24 2006-07-12 17:06 .bash_logout
-rw-r--r--  1 root root   191 2006-07-12 17:06 .bash_profile
-rw-r--r--  1 root root   176 2006-07-12 17:06 .bashrc
drwx------  3 root root  4096 2010-02-08 16:29 .config
-rw-r--r--  1 root root   100 2006-07-12 17:06 .cshrc
drwx------  3 root root  4096 2010-02-08 11:45 .dbus
-rw-r--r--  1 root root    40 2010-02-11 15:30 .flexlmrc
drwx------  3 root root  4096 2010-02-08 11:46 .gconf
drwx------  2 root root  4096 2010-02-08 11:47 .gconfd
-rw-r--r--  1 root root   151 2010-02-08 16:29 .gtk-bookmarks
-rw-r--r--  1 root root 46938 2010-02-04 19:47 install.log
-rw-r--r--  1 root root  4249 2010-02-04 19:47 install.log.syslog
drwxr-xr-x  2 root root  4096 2010-02-10 15:51 .mono
-rw-r--r--  1 root root   377 2010-02-11 15:31 .recently-used
-rw-------  1 root root   786 2010-02-10 18:18 .recently-used.xbel
-rw-r--r--  1 root root   129 2006-07-12 17:06 .tcshrc
drwxr-xr-x  2 root root  4096 2010-02-11 15:30 .wapi
-rw-------  1 root root    70 2010-02-05 12:47 .xauthEWYEoV
-rw-------  1 root root    70 2010-02-10 18:17 .xauthiLtgYz
-rw-------  1 root root    70 2010-02-08 10:50 .xauthjSh13t
-rw-------  1 root root    70 2010-02-10 17:35 .xauthzylNSA

after setting manually by browsing to the /root/ directory, the filters are defaulting to .lic or .dat files, however when I say to use “all files (.)” and type in .flexlmrc, so that the license file field shows “/root/.flexlmrc” after closing the browse dialog, it errors saying:

FLEXnet Licensing error:-1,359.  System Error: 2 "No such file or directory"
For further information, refer to the FLEXnet Licensing documentation,
available at "www.acresso.com".
User clicked Set License. Attempting to check out license. Show set license dialog on fail.
Could not get license because:
Cannot find license file.
 The license files (or license server system network addresses) attempted are
listed below.  Use LM_LICENSE_FILE to use a different license file,
 or contact your software provider for a license file.
Feature:       deadline
Filename:      /usr/local/flexlm/licenses/license.dat
License path:  /usr/local/flexlm/licenses/license.dat:
FLEXnet Licensing error:-1,359.  System Error: 2 "No such file or directory"
For further information, refer to the FLEXnet Licensing documentation,
available at "www.acresso.com".
Cannot find license file.
 The license files (or license server system network addresses) attempted are
listed below.  Use LM_LICENSE_FILE to use a different license file,
 or contact your software provider for a license file.
Feature:       deadline
Filename:      /usr/local/flexlm/licenses/license.dat
License path:  /usr/local/flexlm/licenses/license.dat:
FLEXnet Licensing error:-1,359.  System Error: 2 "No such file or directory"
For further information, refer to the FLEXnet Licensing documentation,
available at "www.acresso.com".
User clicked Set License. Attempting to check out license. Show set license dialog on fail.

I don’t know if this is a bug or what’s going on, but I’m going to go ahead and copy the .flexlmrc file to /usr/local/flexlm/licenses/license.dat to see if it works…

-Brett Bronson

Update on copying the .flexlmrc file to /usr/local/flexlm/licenses/license.dat:

[root@brett-linux bin]# ./deadlineslave
Could not get XIM

** (/usr/local/lib/deadline/deadlineslave.exe:5278): WARNING **: System.Net.Sockets.SocketOptionName 0x1b is not supported at IPv6 level
Deadline Slave 3.1 [v3.1.0.36430 R]
slave initialization beginning.
Repository time: 02/11/2010 16:43:23
 Info Thread - Created.
Could not get license on first attempt because:
Invalid license file syntax.
Feature:       deadline
License path:  /usr/local/flexlm/licenses/license.dat:
FLEXnet Licensing error:-2,413

clicking “Ignore” just causes it to freeze until the process is killed forcefully.

Any ideas?

Thanks,
Brett Bronson @ CafeFX

Looks like you’re missing the ‘@’ symbol. :wink:

Without the ‘@’ symbol, FLEXlm treats the entry as a path to a file, as opposed to a license server machine. Try changing the contents to this:

FRANTIC_LICENSE_FILE=@license2

Or, of you’ve configured your license server to use a specific port (ie: 27009), then use this:

FRANTIC_LICENSE_FILE=27009@license2

I should note that the .flexlmrc file is NOT a license file, it just tells FLEXlm where to look for the license (similar to the FLEXlm License Manager registry entry on Windows).

Cheers,

  • Ryan

I’ve tried those methods too with the same outcome and tried again just in case. It’s still looking for /usr/local/flexlm/licenses/license.dat and will not launch. It’s complaining that the file does not exist or cannot be found.

-Brett Bronson

Strange, I was able to get this working on a virtual machine, and a different computer. I’ll reinstall fedora and try again.

-Brett Bronson