AWS Thinkbox Discussion Forums

OSX - UnauthorizedAccessException

Hello everybody!
First post here…

We are a small studio and even if no one here is really technical we are trying to set up a small render farm.
We have clients running win10, four render machine ( win10 4GPUs ) and for now our repository/db is on a iMac.

Everything works but sometimes we get an UnauthorizedAccessException error and that task gets queued an after two or three attempts it gets rendered.

On the iMac the Thinkbox folder amd its subfolders are set to 777

Here is the log of one of those frames:

=======================================================
Error
=======================================================
Accesso al percorso '\\192.168.1.6\DeadlineRepository10\plugins\MayaBatch\MayaBatch.ico' negato.

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
   in Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage ajw)
   in Deadline.Plugins.SandboxedPlugin.SyncFilesForJob(Job job, Boolean cleanup, String& message)
   in Deadline.Slaves.SlaveRenderThread.e(String aaa, Job aab)
   in Deadline.Slaves.SlaveRenderThread.b(TaskLogWriter zy)

=======================================================
Log
=======================================================
2019-11-11 20:01:23:  0: Loading Job's Plugin timeout is Disabled
2019-11-11 20:01:24:  0: Executing plugin command of type 'Sync Files for Job'
2019-11-11 20:01:25:  0: All job files are already synchronized
2019-11-11 20:01:25:  0: Exception Details
2019-11-11 20:01:25:  0: UnauthorizedAccessException -- Accesso al percorso '\\192.168.1.6\DeadlineRepository10\plugins\MayaBatch\MayaBatch.ico' negato.
2019-11-11 20:01:25:  0: Exception.Data: ( )
2019-11-11 20:01:25:  0: Exception.TargetSite: Void WinIOError(Int32, System.String)
2019-11-11 20:01:25:  0: Exception.Source: mscorlib
2019-11-11 20:01:25:  0: Exception.HResult: -2147024891
2019-11-11 20:01:25:  0:   Exception.StackTrace: 
2019-11-11 20:01:25:  0:    in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
2019-11-11 20:01:25:  0:    in System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
2019-11-11 20:01:25:  0:    in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
2019-11-11 20:01:25:  0:    in System.IO.File.OpenRead(String path)
2019-11-11 20:01:25:  0:    in FranticX.Security.Hash.CompareFiles(String filenameA, String filenameB, HashAlgorithm hashAlgorithm)
2019-11-11 20:01:25:  0:    in FranticX.IO.Directory2.SynchronizeDirectories(String sourceDirectory, String destDirectory, Boolean deepCopy, Boolean keepUnmatchedFiles)
2019-11-11 20:01:25:  0:    in FranticX.IO.Directory2.SynchronizeDirectories(String sourceDirectory, String destDirectory, Boolean deepCopy, Boolean keepUnmatchedFiles)
2019-11-11 20:01:25:  0:    in Deadline.StorageDB.PluginStorage.LoadPlugin(String pluginFolder, String pluginName, String destinationDirectory, Boolean checkCustom, String altCustomPluginDirectory)
2019-11-11 20:01:25:  0:    in Deadline.Plugins.PluginWrapper.f(SlaveSettings ajr, Job ajs)
2019-11-11 20:01:25:  0: Encountered an error while executing plugin command of type 'Sync Files for Job'

=======================================================
Details
=======================================================
Date: 11/11/2019 20:01:27
Frames: 11
Elapsed Time: 00:00:00:03
Job Submit Date: 11/11/2019 19:36:01
Job User: MM
Average RAM Usage: 27482173440 (41%)
Peak RAM Usage: 30494343168 (45%)
Average CPU Usage: 22%
Peak CPU Usage: 100%
Used CPU Clocks (x10^6 cycles): 27768966
Total CPU Clocks (x10^6 cycles): 126222567

=======================================================
Slave Information
=======================================================
Slave Name: FM-RENDER-02-_B
Version: v10.0.24.4 Release (cda40613f)
Operating System: Windows 10 Pro
Running As Service: No
Machine User: FM
IP Address: 192.168.1.51
MAC Address: 70:85:C2:AD:75:F2
CPU Architecture: x64
CPUs: 24
CPU Usage: 7%
Memory Usage: 9.3 GB / 63.9 GB (14%)
Free Disk Space: 832.988 GB 
Video Card: NVIDIA GeForce GTX 1080 Ti  

And here you can see how the permissions are set on the iMac:

iMac1:Thinkbox imac1$ ls -la 
total 16
drwxrwxrwx+  6 root  admin   204  7 Nov 10:09 .
drwxrwxrwx+ 72 root  admin  2448  4 Nov 12:44 ..
-rw-rw-rw-@  1 root  admin  6148  7 Nov 10:10 .DS_Store
drwxrwxrwx+  5 root  admin   170  7 Nov 10:10 DeadlineDatabase10
drwxrwxrwx+ 23 root  admin   782 28 Ott 11:18 DeadlineRepository10
drwxrwxrwx+  8 root  admin   272 28 Ott 11:28 License Server
iMac1:Thinkbox imac1$ pwd
/Applications/Thinkbox

Any clue of what could be?

Thank you!

M.

Still running in the same problem. It’s weird because it’s random most of the frames go through without errors…

