Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 13:18:57 +0000
From:      Ryan Holt <ryan@ryanholt.net>
To:        "freebsd-mono@freebsd.org" <freebsd-mono@freebsd.org>
Subject:   [Error] PidFileProvider: Unable to write PID file:
Message-ID:  <6f0a4293db554ec0a5adfbd3b2cdac7f@BLUPR08MB453.namprd08.prod.outlook.com>

next in thread | raw e-mail | index | archive | help
Hi All,

Fresh install of FreeBSD 10. ZFS on root filesystem. Getting this error whe=
n 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 li=
ke the binary is referencing files that were in the build folder.

[_nzbdrone@fbsd /usr/local/NzbDrone]$ mono --debug /usr/local/NzbDrone/NzbD=
rone.exe
[Info] Bootstrap: Starting NzbDrone - /usr/local/NzbDrone/NzbDrone.exe - Ve=
rsion 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 info=
rmation 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:57=
4
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_Pr=
ocessName ()
  at NzbDrone.Common.Processes.ProcessProvider.ConvertToProcessInfo (System=
.Diagnostics.Process process) [0x0002c] in m:\BuildAgent2\work\328d72309b63=
3a8\src\NzbDrone.Common\Processes\ProcessProvider.cs:256
  at NzbDrone.Common.Processes.ProcessProvider.GetCurrentProcess () [0x0000=
0] in m:\BuildAgent2\work\328d72309b633a8\src\NzbDrone.Common\Processes\Pro=
cessProvider.cs:41
  at NzbDrone.Common.Processes.PidFileProvider.Write () [0x0001d] in m:\Bui=
ldAgent2\work\328d72309b633a8\src\NzbDrone.Common\Processes\PidFileProvider=
.cs:34

Press any key to exit...

[_nzbdrone@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@fbsd /usr/local/NzbDrone]$



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6f0a4293db554ec0a5adfbd3b2cdac7f>