Questions tagged [mono]

Mono is an open source implementation of .NET that runs on many platforms, including Linux, Mac OS X, and Windows. This allows running .NET applications on platforms other than Windows with little to no modification.

Filter by
Sorted by
Tagged with
1 vote
1 answer
294 views

Make Wine and Mono command-line invocations play well together on Debian?

I'm on Debian 12 (Bookworm). I have had Mono installed (from https://download.mono-project.com/repo/debian, to run Duplicati backup software) for years. I'm trying to get Wine working smoothly. Wine ...
P.T.'s user avatar
  • 400
0 votes
1 answer
2k views

How do I install libmono.so on Ubuntu 18?

I am trying to build some code that uses CMake to find and link to Mono. It is trying to link to libmono.so and libmono-2.0.so. I have installed mono-complete (which installs mono-devel) without ...
AlastairG's user avatar
  • 348
2 votes
1 answer
2k views

How to upgrade ca-certificates-mono if 4.8.1.0-0 version is already installed?

My machine is Ubuntu 16.04. After I tried upgrade Mono I faced with dependency problem. sudo apt-get install mono-complete Building dependency tree Reading state information... Done mono-...
Roman Koval's user avatar
1 vote
1 answer
454 views

"Failed to connect to mod-mono-server" with Apache and infinite fork spawning

I have an Arch Linux server that was working fine, but was pretty far out of date. After getting everything settled with pacman -Syu the web service it runs would no longer load, just a generic 503 ...
Earlz's user avatar
  • 1,039
0 votes
1 answer
2k views

How to free SSL certificates on Debian 6 squeeze with Apache

I'm looking for a way to use free SSL certificates in Apache running in Debian 6 squeeze. I tried to use Lets-Encrypt running ./certbot-auto --apache certonly --no-bootstrap throws error WARNING:...
Andrus's user avatar
  • 169
1 vote
1 answer
805 views

issue with mod-mono on centos 7

I am new to Linux hosting. We have some ASP.NET sites hosted on Windows IIS. We are now going to migrate those site to Apache Webserver. After study, I found we can use "mod-mono" for this purpose. I ...
Rituparno Bhattacharya's user avatar
1 vote
1 answer
2k views

Starting a mono-service with systemd

I read a lot about systemd recently but i can't figure it out how to run my mono-service via systemd. Below is my current systemd daemon configuration: root@LNXOSESTNL:/opt/omnius-statusdaemon# cat /...
Dirkos's user avatar
  • 113
1 vote
1 answer
825 views

Apache2 with mod_mono does not answer with partial content when a range is requested

I have a Apache2 server with mod_mono in a Virtual Machine which has Ubuntu 16.04. I have noticed that the server is not answering to requests with the Range header correctly. Initially it was not ...
FurretUber's user avatar
0 votes
1 answer
86 views

Strange directory access in apache with mutliple servicestack applications hosted with mod_mono

I have a webserver (Linux, Ubuntu 16.04) running a apache. I use it to host some ASP.NET applications with mono developed using the ServiceStack framework. Here is my vhost configuration <...
mat's user avatar
  • 548
2 votes
1 answer
999 views

Apache Service Unavailable When Running ASP.NET MVC Project with mono

I am running centos 7 and i have installed mono using the guide on the official website for centos http://www.mono-project.com/docs/getting-started/install/linux/ . This appears to be working fine as ...
Dan Hastings's user avatar
2 votes
0 answers
245 views

mod-mono-server4.exe using 100% of CPU on Ubuntu 14.04.1 LTS

I have an ASP.NET application that uses some long polling magic. The problem comes when the server has accepted some requests and it's just waiting to return them. If I restart apache in that moment ...
Hristo Kolev's user avatar
-1 votes
1 answer
354 views

Configure apache to display external error page on errors

let me start by prefixing my knowledge of apache is basically non existent and that I am trying work with something that was here before me. My problem is that we are hosting an ASP.net MVC web site ...
user22785's user avatar
  • 189
10 votes
1 answer
812 views

