首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Opensuse 42.1: xsp &快速单服务器问题

Opensuse 42.1: xsp &快速单服务器问题
EN

Server Fault用户
提问于 2016-06-03 00:12:49
回答 1查看 138关注 0票数 0

我最近将opensuse机器从12.2升级到Leap 42.1 (x86_64)。基本上进展得很顺利。但是,我通过yast (KDE)安装了mono和xsp,我发现xsp和4都不太好。

如果我向这些模块(mono、xsp和mono-server4 4)询问它们的版本号,我将得到以下内容:-

代码语言:javascript
复制
 #mono -V
    Mono JIT compiler version 4.0.4 (Stable 4.0.4.1/5ab4c0d Sun Oct 25 12:51:49 UTC 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

    #xsp -V
Exception caught during reading the configuration file:
System.InvalidProgramException: Invalid IL code in System.Configuration.ConfigurationManager:get_AppSettings (): IL_0000: ret       


  at Mono.WebServer.XSP.Server.get_AppSettings () [0x00000] in <filename unknown>:0 
  at Mono.WebServer.XSP.Server+ApplicationSettings..ctor () [0x00000] in <filename unknown>:0 
XSP server is a sample server that hosts the ASP.NET runtime in a
minimalistic HTTP server

    #fastcgi-mono-server --version
    Unhandled Exception:
    System.InvalidProgramException: Invalid IL code in System.Xml.XmlDocument:GetElementsByTagName (string): IL_0000: ret       


      at Mono.WebServer.ConfigurationManager.ImportSettings (System.Xml.XmlDocument doc, System.Collections.Specialized.NameValueCollection collection, Boolean allowDuplicates, Boolean insertEmptyValue) [0x00000] in <filename unknown>:0 
      at Mono.WebServer.ConfigurationManager..ctor (System.Reflection.Assembly asm, System.String resource) [0x00000] in <filename unknown>:0 
      at Mono.WebServer.FastCgi.Server.Main (System.String[] args) [0x00000] in <filename unknown>:0 
    [ERROR] FATAL UNHANDLED EXCEPTION: System.InvalidProgramException: Invalid IL code in System.Xml.XmlDocument:GetElementsByTagName (string): IL_0000: ret       


      at Mono.WebServer.ConfigurationManager.ImportSettings (System.Xml.XmlDocument doc, System.Collections.Specialized.NameValueCollection collection, Boolean allowDuplicates, Boolean insertEmptyValue) [0x00000] in <filename unknown>:0 
      at Mono.WebServer.ConfigurationManager..ctor (System.Reflection.Assembly asm, System.String resource) [0x00000] in <filename unknown>:0 
      at Mono.WebServer.FastCgi.Server.Main (System.String[] args) [0x00000] in <filename unknown>:0

我注意到是amd64,在这里我期待着x86_64。

当然,xsp和complain mono 4都抱怨未处理的异常。

有人知道我能做些什么来解决这个问题吗?

提前感谢

彼得

EN

回答 1

Server Fault用户

发布于 2016-06-03 07:22:39

我重新讨论了这个问题。

我通过yast & zypper安装了xsp几次,没有改进。最后,我尝试直接从

https://software.opensuse.org/package/xsp

这使得我的标准变得不同了--快速the mono 4不再抱怨未处理的异常。然而,xsp仍然这样做。但考虑到我并不真的想要xsp,我并不担心。

我的nginx <>快速单服务器4 <> asp.net web服务器正在工作!

现在用它做些聪明的事..。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/780669

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档