无法加载文件或程序集fastcgi-mono-server4

我正在尝试使用Mono托pipeASP.NET Web窗体应用程序。 我已将Mono 3.0.7和XSP 2.10.2从源代码安装到/ usr / bin目录中。 然后我用下面的命令启动了单声道服务器:

fastcgi-mono-server4 /applications=www.example.com:/:/var/www/example/ /socket=tcp:127.0.0.1:9000 /verbose=True /printlog=True 

但是,当我浏览到http://www.example.com ,出现502错误网关错误。 我看到logging了以下错误:

 [2014-11-10 15:30:01Z] Error Failed to process connection. Reason: Could not load file or assembly 'fastcgi-mono-server4, Version=2.10.2.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified. 

那么为什么它找不到文件呢?

我尝试添加/usr/bin到我的MONO_PATH ,但是没有帮助。

这是我的nginxconfiguration:

 server { listen 80; server_name www.example.com 172.245.43.220; access_log /var/log/nginx/example.access.log main; root /var/www/example; index Default.aspx; location / { try_files $uri $uri/ /Default.aspx; fastcgi_index Default.aspx; fastcgi_pass 127.0.0.1:9000; include /etc/nginx/fastcgi_params; fastcgi_param PATH_INFO ""; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } 

我的解决scheme最后是取消CentOS并安装Ubuntu 14.04,然后使用apt-get安装mono-completemono-fastcgi-server4 。 不理想,但这是我唯一的工作。