[Mono-list] Using mod-mono from source

Martin Thwaites monoforum at my2cents.co.uk
Sat Jul 13 16:25:16 UTC 2013


Hi Andy,

Out of interest, what distro would you recommend for running mono (for
web).  I'm happy to load up another VM with that on to test it.

I'm not a fan of Suse, I've used Fedora but not in the last 8 years ish,
used CentOS a few years back as an IDS but nothing more.  Any suggestions?

Thanks,
Martin

On Sat, Jul 13, 2013 at 12:15 PM, Martin Thwaites
<monoforum at my2cents.co.uk>wrote:

> Thanks Andy, I've heard a few people say this, but I rarely get issues to
> be honest and I've been using ubuntu server/desktop for years, regularly
> (It's the main OS I use for everything other than .NET development).
>
> I'm going to try grabbing the code for XSP and running it through
> monodevelop to see if there is actually an issue with the code.
>
>
> On Sat, Jul 13, 2013 at 12:55 AM, Andy York <andy at brdstudio.net> wrote:
>
>> My money is on Ubuntu being the issue, it seems like Ubuntu users have
>> more than than the average amount of issues. Not because it's a bad distro
>> but because it doesn't seem to use the standard Linux setup, for example
>> they seem to use different ports for web servers.
>>
>> This is an uneducated guess, I don't have documentation to back me up.
>> --
>> Sent from my Nexus 7, typing with my thumbs makes it easy to make errors
>> & is painfully slow, please excuse my brevity.
>>
>>
>> Martin Thwaites <monoforum at my2cents.co.uk> wrote:
>>>
>>> Thanks Daniel,
>>>
>>> I've tried that now, and it seems that there might be a more underlying
>>> problem as I'm getting a similar error as the mod-mono-server, in that it
>>> appears to be passing the parameter name into the parameter value. So I
>>> think there is a problem with either:
>>>
>>>    - My installation (not sure how as it's a basic ubuntu 13.04, and
>>>    I've reinstalled a few times)
>>>    - The mono code base
>>>    - The mono options class (not sure if that's part the main mono code
>>>    base?)
>>>    - The xsp code base.
>>>
>>> My money is on either a problem with compiling the mono code base, or
>>> problems with changes in the xsp code base.  Looking at the recent commits
>>> on XSP, there was a change to use the ConfigurationManager class very
>>> recently.
>>>
>>> Do you use Ubuntu/debian? and do you have the facility to test the
>>> lastest commits of mono/xsp?  or anyone else for that matter?
>>>
>>> Thanks
>>> Martin
>>>
>>> On Fri, Jul 12, 2013 at 11:46 AM, Daniel Lo Nigro <lists at dan.cx> wrote:
>>>
>>>> You could also try using FastCGI instead (although that would involve
>>>> changing your config a bit)
>>>>
>>>>
>>>> On Fri, Jul 12, 2013 at 8:42 PM, Martin Thwaites <
>>>> monoforum at my2cents.co.uk> wrote:
>>>>
>>>>> I've now tried with/without the "=" using the mod-mono-server4.exe
>>>>> directly, and no joy.
>>>>>
>>>>> Did you run your source directly from Git with all the latest commits?
>>>>> and if so, what date did you do it?
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> On Fri, Jul 12, 2013 at 10:06 AM, Martin Thwaites <
>>>>>> monoforum at my2cents.co.uk> wrote:
>>>>>>
>>>>>>> Hi Mike,
>>>>>>>
>>>>>>> I've tried every combination of parameters I can think of, including
>>>>>>> adding/removing the "=", as well as reordering (not that it should have an
>>>>>>> effect, but who knows what bugs might be lurking).
>>>>>>>
>>>>>>> I'll try the nonstop and root, and I'll also try running it directly
>>>>>>> from the exe instead of the bash script (thinking about it, that is one of
>>>>>>> the big differences and I'm actually optimistic about that being the issue
>>>>>>> as looking at the code, applications is a recently added option).
>>>>>>>
>>>>>>> I'll let you know how I get on, I've sent a mail to the devel list
>>>>>>> too.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Martin
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Jul 12, 2013 at 4:11 AM, Mike Morano <mmorano at mikeandwan.us>wrote:
>>>>>>>
>>>>>>>> Hi Martin,
>>>>>>>>
>>>>>>>> Sorry, you are still running into problems.  You are right, if you
>>>>>>>> are using /usr as your prefix, you shouldn't need to worry about the
>>>>>>>> ld.conf.so.d entry.
>>>>>>>>
>>>>>>>> When I look at the command on my running webserver, I see the
>>>>>>>> following:
>>>>>>>>
>>>>>>>> /opt/mono-3.0/bin/mono
>>>>>>>> /opt/mono-3.0/lib/mono/4.5/mod-mono-server4.exe --filename
>>>>>>>> /tmp/mod_mono_server_site --applications /:/srv/www/site --nonstop --root
>>>>>>>> /srv/www/site
>>>>>>>>
>>>>>>>> Seeing you are using the default prefix, you should be fine with
>>>>>>>> /usr/bin/mod-mono-server4 as you have it.  However, perhaps it doesn't like
>>>>>>>> the format you are specifying the arguments (try dropping the '='), or
>>>>>>>> perhaps try adding the nonstop and root arguments.
>>>>>>>>
>>>>>>>> Does that get you any further?
>>>>>>>>
>>>>>>>>
>>>>>>>> -m
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mono-list maillist  -  Mono-list at lists.ximian.com
>>>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>>>>
>>>>>
>>>>
>>> ------------------------------
>>>
>>> Mono-list maillist  -  Mono-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-list
>>>
>>>
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130713/5a392398/attachment.html>


More information about the Mono-list mailing list