[Error] PidFileProvider: Unable to write PID file:

Ryan Holt ryan at ryanholt.net
Fri Sep 12 13:34:21 UTC 2014


Hi All,

Fresh install of FreeBSD 10. ZFS on root filesystem. Getting this error when trying to execute an exe. Is this a problem with the application or with Mono? Can't find anything online... The ProcessName looks wrong - almost like the binary is referencing files that were in the build folder.

[_nzbdrone at fbsd /usr/local/NzbDrone]$ mono --debug /usr/local/NzbDrone/NzbDrone.exe
[Info] Bootstrap: Starting NzbDrone - /usr/local/NzbDrone/NzbDrone.exe - Version 2.0.0.1861
[Error] PidFileProvider: Unable to write PID file: /home/_nzbdrone/.config/NzbDrone/nzbdrone.pid


[Fatal] ConsoleApp: EPIC FAIL!

System.InvalidOperationException: Process has exited, so the requested information is not available.
  at System.Diagnostics.Process.get_ProcessName () [0x000b0] in /usr/ports/lang/mono/work/mono-3.4.0/mcs/class/System/System.Diagnostics/Process.cs:574
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_ProcessName ()
  at NzbDrone.Common.Processes.ProcessProvider.ConvertToProcessInfo (System.Diagnostics.Process process) [0x0002c] in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Common\Processes\ProcessProvider.cs:256
  at NzbDrone.Common.Processes.ProcessProvider.GetCurrentProcess () [0x00000] in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Common\Processes\ProcessProvider.cs:41
  at NzbDrone.Common.Processes.PidFileProvider.Write () [0x0001d] in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Common\Processes\PidFileProvider.cs:34

Press any key to exit...

[_nzbdrone at fbsd /usr/local/NzbDrone]$ mono -V
Mono JIT compiler version 3.4.0 (tarball Thu Sep 11 16:46:32 EDT 2014)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notification:  kqueue
        Architecture:  amd64
       Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen
[_nzbdrone at fbsd /usr/local/NzbDrone]$


More information about the freebsd-mono mailing list