=======================================================
Log
=======================================================
2019-11-19 17:27:55:  0: Executing plugin command of type 'Sync Files for Job'
2019-11-19 17:27:55:  0: All job files are already synchronized
2019-11-19 17:27:55:  0: Exception Details
2019-11-19 17:27:55:  0: UnauthorizedAccessException -- Accesso al percorso '\\192.168.1.6\DeadlineRepository10\plugins\Cinema4DBatch\Cinema4DBatch.param' negato.
2019-11-19 17:27:55:  0: Exception.Data: ( )
2019-11-19 17:27:55:  0: Exception.TargetSite: Void WinIOError(Int32, System.String)
2019-11-19 17:27:55:  0: Exception.Source: mscorlib
2019-11-19 17:27:55:  0: Exception.HResult: -2147024891
2019-11-19 17:27:55:  0:   Exception.StackTrace: 
2019-11-19 17:27:55:  0:    in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
2019-11-19 17:27:55:  0:    in System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
2019-11-19 17:27:55:  0:    in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
2019-11-19 17:27:55:  0:    in System.IO.File.OpenRead(String path)
2019-11-19 17:27:55:  0:    in FranticX.Security.Hash.CompareFiles(String filenameA, String filenameB, HashAlgorithm hashAlgorithm)
2019-11-19 17:27:55:  0:    in FranticX.IO.Directory2.SynchronizeDirectories(String sourceDirectory, String destDirectory, Boolean deepCopy, Boolean keepUnmatchedFiles)
2019-11-19 17:27:55:  0:    in FranticX.IO.Directory2.SynchronizeDirectories(String sourceDirectory, String destDirectory, Boolean deepCopy, Boolean keepUnmatchedFiles)
2019-11-19 17:27:55:  0:    in Deadline.StorageDB.PluginStorage.LoadPlugin(String pluginFolder, String pluginName, String destinationDirectory, Boolean checkCustom, String altCustomPluginDirectory)
2019-11-19 17:27:55:  0:    in Deadline.Plugins.PluginWrapper.f(SlaveSettings azb, Job azc)
2019-11-19 17:27:55:  0: Encountered an error while executing plugin command of type 'Sync Files for Job'  



=======================================================
Log
=======================================================
2019-11-19 17:08:02:  0: Loading Job's Plugin timeout is Disabled
2019-11-19 17:08:04:  0: Executing plugin command of type 'Sync Files for Job'
2019-11-19 17:08:04:  0: All job files are already synchronized
2019-11-19 17:08:05:  0: Exception Details
2019-11-19 17:08:05:  0: UnauthorizedAccessException -- Accesso al percorso '\\192.168.1.6\DeadlineRepository10\plugins\Cinema4DBatch\Cinema4DBatch.options' negato.
2019-11-19 17:08:05:  0: Exception.Data: ( )
2019-11-19 17:08:05:  0: Exception.TargetSite: Void WinIOError(Int32, System.String)
2019-11-19 17:08:05:  0: Exception.Source: mscorlib
2019-11-19 17:08:05:  0: Exception.HResult: -2147024891
2019-11-19 17:08:05:  0:   Exception.StackTrace: 
2019-11-19 17:08:05:  0:    in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
2019-11-19 17:08:05:  0:    in System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
2019-11-19 17:08:05:  0:    in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
2019-11-19 17:08:05:  0:    in System.IO.File.OpenRead(String path)
2019-11-19 17:08:05:  0:    in FranticX.Security.Hash.CompareFiles(String filenameA, String filenameB, HashAlgorithm hashAlgorithm)
2019-11-19 17:08:05:  0:    in FranticX.IO.Directory2.SynchronizeDirectories(String sourceDirectory, String destDirectory, Boolean deepCopy, Boolean keepUnmatchedFiles)
2019-11-19 17:08:05:  0:    in FranticX.IO.Directory2.SynchronizeDirectories(String sourceDirectory, String destDirectory, Boolean deepCopy, Boolean keepUnmatchedFiles)
2019-11-19 17:08:05:  0:    in Deadline.StorageDB.PluginStorage.LoadPlugin(String pluginFolder, String pluginName, String destinationDirectory, Boolean checkCustom, String altCustomPluginDirectory)
2019-11-19 17:08:05:  0:    in Deadline.Plugins.PluginWrapper.f(SlaveSettings azb, Job azc)
2019-11-19 17:08:05:  0: Encountered an error while executing plugin command of type 'Sync Files for Job'
2019-11-19 17:08:05:  0: Eccezione non gestita: System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
2019-11-19 17:08:05:  0:    in Deadline.Plugins.PluginWrapper.CancelTask()
2019-11-19 17:08:05:  0:    in Deadline.Slaves.CommandListener.e(String acm)
2019-11-19 17:08:05:  0:    in Deadline.Slaves.CommandListener.d(Object acl)
2019-11-19 17:08:05:  0:    in Deadline.Slaves.CommandListener.b(DeadlineMessage acj, Exception ack)
2019-11-19 17:08:05:  0:    in Deadline.Net.DeadlineMessageUtils.a.a(IAsyncResult azw)
2019-11-19 17:08:05:  0:    in System.Net.LazyAsyncResult.Complete(IntPtr userToken)
2019-11-19 17:08:05:  0:    in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
2019-11-19 17:08:05:  0:    in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
2019-11-19 17:08:05:  0:    in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
2019-11-19 17:08:05:  0:    in System.Net.ContextAwareResult.Complete(IntPtr userToken)
2019-11-19 17:08:05:  0:    in System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
2019-11-19 17:08:05:  0:    in System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
2019-11-19 17:08:05:  0:    in System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
Privacy | Site terms | Cookie preferences