[Mono-list] Closer still
John (Doc) Soliday
jlsolida@gapac.com
04 Sep 2003 15:13:34 -0400
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