Apache Lounge


About Forum Index Downloads Search Register Log in  RSS Apache Lounge  

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.

Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod-mono Error in log.

Joined: 16 Jun 2016
Posts: 2
Location: Japan

PostPosted: Thu 16 Jun '16 15:58    Post subject: mod-mono Error in log. Reply with quote

About a month ago I decided to use Apache as a web server on my local Ubuntu -Mate 16.04 (as so I can completely remove my application/s from Microsoft dependence)
i.e. IIS and MSSQL.

I do a lot of ASP.Net C# development using Mono and MonoDevelop
Recently(in the past month) I started using Postgres SQL as a Database and Apache for the WebServer.

And for the most part everything has been pretty smooth.
Except with the mono-mod

I have mod-mono-Server4 installed but for some reason Apache keeps looking for mod-mono-server2.
All the mono docs don't say anything about this problem and I double checked my mod_mono.conf file/s and they are correct as well, so, I thought would ask the question here.
I browsed the site a bit and did not find any posts hence the reason for posting.

This is what my error log (its the ONLY error)
[Thu Jun 16 21:32:29.381990 2016] [:error] [pid 3720:tid 139827999307648] Failed running '/usr/bin/mod-mono-server2 --filename /tmp/mod_mono_server_global --nonstop --master (null) (null) (null) (null) (null) (null) (null) (null)'. Reason: No such file or directory
[Thu Jun 16 21:32:29.384581 2016] [mpm_event:notice] [pid 1184:tid 139827999307648] AH00489: Apache/2.4.18 (Ubuntu) mod_mono/3.8 configured -- resuming normal operations
[Thu Jun 16 21:32:29.384611 2016] [core:notice] [pid 1184:tid 139827999307648] AH00094: Command line: '/usr/sbin/apache2'

All this stems from the fact that I can't get my web application to connect to postgres I am using the npgsql connection string , thankfully the postgres community help me verify it is correct and my postgres installation is working properly.

That's when I started taking a deeper look in to apache in hopes that I may find the culprit

Cheers --
Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6890
Location: Germany, Next to Hamburg

PostPosted: Thu 16 Jun '16 18:32    Post subject: Reply with quote

Did you set MonoServerPath ?
Back to top

Joined: 16 Jun 2016
Posts: 2
Location: Japan

PostPosted: Fri 17 Jun '16 2:19    Post subject: Reply with quote

I did I made sure that the path is set to find mod-mono-server4 not 2.
Even still this error shows.
Back to top

Reply to topic   Topic: mod-mono Error in log. View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules