[Mono-list] XSP and mod_mono once again

Giuseppe Greco giuseppe.greco@agamura.com
Wed, 15 Oct 2003 17:03:24 +0200 (CEST)


... boh!

As you did, I followd the steps described in the
INSTALL file one to one, more than once, and on
different machines... but no way to get it running.

Gius_.

> Let me backtrack a bit... I,
>
>     * followed the INSTALL instructions as close as I could--except for
>       step one because the XSP tarball I downloaded doesn't have
>       sources.  I just copied xsp.exe and mod_mono_server.exe into my
>       /usr/local/apache2/bin directory
>     * set the permissions on /tmp/mod_mono_server to 777
>     * modified httpd.conf to include:
>           o Listen 8080
>           o LoadModule mono_module    modules/mod_mono.so
>           o Alias /mono "/opt/downloads/xsp-0.6/share/doc/xsp/test"
>           o MonoUnixSocket /tmp/mod_mono_server
>           o A directive:
>                 + <Directory "/opt/downloads/xsp-0.6/share/doc/xsp/test">
>                 + Options Indexes Multiviews
>                 + AllowOverride None
>                 + Order allow,deny
>                 + Allow from all
>                 + </Directory>
>     * changed the permission on /usr/local/apache2/modules/mod_mono.so
>       to 755 (trying to mimic the permissions that libphp4.so has in the
>       same dir)
>     * ran mono /usr/local/apache2/bin/mod_mono_server.exe --root
>       /opt/downloads/xsp-0.6/share/doc/xsp/test/ --applications /mono:.
>     * restarted apache
>
> Now if I point to http://despair.no-ip.org:8080 I get a blank page.
> If I point to http://despair.no-ip.org:8080/mono I get the directory
> listing of /opt/downloads/xsp-0.6/share/doc/xsp/test
> If I point to http://despair.no-ip.org:8080/mono/index.aspx I get an
> Internal Server Error page (where you'll see that mod_mono is loaded by
> apache).
>
> The only thing in my logs is in the access_log where the 500 response
> for the index.aspx request is seen.  error_log doesn't have anything
> relevant except the messages when I restarted apache.
>
> So I am basically toast and don't know what else to try.  Like I said
> before, I can leave apache as it was, listening on port 80, and run xsp
> on port 8080, which works for a while, until the CPU starts shooting to
> 100%.
>
> Maybe the whole problem stems because of not running step 1 (correctly)??
>
>
> Giuseppe Greco wrote:
>
>>David,
>>
>>if I've well understood, you haven't been able to get
>>mod_mono and xsp working together, so you decided to just
>>try xsp alone.
>>
>>OK, but it would be interesting to know why they don't work
>>together...
>>
>>
> What do you mean they work together?  mod_mono with apache doesn't
> work.  xsp alone does work.  But mod_mono with xsp?  Hmm... you're
> confusing me.
>
>>I've been spending hours and hours trying to get the stuff
>>working... but nothing!
>>
>>Is there someone else who had this problem and was able
>>to solve it?
>>
>>Gius_.
>>
>>
>>
>>
>>>I had the same problems as Guiseppe with mod_mono and Apache--I'd get
>>>nothing if I pointed to port 8080, so I've been following the thread
>>>with interest.  In any case, since I was just trying to see the samples
>>>I ended up being happy with xsp alone.  The problem I ran with xsp is
>>>that it started hogging my CPU after a couple of days of leaving it
>>>running...
>>>
>>>// David
>>>
>>>Artur Brodowski wrote:
>>>
>>>
>>>
>>>>W li¶cie z ¶ro, 15-10-2003, godz. 09:05, Giuseppe Greco pisze:
>>>>
>>>>
>>>>
>>>>
>>>>>could you tell me exactly how did you get XSP/mod_mono
>>>>>running? I've still problems there...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>Well, looks like all I had to do was follow INSTALL
>>>>instructions exactly.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Apache does responds to requests sent to port 8080,
>>>>>but I always get the following error message:
>>>>> SERVER ERROR
>>>>>
>>>>>
>>>>>
>>>>>
>>>>[...]
>>>>
>>>>
>>>>
>>>>
>>>>>It is like xsp doesn't handle ASP requests...
>>>>>
>>>>>
>>>>>
>>>>>
>>>>Does xsp alone work?
>>>>
>>>>regards,
>>>>artb.
>>>>
>>>>
>>>>_______________________________________________
>>>>Mono-list maillist  -  Mono-list@lists.ximian.com
>>>>http://lists.ximian.com/mailman/listinfo/mono-list
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>>
>>----------------------------------------
>>Giuseppe Greco
>>
>>::agamura::
>>
>>phone:  +41 (0)91 604 67 65
>>mobile: +41 (0)76 390 60 32
>>email:  giuseppe.greco@agamura.com
>>web:    www.agamura.com
>>----------------------------------------
>>_______________________________________________
>>Mono-list maillist  -  Mono-list@lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>>
>>
>


----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  giuseppe.greco@agamura.com
web:    www.agamura.com
----------------------------------------