Mono's XSP4 on OSX gives Access Forbidden (error 500) for any .aspx or .asp file

I'm on a Mac trying to locally host a copy of an old ASP-based site for testing purposes. Not (yet) using mod_mono for Apache, just the basic standalone XSP server. It was enough of an ordeal just ...
blerg's user avatar
  • 101
-1 votes
2 answers
168 views

Failed to create shadow copy (CopyFile) While Loading an .aspx page in mono-server

Failed to create shadow copy (CopyFile) Description: HTTP 500. Error processing request Before I begin my question; below is link to my previous problem, It was 503 error; Resolved by enabling ...
vivek.patwardhan's user avatar
1 vote
1 answer
964 views

Mono crashes while SELinux enforced, How to get mono server worked while SELinux is enforced?

This is what happens when SELinux is enforced: [root@shadmin ~]# elinks --dump 127.0.0.1/ASP-Portal/index.aspx Service Temporarily Unavailable The server is temporarily ...
vivek.patwardhan's user avatar
0 votes
1 answer
139 views

Opensuse Leap 42.1: xsp & fast-mono-server problems

I have recently upgraded my opensuse machine from 12.2 to Leap 42.1 (x86_64). It's mostly going well. However, I installed mono & xsp via yast (KDE) and I have found that both xsp & fastcgi-...
42LeapsOfFaith's user avatar
2 votes
1 answer
576 views

How to run a PHP application in a subfolder of a website using mod_mono on Apache?

I have a website running on mono (on Debian stretch). I would like to have some subfolders which would be handled by php5 module (webmail, stats and PhpMyAdmin for example). Is there a simple way to ...
Spikolynn's user avatar
  • 245
2 votes
1 answer
2k views

Mono aspx error 500: System.Web.Security.FileAuthorizationModule.Init not implemented

I have a CentOS 7 VM installed with all httpd / mysql packages etc. I wanted to run a ticketsystem called SmarterTrack, which is build in ASPX. Looked eveything up and installed the necessary packages ...
Cris Kolkman's user avatar
-1 votes
1 answer
563 views

CentOS 7 ASP not working

I have set up a CentOS 7 VM running ISPConfig 3 on port 8080, httpd on 80 and a few other services like Dovecot etc.. I'm trying yo set up the VM so that it can display .aspx pages, but for some ...
Cris Kolkman's user avatar
1 vote
1 answer
2k views

Deploying ASP.NET Web API using Mono and Nginx

I've been trying to deploy my Web API for quite some time now without success. No matter how I throw things around in my configurations (by recommendations from my Google searches) I still run into ...
Erik Karlstrand's user avatar
0 votes
1 answer
502 views

Nginx Subdomain using FastCGI-Mono-Server4

I have 1 subdomain in addition to the main website, all running on nginx + fastcgi-mono-server4. PROBLEM: I have to make the subdomain use a different port (port 81) for all the .conf/.webapp files ...
invulnarable27's user avatar
3 votes
0 answers
101 views

OSX Terminal.app seems to become 'suspended' unless I VNC into the Mac

So I have a bit of complicated setup, but let me see if I can simplify I am running a mono application on a remote OSX machine. This application can occasionally hard-crash the mono runtime. There ...
Richthofen's user avatar
1 vote
1 answer
625 views

C# App (mono) running inside docker gives huge CPU Spikes

I have been looking at this for quite a while. We run a server that has multiple Docker containers, one of them has a Mono server application written in c#. The base image is phusion base (http://...
user125756's user avatar
2 votes
1 answer
695 views

Mono is crashing after the process starts

