[Mono-list] XSP and mod_mono once again

David La Motta dlamotta@email.com
Wed, 15 Oct 2003 10:38:25 -0400


This is a multi-part message in MIME format.
--------------050305070108010708050607
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

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
>
>
>  
>

--------------050305070108010708050607
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Let me backtrack a bit... I,<br>
<ul>
  <li>followed the INSTALL instructions as close as I could--except for
step one because the XSP tarball I downloaded doesn't have sources.&nbsp; I
just copied xsp.exe and mod_mono_server.exe into my
/usr/local/apache2/bin directory<br>
  </li>
  <li>set the permissions on /tmp/mod_mono_server to 777</li>
  <li>modified httpd.conf to include:</li>
  <ul>
    <li>Listen 8080</li>
    <li>LoadModule mono_module&nbsp;&nbsp;&nbsp; modules/mod_mono.so</li>
    <li>Alias /mono "/opt/downloads/xsp-0.6/share/doc/xsp/test"</li>
    <li>MonoUnixSocket /tmp/mod_mono_server</li>
    <li>A directive:</li>
    <ul>
      <li>&lt;Directory "/opt/downloads/xsp-0.6/share/doc/xsp/test"&gt;</li>
      <li>Options Indexes Multiviews</li>
      <li>AllowOverride None</li>
      <li>Order allow,deny</li>
      <li>Allow from all</li>
      <li>&lt;/Directory&gt;<br>
      </li>
    </ul>
  </ul>
  <li>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)</li>
  <li>ran mono /usr/local/apache2/bin/mod_mono_server.exe --root
/opt/downloads/xsp-0.6/share/doc/xsp/test/ --applications /mono:.</li>
  <li>restarted apache</li>
</ul>
Now if I point to <a class="moz-txt-link-freetext" href="http://despair.no-ip.org:8080">http://despair.no-ip.org:8080</a> I get a blank page.<br>
If I point to <a class="moz-txt-link-freetext" href="http://despair.no-ip.org:8080/mono">http://despair.no-ip.org:8080/mono</a> I get the directory
listing of /opt/downloads/xsp-0.6/share/doc/xsp/test<br>
If I point to <a class="moz-txt-link-freetext" href="http://despair.no-ip.org:8080/mono/index.aspx">http://despair.no-ip.org:8080/mono/index.aspx</a> I get an
Internal Server Error page (where you'll see that mod_mono is loaded by
apache).<br>
<br>
The only thing in my logs is in the access_log where the 500 response
for the index.aspx request is seen.&nbsp; error_log doesn't have anything
relevant except the messages when I restarted apache.<br>
<br>
So I am basically toast and don't know what else to try.&nbsp; 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%.<br>
<br>
Maybe the whole problem stems because of not running step 1
(correctly)??<br>
<br>
<br>
Giuseppe Greco wrote:<br>
<blockquote type="cite"
 cite="mid45059.193.108.233.65.1066223341.squirrel@mail.agamura.com">
  <pre wrap="">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...
  </pre>
</blockquote>
What do you mean they work together?&nbsp; mod_mono with apache doesn't
work.&nbsp; xsp alone does work.&nbsp; But mod_mono with xsp?&nbsp; Hmm... you're
confusing me.<br>
<blockquote type="cite"
 cite="mid45059.193.108.233.65.1066223341.squirrel@mail.agamura.com">
  <pre wrap="">
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_.


  </pre>
  <blockquote type="cite">
    <pre wrap="">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:

    </pre>
    <blockquote type="cite">
      <pre wrap="">W li&para;cie z &para;ro, 15-10-2003, godz. 09:05, Giuseppe Greco pisze:


      </pre>
      <blockquote type="cite">
        <pre wrap="">could you tell me exactly how did you get XSP/mod_mono
running? I've still problems there...


        </pre>
      </blockquote>
      <pre wrap="">Well, looks like all I had to do was follow INSTALL
instructions exactly.



      </pre>
      <blockquote type="cite">
        <pre wrap="">Apache does responds to requests sent to port 8080,
but I always get the following error message:
 SERVER ERROR


        </pre>
      </blockquote>
      <pre wrap="">[...]


      </pre>
      <blockquote type="cite">
        <pre wrap="">It is like xsp doesn't handle ASP requests...


        </pre>
      </blockquote>
      <pre wrap="">Does xsp alone work?

regards,
artb.


_______________________________________________
Mono-list maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</a>



      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->

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

::agamura::

phone:  +41 (0)91 604 67 65
mobile: +41 (0)76 390 60 32
email:  <a class="moz-txt-link-abbreviated" href="mailto:giuseppe.greco@agamura.com">giuseppe.greco@agamura.com</a>
web:    <a class="moz-txt-link-abbreviated" href="http://www.agamura.com">www.agamura.com</a>
----------------------------------------
_______________________________________________
Mono-list maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</a>


  </pre>
</blockquote>
</body>
</html>

--------------050305070108010708050607--