Mix of problems (DirectoryNotFoundException and flexlm)

Hi guys, not sure these problems are related to each other, but here’s the deal:

Running Centos 6.4 x86_64 as license server and deadline 6 repo shared via Samba.

We can’t seem to get clients (windows/linux) to render without failing with the following error (this one from a windows client):

Error occurred while writing report log: Exception Details DirectoryNotFoundException -- Could not find a part of the path '\\LANDLORD\DeadlineRepository\reports\jobs\7a\9\520e429d6d37db02083a67a9.bz2'. Exception.Data: ( ) Exception.TargetSite: Void WinIOError(Int32, System.String) Exception.Source: mscorlib Exception.StackTrace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) at Deadline.StorageDB.JobStorage.WriteJobReportFile(Report report, String reportLog)

Also, Flexlm at the same time is giving me these errors:

17:22:28 (lmgrd) -----------------------------------------------
17:22:28 (lmgrd)   Please Note:
17:22:28 (lmgrd) 
17:22:28 (lmgrd)   This log is intended for debug purposes only.
17:22:28 (lmgrd)   In order to capture accurate license
17:22:28 (lmgrd)   usage data into an organized repository,
17:22:28 (lmgrd)   please enable report logging. Use Flexera Software LLC's
17:22:28 (lmgrd)   software license administration  solution,
17:22:28 (lmgrd)   FlexNet Manager, to  readily gain visibility
17:22:28 (lmgrd)   into license usage data and to create
17:22:28 (lmgrd)   insightful reports on critical information like
17:22:28 (lmgrd)   license availability and usage. FlexNet Manager
17:22:28 (lmgrd)   can be fully automated to run these reports on
17:22:28 (lmgrd)   schedule and can be used to track license
17:22:28 (lmgrd)   servers and usage across a heterogeneous
17:22:28 (lmgrd)   network of servers including Windows NT, Linux
17:22:28 (lmgrd)   and UNIX. Contact Flexera Software LLC at
17:22:28 (lmgrd)   www.flexerasoftware.com for more details on how to
17:22:28 (lmgrd)   obtain an evaluation copy of FlexNet Manager
17:22:28 (lmgrd)   for your enterprise.
17:22:28 (lmgrd) 
17:22:28 (lmgrd) -----------------------------------------------
17:22:28 (lmgrd) 
17:22:28 (lmgrd) 
17:22:28 (lmgrd) The license server manager (lmgrd) running as root:
17:22:28 (lmgrd) 	This is a potential security problem
17:22:28 (lmgrd) 	and is not recommended.
[root@landlord samba]# 17:22:28 (lmgrd) FlexNet Licensing (v11.11.0.2 build 115032 x64_lsb) started on landlord (linux) (8/16/2013)
17:22:28 (lmgrd) Copyright (c) 1988-2012 Flexera Software LLC. All Rights Reserved.
17:22:28 (lmgrd) World Wide Web:  http://www.flexerasoftware.com
17:22:28 (lmgrd) License file(s): /var/flexlm/Thinkbox_license.lic
17:22:28 (lmgrd) lmgrd tcp-port 27003
17:22:28 (lmgrd) Starting vendor daemons ... 
17:22:28 (lmgrd) Started thinkbox (internet tcp_port 41178 pid 5118)
17:22:28 (thinkbox) FLEXnet Licensing version v11.10.0.0 build 95001 x64_lsb
17:22:28 (thinkbox) lmgrd version 11.11, thinkbox version 11.10

17:22:28 (thinkbox) UPGRADING 20 "deadline" from version 5.20 to version 6.00
17:22:28 (thinkbox) Server started on landlord for:	deadline	
17:22:28 (thinkbox) deadline	draft		
17:22:28 (thinkbox) EXTERNAL FILTERS are OFF
17:22:28 (lmgrd) thinkbox using TCP-port 41178
17:22:42 (thinkbox) TCP_NODELAY NOT enabled
17:22:42 (thinkbox) DENIED: "deadline" gast@HOUSE122  (License server system does not support this version of this feature. (-25,334))
17:22:42 (thinkbox) OUT: "deadline" gast@HOUSE122  
17:22:43 (thinkbox) DENIED: "deadline" gast@HOUSE123  (License server system does not support this version of this feature. (-25,334))
17:22:43 (thinkbox) OUT: "deadline" gast@HOUSE123  
17:23:06 (thinkbox) DENIED: "deadline" gast@House161  (License server system does not support this version of this feature. (-25,334))
17:23:06 (thinkbox) OUT: "deadline" gast@House161  

Now, it’s hard to tell i’m running ‘demo mode’ or that licenses are actually are checked out (seems like it judging by the OUT: report, but can’t tell for sure as clients keep failing)

The slaves/clients (windows/linux mix) run from a user account names ‘gast’, these slave are able to ping \landlord and the normal ip adress, they are also able to create directories and write files.
No idea how to test the ‘deadline’ user that deadline creates though.

Can anyone shed any light on this/these problems?

cheers,
Sven

Okay, i’m not a single step further in this.

DL6 just plain REFUSES to create/find the damn directories it need for logging.

I keep getting ‘Error occurred while writing report log: Could not find a part of the path ‘\Landlord\z\DeadlineRepository6\reports\jobs\aa\c\52120cd56d37db0150316aac.bz2’. (System.IO.DirectoryNotFoundException)’

Right now DL6 accesses the repo through the main samba share (named Z), which has no problems with any other programs or OS-es so far when i comes to read/write/create permissions.
Right now even guests can create,read,write,etc on the samba3 shared deadlinerepository directory. I’m completely baffled as to how to proceed further (with the exception of switching back to DL5 or just trying to see what a different render manager does.)

Does anyone have any idead what might cause this?

Sven

Okay, got some blades rendering, apparently the person who update those machines to Maya 2014 didn’t update the Maya.env files, resulting inthe endless errors.
HOWEVER, that still leaves me with the problem that the moment an error does occur, the machine can’t write to the deadlinerepository share.

For the path issue, the problem is probably that those report folders are missing. You can confirm by checking if the path it’s complaining about exists or not. For example:

\\Landlord\z\DeadlineRepository6\reports\jobs\aa\c

We redid the folder structure a bit for reports in Deadline 6, and there is a known issue where if a v5 Slave or Pulse connects to a v6 repository, it can blow that folder structure away, leaving an empty “\Landlord\z\DeadlineRepository6\reports\jobs” folder. Then when a v6 slave tries to write a report, it throws this error.

This can be repaired by running the v6 repository installer again over your v6 repository. Before you run the installer though, check your repository root “\Landlord\z\DeadlineRepository6” to see if there is a Slaves and/or Pulses folder. If there is, delete them. If they ever come back, they should contain the name(s) of the machines still running v5.

Cheers,

  • Ryan

Hi Ryan,

that should be the problem then,as some DL5 slaves where still running when i made the switch to DL6, i’ll re-run the installer and let you know how it went.

cheers,

Sven

Hey Ryan,

that was it, seems to work like a charm now (so far we can tell.)
Going to see what it does in production next.

cheers,

Sven