[Pkg-mono-devel] Installing Mono under Debian

jnsjkm jaanus.jaakma at apprise.ee
Thu Apr 19 06:45:30 UTC 2007


 Hello!
 
I'm running Debian-stable, apache2.2 and I installed mono and
libapache2-mod-mono, mod-mono-server2 from packages.
 
When I start Apache, these lines are added to error log:


[Wed Apr 18 16:48:57 2007] [notice] caught SIGTERM, shutting down
 
Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for System.Web.HttpRuntime
 
Server stack trace:
  at <0x00000> <unknown method>
  at Mono.WebServer.BaseApplicationHost.Unload () [0x00000]
  at (wrapper remoting-invoke-with-check)
Mono.WebServer.BaseApplicationHost:Unload ()
  at (wrapper xdomain-dispatch) Mono.WebServer.BaseApplicationHost:Unload
(object,byte[]&,byte[]&)
 
Exception rethrown at [0]:
 ---> System.Configuration.ConfigurationErrorsException: Unrecognized
configuration section <configSections> () (/etc/mono/2.0/machine.config line
6)
  at System.Configuration.ConfigInfo.ThrowException (System.String text,
System.Xml.XmlTextReader reader) [0x00000]
  at System.Configuration.SectionGroupInfo.ReadContent
(System.Xml.XmlTextReader reader, System.Configuration.Configuration config,
Boolean overrideAllowed,
Boolean root) [0x00000]
  at System.Configuration.SectionGroupInfo.ReadRootData
(System.Xml.XmlTextReader reader, System.Configuration.Configuration config,
Boolean overrideAllowed)
 [0x00000]
  at System.Configuration.Configuration.ReadConfigFile
(System.Xml.XmlTextReader reader, System.String fileName) [0x00000]
  at System.Configuration.Configuration.Load () [0x00000]
  at System.Configuration.Configuration.Init (IConfigSystem system,
System.String configPath, System.Configuration.Configuration parent)
[0x00000]
  at System.Configuration.Configuration..ctor
(System.Configuration.InternalConfigurationSystem system, System.String
locationSubPath) [0x00000]
  at System.Configuration.InternalConfigurationFactory.Create (System.Type
typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000]
  at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration
(System.String path, System.String site, System.String locationSubPath,
System.Str
ing server, System.String userName, System.String password) [0x00000]
  at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration
(System.String path) [0x00000]
  at System.Web.Configuration.WebConfigurationManager.GetSection
(System.String sectionName) [0x00000]
  at System.Web.QueueManager..ctor () [0x00000]
  at System.Web.HttpRuntime..cctor () [0x00000] --- End of inner exception
stack trace ---
 
  at (wrapper xdomain-invoke) Mono.WebServer.BaseApplicationHost:Unload ()
  at Mono.WebServer.VPathToHost.UnloadHost () [0x00000]
  at Mono.WebServer.ApplicationServer.UnloadAll () [0x00000]
  at Mono.WebServer.ApplicationServer.RealStop () [0x00000]
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
[Wed Apr 18 16:49:01 2007] [warn] RSA server certificate is a CA certificate
(BasicConstraints: CA == TRUE !?)
[Wed Apr 18 16:49:01 2007] [warn] RSA server certificate CommonName (CN)
`minaise' does NOT match server name!?
[Wed Apr 18 16:49:01 2007] [warn] RSA server certificate is a CA certificate
(BasicConstraints: CA == TRUE !?)
[Wed Apr 18 16:49:01 2007] [warn] RSA server certificate CommonName (CN)
`minaise' does NOT match server name!?
[Wed Apr 18 16:49:01 2007] [notice] Apache/2.2.3 (Debian) mod_mono/1.2.1
mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations

 
So, my question is if anybody has had this kind of situation before and what
to do to fix it?!
 
Thank you!
-- 
View this message in context: http://www.nabble.com/Installing-Mono-under-Debian-tf3605353.html#a10072712
Sent from the Debian Mono mailing list archive at Nabble.com.




More information about the Pkg-mono-devel mailing list