[Mono-list] Closer still

Kenneth Benson sdhmis@sheratondover.com
Thu, 4 Sep 2003 15:17:22 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C37319.2A76C7F0
Content-Type: text/plain;
	charset="iso-8859-1"

No problem. Glad to help.

-----Original Message-----
From: John (Doc) Soliday [mailto:jlsolida@gapac.com]
Sent: Thursday, September 04, 2003 3:14 PM
To: Kenneth Benson
Cc: mono-list@lists.ximian.com
Subject: RE: [Mono-list] Closer still


On Thu, 2003-09-04 at 14:34, Kenneth Benson wrote:
> It seems to be thinking that /usr/bin/mono should be a directory vice
> an executable.

Good catch.  I was overlooking that.  Getting even closer now...
root@tiger# cd /home/download/xsp-0.5/server
root@tiger# ln -s test mono
root@tiger# mono /usr/local/xsp/bin/mod-mono-server.exe
Listening on: /tmp/mod_mono_server
Root directory: /home/download/xsp-0.5/server
Virtual directory: /

Now when I hit (per INSTALL file for mod_mono)
http://127.0.0.1/mono/index.aspx, I get "Welcome to mono XSP!!", the
Ximian logo and "Here are some ASP.NET examples:", a horizontal bar and
"Generated: 09/04/2003 15:06:17"

Unfortunately, there aren't any examples.

BUT, as I said...making progress.

Thanks,