I have a .net application running on mono 4.0.2 in ubuntu 14.04. Mono sometimes crashes after the application starts. I see this error in the logs. Stacktrace: Native stacktrace: /usr/bin/mono(...
Santhosh S's user avatar
1 vote
1 answer
563 views

Mono uses just one core on the server

I have a .net application running on mono 4.0.1 in ubuntu. The application is multi-threaded but the CPU usage not more than 25% on 4 core machine. I think mono is just running on one of the cores ...
Santhosh S's user avatar
2 votes
1 answer
8k views

How to automatically re-start apache if it stops responding and socket is still in use

Apache server Debian Linux x64 serves the site mono applications in mysite.com and other sites using virtual hosting. Sometimes apache stops responding for unknow reason. Apache error_log contains: [...
Andrus's user avatar
  • 169
0 votes
1 answer
529 views

Deploy MySQL/MariaDB on demand in a C# application

I'm creating a lightweight bug tracker, and I'm really having difficulties with people that don't know how to deploy and connect to a MySQL database on their own. What they should do is to create ...
Steinbitglis's user avatar
-1 votes
1 answer
972 views

5 second delay for OnlyOffice (mono-fastcgi & nginx) on Linux

Setup Debian 8 (jessie) - fully up to date. Server is in local network, ping <=1ms, bandwith 10..40 Mbit (bing -s 124 -S 1024 localhost <server>) the server is also running some other ...
Florian's user avatar
  • 101
0 votes
1 answer
800 views

404 error for WebResource.axd with fastcgi-mono-server4

I have a simple ASP.NET WebForms app that I created in Windows and copied over to a Linux server (Ubuntu 14.04) that is running fastcgi-mono-server4 and nginx. The app runs fine on windows, but when ...
AJ Richardson's user avatar
2 votes
1 answer
2k views

Could not load file or assembly fastcgi-mono-server4

I am trying to host an ASP.NET Web Forms application using Mono. I have installed Mono 3.0.7 and XSP 2.10.2 from source into the /usr/bin directory. I then started the mono server with the following ...
AJ Richardson's user avatar
0 votes
2 answers
1k views

Why does google-site-verification go into fastcgi-pass ?

See the below nginx configuration file. Virtual name based hosting (example.com), passing requests for example.com and www.example com to the mono fastcgi-process on port 9000 (127.0.0.1:9000) I've ...
Quandary's user avatar
  • 1,024
1 vote
1 answer
2k views

No mod-mono.so or mod_mono.conf after Install

(I apologize in advance for "spam" I asked on "Ask Ubuntu" but no one answered in 5 days. I didn't think this would be hard as I'm sure many have installed Mono with Webmin on Ubuntu 12.04.) On ...
jerryrig's user avatar
  • 141
0 votes
1 answer
11k views

Automatically starting C# Mono application on Ubuntu server

I have a TCP server written in C# which I will run on my server. I've tested the application running on the server and client side and it all works great! I'm using mono on my Linux server to run the ...
Kieran Crown's user avatar
0 votes
2 answers
435 views

ASP.NET app on Apache Mono Ubuntu compiler error as log4net is unable to be found

I'm trying to get a vulnerable practice ASP.NET web application (WebGoat.NET) installed on Apache Mono on Ubuntu. I've followed this guide and it all went smoothly; however, whenever I try to run the ...
Jingo's user avatar
  • 175
3 votes
1 answer
965 views

fastcgi-mono-server2 vs fastcgi-mono-server4

Not sure if this is a silly question or not. Basically I'm figuring out how to run Mono on Linux, and I'm a Linux no0b. I've got everything up and running, but confused about fastcgi-mono-server. ...
Phill's user avatar
  • 182
0 votes
2 answers
1k views

How do I add Mono Application to Ubuntu Start Up?

I am very new to Ubuntu & Linux. I have deployed an C# Console Application to an EC2 Instance running Ubuntu 12.10. Currently I am using mono foldername/appname.exe to start the app. How do I add ...
Libin TK's user avatar
  • 111
0 votes
1 answer
806 views

Mono 3.0 not intercepting requests on Apache2/CentOS

I have Mono 3.0.6 up and running on a CentOS 6/Apache 2 setup. I have published an ASP.NET 4.5/MVC4 website on the server. However, when I try to reach the website I get a status code 503 (Service ...
Astaar's user avatar
  • 448
1 vote
1 answer
4k views

Apache2 doesn't load module mod_mono - CentOS 6

I have compiled and installed Mono 3.0.6, XSP and mod_mono on CentOS, following mostly these instructions. My VHOST is configured as such: <VirtualHost *:80> ServerAdmin webmaster@...
Astaar's user avatar
  • 448
0 votes
1 answer
1k views

CentOS 6 Mono and Apache

EDIT: Added some extra logs at the end I'm trying to make Mono 3.0 work on CentOS 6 with Apache. I have compiled Mono, mod_mono and the XPS server from the source. But now I'm getting errors because ...
Astaar's user avatar
  • 448
2 votes
0 answers
2k views

How do I configure mod_mono to use ASP.NET 4?

I am running a VPS with Centos 6.3, with WHM 11.34.1 (build 11). I wish to use mod_mono to host an ASP.NET 4 application. (Background: I am rewriting a hobby PHP website in ASP.NET MVC 4, and want to ...
Mike Caron's user avatar
0 votes
2 answers
2k views

Running mono-based application on Centos Start

I am very new to Linux and I am currently switching my server from Windows to Centos 6.3. I have written a small UDP server. UDP server was written in C# and now I adopted it to work with Linux using ...
Andrew's user avatar
  • 165
1 vote
1 answer
981 views

fastcgi-mono-server with Nginx is much slower than xsp4

We started testing our MVC4 app on xsp4 server compiled with mono-3.0.3, speed was enough and we decided to set up production fastcgi-mono-server4 (version 2.11.0.0) with nginx (1.2.6-r1). Single ...
marxin's user avatar
  • 111
3 votes
1 answer
490 views

share a domain name beween php and mono

I've got a problem : I've got a dedicated server where I use three different domain names and php. Now, I've got a new website that I developped with asp.net. I installed mono, mod_mono and transfered ...
artragis's user avatar
  • 133
2 votes
1 answer
703 views

"mod_mono and xsp have different versions" error

I'm trying to start a test MVC4 application on Mono 2.10 $ xsp --version xsp2.exe 2.10.2.0 Copyright (C) 2002-2011 Novell, Inc. Minimalistic web server for testing System.Web $ mod-mono-server4 --...
usr-local-ΕΨΗΕΛΩΝ's user avatar
1 vote
1 answer
407 views

mono 3.0.2 + xsp + lighttpd delivers empty page

I needed MVC 4 (and basic .NET 4.5) support so I downloaded mono 3.0.2 and deployed it on an lighttpd 1.4.28 installation, together with xsp-2.10.2 (was the latest I could find). After going through ...
Nefal Warnets's user avatar
1 vote
5 answers
5k views

nginx more fastcgi-mono-server

I've been looking for post related to my problem, but I have not found. I´m hopeless, I follow the guide for install and config nginx with fastcgi-mono-server ( http://www.mono-project.com/...
user1847488's user avatar
1 vote
1 answer
3k views

how to install mono xsp4 and fastcgi-mono-server4

Quick question - I'm on Debian squeeze, running nginx fine and installed mono fine. Now I want to host a .net4 web application and as I understand it I'll need fastcgi-mono-server4 (and xsp4 when ...
james lewis's user avatar
1 vote
2 answers
1k views

ASP.NET website as subfolder on PHP Nginx server

My requirements: My website -> example.com - Runs Magento ecommerce platform built in PHP running under Nginx server (currently Apache but very soon moving to Nginx) Another website -> example.com/...
Harshit's user avatar
  • 113
1 vote
1 answer
103 views

Disable scripting for a particular vhost

I want to disable every form of scripting (PHP, ASP.NET, CGI) for a specific vhost in my Apache2 setup. Only plain old HTML pages. Scripting must remain enabled for all other vhosts in the server. ...
usr-local-ΕΨΗΕΛΩΝ's user avatar
3 votes
2 answers
11k views

Haproxy not properly passing on X-Forwarded-For header

I have backend web servers that receive requests by way of haproxy->nginx->fastcgi. The web app used to see multiple ip's coming through in the X-Forwarded-For header, chained together with commas (...
JesseP's user avatar
  • 196