[Mono-list] Using mod-mono from source
Daniel Lo Nigro
lists at dan.cx
Sat Jul 13 16:30:28 UTC 2013
I'm currently using Debian with Mono 3.0.6 and Nginx. I'll try upgrading it
if I get some free time to do so. It does look like XSP is under pretty
heavy development at the moment though. Perhaps try using a tagged release
rather than the latest development version?
On Sat, Jul 13, 2013 at 6:47 AM, 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
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20130714/5122e616/attachment-0001.html>
More information about the Mono-list
mailing list