503 error

db <[email protected]>
Newsgroups gmane.comp.gnome.mono.general
Message-ID <[email protected]>
Hi,

I am a completely new to linux, servers, and mono. I have been thrust into
the position at work to try to get a site written in asp to work on one of
our servers and it is not going as well as I would have liked. After several
days and several attempts and several online guides, I have gotten mono,
mod_mono, httpd, and xsp installed. I can now load an html page, but I get a
503 error when I try to load an aspx page. if I type mono --version I get :

Mono JIT compiler version 4.3.0 (master/9b4901b Tue Jun 30 09:00:36 EDT
2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
        TLS:           __thread
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  amd64
        Disabled:      none
        Misc:          softdebug
        LLVM:          supported, not enabled.
        GC:            sgen
when I type xsp --version I get:

WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid
IL code in System.Configuration.ConfigurationManager:get_AppSettings ():
IL_0000: ret


  at Mono.WebServer.Options.Settings.Setting`1[T]..ctor (System.String name,
Mono.WebServer.Options.Settings.Parser`1 parser, System.String description,
System.String appSetting, System.String environment, UInt16 defaultValue,
System.String prototype) <0x40c6e360 + 0x0037f> in <filename unknown>:0
  at Mono.WebServer.Options.Settings.UInt16Setting..ctor (System.String
name, System.String description, System.String appSetting, System.String
environment, UInt16 defaultValue, System.String prototype) <0x40c6e290 +
0x000bf> in <filename unknown>:0
  at Mono.WebServer.XSP.ConfigurationManager..ctor (System.String name,
Boolean quietDefault) <0x40c6ca20 + 0x00537> in <filename unknown>:0
  at Mono.WebServer.XSP.Server.DebugMain (System.String[] args, Boolean
root, IApplicationHost ext_apphost, Boolean quiet) <0x40c6b6c0 + 0x000af> in
<filename unknown>:0
  at Mono.WebServer.XSP.Server.DebugMain (System.String[] args) <0x40c6b190
+ 0x00113> in <filename unknown>:0
  at Mono.WebServer.XSP.Server.Main (System.String[] args) <0x40c6ad50 +
0x0002b> in <filename unknown>:0

and finally, here is what is in my httpd log:

 at Mono.WebServer.Options.Settings.Setting`1[T]..ctor (System.String name,
Mono.WebServer.Options.Settings.Parser`1 parser, System.String description,
System.String app$
  at Mono.WebServer.Options.Settings.NullableSetting`1[T]..ctor
(System.String name, Mono.WebServer.Options.Settings.Parser`1 parser,
System.String description, System.St$
  at Mono.WebServer.Options.Settings.NullableUInt16Setting..ctor
(System.String name, System.String description, System.String appSetting,
System.String environment, Null$
  at Mono.WebServer.Apache.ConfigurationManager..ctor (System.String name,
Boolean quietDefault, System.String rootDefault) <0x41026260 + 0x00383> in
<filename unknown>:0
  at Mono.WebServer.Apache.Server.RealMain (System.String[] args, Boolean
root, IApplicationHost ext_apphost, Boolean v_quiet) <0x410253e0 + 0x00103>
in <filename unknown$
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.Apache.Server:RealMain
(string[],bool,Mono.WebServer.IApplicationHost,bool)
  at Mono.WebServer.Apache.Server.Main (System.String[] args) &lt;0x41024d70
+ 0x000df> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid
IL code in System.Configuration.ConfigurationManager:get_AppSettings ():
IL_0000: ret


  at Mono.WebServer.Options.Settings.Setting`1[T]..ctor (System.String name,
Mono.WebServer.Options.Settings.Parser`1 parser, System.String description,
System.String app$
  at Mono.WebServer.Options.Settings.NullableSetting`1[T]..ctor
(System.String name, Mono.WebServer.Options.Settings.Parser`1 parser,
System.String description, System.St$
  at Mono.WebServer.Options.Settings.NullableUInt16Setting..ctor
(System.String name, System.String description, System.String appSetting,
System.String environment, Null$
  at Mono.WebServer.Apache.ConfigurationManager..ctor (System.String name,
Boolean quietDefault, System.String rootDefault) <0x4061a260 + 0x00383> in
<filename unknown>:0
  at Mono.WebServer.Apache.Server.RealMain (System.String[] args, Boolean
root, IApplicationHost ext_apphost, Boolean v_quiet) <0x406193e0 + 0x00103>
in <filename unknown$
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.Apache.Server:RealMain
(string[],bool,Mono.WebServer.IApplicationHost,bool)
  at Mono.WebServer.Apache.Server.Main (System.String[] args) &lt;0x40618d70
+ 0x000df> in <filename unknown>:0
[Wed Jul 01 14:44:22.719315 2015] [:error] [pid 895] Failed to connect to
mod-mono-server after several attempts to spawn the process.

I have seen several sites they say that I need to define my monoserverpath,
but I don't know how to do that as the mod_mono.conf that they show looks
nothing like mine which looks like a bunch of file extensions.

I would appreciate any help that anyone can offer as I am pulling out my
hair right now.




--
View this message in context: http://mono.1490590.n4.nabble.com/503-error-tp4666267.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.