> 
> -----Original Message-----
> From: John (Doc) Soliday [mailto:jlsolida@gapac.com]
> Sent: Thursday, September 04, 2003 2:02 PM
> To: mono-list@lists.ximian.com
> Subject: [Mono-list] Closer still
> 
> 
> I've figured out where the first line in the stack trace is coming
> from
> (it's the directory where mono mod-mono-server.exe was called from). 
> I
> started in / and got '/mono' not found.  When I started in /usr/bin
> (the
> location of mono, I got '/usr/bin/mono' not found (SEE BELOW). 
> Obviously, the first time I ran this and got the error, my working
> directory when I started mono was '/etc/rc.d/init.d' (probably because
> I
> was considering modifying the httpd script to start mono prior to
> starting httpd.
> 
> Now if I can figure out why it said it can't find '/usr/bin/mono', I
> might make more progress.
> 
> root@tiger# which mono
> /usr/bin/mono
> root@tiger#
> 
> 
> Error in '/' Application
> Error
> Description: Error processing request. 
> 
> Error Message: 
> 
> Stack Trace: 
> 
> System.IO.DirectoryNotFoundException: Directory '/usr/bin/mono' not
> found.
> 
> in <0x0017d> 00 System.IO.StreamReader:.ctor
> (string,System.Text.Encoding,bool,int)
> 
> in <0x0001a> 00 System.IO.StreamReader:.ctor
> (string,System.Text.Encoding)
> 
> in <0x00078> 08 System.IO.StreamReader:.ctor
> (string,System.Text.Encoding)
> 
> in <0x0003e> 00 System.Web.Compilation.AspGenerator:InitParser
> (string)
> 
> in <0x00041> 00 System.Web.Compilation.AspGenerator:GetCompiledType ()
> 
> in <0x0003d> 00 System.Web.UI.PageParser:CompileIntoType ()
> 
> in <0x0007b> 00
> System.Web.UI.TemplateControlParser:GetCompiledInstance
> (string,string,System.Web.HttpContext)
> 
> in <0x0004c> 00 System.Web.UI.PageParser:GetCompiledPageInstance
> (string,string,System.Web.HttpContext)
> 
> in <0x00013> 00 System.Web.UI.PageHandlerFactory:GetHandler
> (System.Web.HttpContext,string,string,string)
> 
> in <0x001a9> 00 System.Web.HttpApplication:CreateHttpHandler
> (System.Web.HttpContext,string,string,string)
> 
> in <0x0011f> 00 .CreateHandlerState:Execute ()
> 
> in <0x0006f> 00 .StateMachine:ExecuteState
> (System.Web.HttpApplication/IStateHandler,bool&)
> -- 
> John (Doc) Soliday
> Commerce Services
> (404) 652-3343
> jlsolida@gapac.com
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-- 
John (Doc) Soliday
Commerce Services
(404) 652-3343
jlsolida@gapac.com


------_=_NextPart_001_01C37319.2A76C7F0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Mono-list] Closer still</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>No problem. Glad to help.</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: John (Doc) Soliday [<A =
HREF=3D"mailto:jlsolida@gapac.com">mailto:jlsolida@gapac.com</A>]</FONT>=

<BR><FONT SIZE=3D2>Sent: Thursday, September 04, 2003 3:14 PM</FONT>
<BR><FONT SIZE=3D2>To: Kenneth Benson</FONT>
<BR><FONT SIZE=3D2>Cc: mono-list@lists.ximian.com</FONT>
<BR><FONT SIZE=3D2>Subject: RE: [Mono-list] Closer still</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>On Thu, 2003-09-04 at 14:34, Kenneth Benson =
wrote:</FONT>
<BR><FONT SIZE=3D2>&gt; It seems to be thinking that /usr/bin/mono =
should be a directory vice</FONT>
<BR><FONT SIZE=3D2>&gt; an executable.</FONT>
</P>

<P><FONT SIZE=3D2>Good catch.&nbsp; I was overlooking that.&nbsp; =
Getting even closer now...</FONT>
<BR><FONT SIZE=3D2>root@tiger# cd /home/download/xsp-0.5/server</FONT>
<BR><FONT SIZE=3D2>root@tiger# ln -s test mono</FONT>
<BR><FONT SIZE=3D2>root@tiger# mono =
/usr/local/xsp/bin/mod-mono-server.exe</FONT>
<BR><FONT SIZE=3D2>Listening on: /tmp/mod_mono_server</FONT>
<BR><FONT SIZE=3D2>Root directory: /home/download/xsp-0.5/server</FONT>
<BR><FONT SIZE=3D2>Virtual directory: /</FONT>
</P>

<P><FONT SIZE=3D2>Now when I hit (per INSTALL file for mod_mono)</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://127.0.0.1/mono/index.aspx" =
TARGET=3D"_blank">http://127.0.0.1/mono/index.aspx</A>, I get =
&quot;Welcome to mono XSP!!&quot;, the</FONT>
<BR><FONT SIZE=3D2>Ximian logo and &quot;Here are some ASP.NET =
examples:&quot;, a horizontal bar and</FONT>
<BR><FONT SIZE=3D2>&quot;Generated: 09/04/2003 15:06:17&quot;</FONT>
</P>

<P><FONT SIZE=3D2>Unfortunately, there aren't any examples.</FONT>
</P>

<P><FONT SIZE=3D2>BUT, as I said...making progress.</FONT>
</P>

<P><FONT SIZE=3D2>Thanks,</FONT>
</P>

<P><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>&gt; From: John (Doc) Soliday [<A =
HREF=3D"mailto:jlsolida@gapac.com">mailto:jlsolida@gapac.com</A>]</FONT>=

<BR><FONT SIZE=3D2>&gt; Sent: Thursday, September 04, 2003 2:02 =
PM</FONT>
<BR><FONT SIZE=3D2>&gt; To: mono-list@lists.ximian.com</FONT>
<BR><FONT SIZE=3D2>&gt; Subject: [Mono-list] Closer still</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; I've figured out where the first line in the =
stack trace is coming</FONT>
<BR><FONT SIZE=3D2>&gt; from</FONT>
<BR><FONT SIZE=3D2>&gt; (it's the directory where mono =
mod-mono-server.exe was called from). </FONT>
<BR><FONT SIZE=3D2>&gt; I</FONT>
<BR><FONT SIZE=3D2>&gt; started in / and got '/mono' not found.&nbsp; =
When I started in /usr/bin</FONT>
<BR><FONT SIZE=3D2>&gt; (the</FONT>
<BR><FONT SIZE=3D2>&gt; location of mono, I got '/usr/bin/mono' not =
found (SEE BELOW). </FONT>
<BR><FONT SIZE=3D2>&gt; Obviously, the first time I ran this and got =
the error, my working</FONT>
<BR><FONT SIZE=3D2>&gt; directory when I started mono was =
'/etc/rc.d/init.d' (probably because</FONT>
<BR><FONT SIZE=3D2>&gt; I</FONT>
<BR><FONT SIZE=3D2>&gt; was considering modifying the httpd script to =
start mono prior to</FONT>
<BR><FONT SIZE=3D2>&gt; starting httpd.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Now if I can figure out why it said it can't =
find '/usr/bin/mono', I</FONT>
<BR><FONT SIZE=3D2>&gt; might make more progress.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; root@tiger# which mono</FONT>
<BR><FONT SIZE=3D2>&gt; /usr/bin/mono</FONT>
<BR><FONT SIZE=3D2>&gt; root@tiger#</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Error in '/' Application</FONT>
<BR><FONT SIZE=3D2>&gt; Error</FONT>
<BR><FONT SIZE=3D2>&gt; Description: Error processing request. </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Error Message: </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; Stack Trace: </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; System.IO.DirectoryNotFoundException: Directory =
'/usr/bin/mono' not</FONT>
<BR><FONT SIZE=3D2>&gt; found.</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x0017d&gt; 00 =
System.IO.StreamReader:.ctor</FONT>
<BR><FONT SIZE=3D2>&gt; (string,System.Text.Encoding,bool,int)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x0001a&gt; 00 =
System.IO.StreamReader:.ctor</FONT>
<BR><FONT SIZE=3D2>&gt; (string,System.Text.Encoding)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x00078&gt; 08 =
System.IO.StreamReader:.ctor</FONT>
<BR><FONT SIZE=3D2>&gt; (string,System.Text.Encoding)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x0003e&gt; 00 =
System.Web.Compilation.AspGenerator:InitParser</FONT>
<BR><FONT SIZE=3D2>&gt; (string)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x00041&gt; 00 =
System.Web.Compilation.AspGenerator:GetCompiledType ()</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x0003d&gt; 00 =
System.Web.UI.PageParser:CompileIntoType ()</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x0007b&gt; 00</FONT>
<BR><FONT SIZE=3D2>&gt; =
System.Web.UI.TemplateControlParser:GetCompiledInstance</FONT>
<BR><FONT SIZE=3D2>&gt; (string,string,System.Web.HttpContext)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x0004c&gt; 00 =
System.Web.UI.PageParser:GetCompiledPageInstance</FONT>
<BR><FONT SIZE=3D2>&gt; (string,string,System.Web.HttpContext)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x00013&gt; 00 =
System.Web.UI.PageHandlerFactory:GetHandler</FONT>
<BR><FONT SIZE=3D2>&gt; =
(System.Web.HttpContext,string,string,string)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x001a9&gt; 00 =
System.Web.HttpApplication:CreateHttpHandler</FONT>
<BR><FONT SIZE=3D2>&gt; =
(System.Web.HttpContext,string,string,string)</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x0011f&gt; 00 =
.CreateHandlerState:Execute ()</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; in &lt;0x0006f&gt; 00 =
.StateMachine:ExecuteState</FONT>
<BR><FONT SIZE=3D2>&gt; =
(System.Web.HttpApplication/IStateHandler,bool&amp;)</FONT>
<BR><FONT SIZE=3D2>&gt; -- </FONT>
<BR><FONT SIZE=3D2>&gt; John (Doc) Soliday</FONT>
<BR><FONT SIZE=3D2>&gt; Commerce Services</FONT>
<BR><FONT SIZE=3D2>&gt; (404) 652-3343</FONT>
<BR><FONT SIZE=3D2>&gt; jlsolida@gapac.com</FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; </FONT>
<BR><FONT SIZE=3D2>&gt; =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>&gt; Mono-list maillist&nbsp; -&nbsp; =
Mono-list@lists.ximian.com</FONT>
<BR><FONT SIZE=3D2>&gt; <A =
HREF=3D"http://lists.ximian.com/mailman/listinfo/mono-list" =
TARGET=3D"_blank">http://lists.ximian.com/mailman/listinfo/mono-list</A>=
</FONT>
<BR><FONT SIZE=3D2>-- </FONT>
<BR><FONT SIZE=3D2>John (Doc) Soliday</FONT>
<BR><FONT SIZE=3D2>Commerce Services</FONT>
<BR><FONT SIZE=3D2>(404) 652-3343</FONT>
<BR><FONT SIZE=3D2>jlsolida@gapac.com</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C37319.2A76C7F0--