[楼主] Jexus V5.5.3 使用问答 问:怎么安装或升级? 答: A,关于安装: cd /tmp sudo rm jexus-5.5* wget http://www.linuxdot.net/down/jexus-5.5.3.tar.gz tar -zxvf jexus-5.5.3.tar.gz cd jexus-5.5.3 sudo ./install B,关于升级: cd /tmp sudo /usr/jexus/jws stop sudo rm jexus-5.5* wget http://www.linuxdot.net/down/jexus-5.5.3.tar.gz tar -zxvf jexus-5.5.3.tar.gz cd jexus-5.5.3 sudo ./upgrade 问:怎么启动、停止、重启? 答: 启动:sudo /usr/jexus/jws start 停止:sudo /usr/jexus/jws stop 重启:sudo /usr/jexus/jws restart 重启指定网站:sudo /usr/jexus/jws restart siteName 停止指定网站:sudo /usr/jexus/jws stop siteName 问:怎么创建一个网站? 答: 首先得建“网站配置文件”,在/usr/jexus/siteconf中的每一个文件都是一个网站的配置文件,每一个配置文件就代表一个网站。 安装jexus后,在/usr/jexus/siteocnf中,就已经有一个默认的网站配置文件,文件名叫“default”。 你可以修改这个配置文件,也可以将这个配置文件复制并修改为一个新站。 配置文件中,有关键的三项是必填项: port:端口号定义 root:虚拟根路径和物理根路径的定义 hosts:域名定义 端口号(port)是一个整数,一般是80,也可以是65535以下的其它整数,但这个端口号必须没有其它服务程序占用。 根路径(root)由两部分组成,中间用空格分开。空格前表示这个网站访问时的虚拟根路径(一般都是“/”),空格后是存放这个网站内容的文件夹的物理路径(比如“/var/www/default”)。 域名(hosts),填写访问这个网站的域名,如果有多个域名,域名间就英文逗号分开,同时还可以用“泛域名”,比如“*.mysite.com”。 网站名:jexus把网站配置文件的名称,作为网站名。 ** 强调,网站配置文件名,不能有空格,第一个字符不能是“~”。 问:我新建了网站配置或修改了网站配置,如何上它生效? 答: 用 sudo /usr/jexus/jws restart,即可生效。 当然,更可以用 sudo /usr/jexus/jws restart siteName格式,指定需重启的网站。
作者:yunei 发布时间:13年10月19日 可选操作: 删除 回复
[1楼] 回复:Jexus V5.5 使用问答 作者:一两纹银 发布时间:13年11月05日 可选操作: 删除 回复
[2楼] 回复:Jexus V5.5 使用问答 问一下 出现了 ./jws gacutil:command not found 是怎么回事呢? 作者:test 发布时间:14年01月03日 可选操作: 删除 回复
[3楼] 回复:Jexus V5.5 使用问答 要么是没有成功安装mono,要么是把mono安装到了操作系统不能直接找到的路径上了。 作者:匿名 发布时间:14年01月04日 可选操作: 删除 回复
[4楼] 回复:Jexus V5.5 使用问答 作者:test 发布时间:14年01月09日 可选操作: 删除 回复
[5楼] 回复:Jexus V5.5 使用问答 how to disable http://服務器IP地址/info ? 作者:jade 发布时间:14年02月07日 可选操作: 删除 回复
[6楼] 回复:Jexus V5.5 使用问答 在网站配置文件中,加一句: rewrite=^/info$ /404.htm 然后,在网站根文件夹中,放一个404.htm或者你自己的欢迎页就行了。 作者:yunei 发布时间:14年02月10日 可选操作: 删除 回复
[7楼] 回复:Jexus V5.5 使用问答 作者:jinhu 发布时间:14年03月11日 可选操作: 删除 回复
[8楼] 回复:Jexus V5.5 使用问答 请问一下,ASP的一切图片资源无法调用这是哪里的问题呢? 作者:jinhu 发布时间:14年03月11日 可选操作: 删除 回复
[9楼] 回复:Jexus V5.5.1 使用问答 作者:匿名 发布时间:14年04月02日 可选操作: 删除 回复
[10楼] 回复:Jexus V5.5.1 使用问答 Centos 6.3的系统 安装的mono是最新版3.4 jexus用的是5.4的版本。安装完成后启动jexus时报如下错误: System.Exception: Create work process error Create httpd process failed 作者:王超 发布时间:14年04月13日 可选操作: 删除 回复
[11楼] 回复:Jexus V5.5.1 使用问答 作者:赵 发布时间:14年04月29日 可选操作: 删除 回复
[12楼] 回复:Jexus V5.5.1 使用问答 作者:yunei 发布时间:14年04月29日 可选操作: 删除 回复
[13楼] 回复:Jexus V5.5.1 使用问答 ./jws start Starting ... Failure 这是什么原因?? 作者:xbd 发布时间:14年05月16日 可选操作: 删除 回复
[14楼] 回复:Jexus V5.5.1 使用问答 出现这种情况的原因可能会复杂一些,你可以看看日志。或者加入QQ群102732979,与群友共同探讨。 作者:yunei 发布时间:14年05月18日 可选操作: 删除 回复
[15楼] 回复:Jexus V5.5.1 使用问答 [root@localhost jexus]# sudo /usr/jexus/jws start Starting ... /usr/jexus/jws: 行 25: 44790 用户定义信号 1 mono ${JWS_HOME}/jws.exe > /dev/null 2>&1 Failure 我用的是5.6,请问这是什么错误?
作者:王怀亮 发布时间:14年07月10日 可选操作: 删除 回复
[16楼] 回复:Jexus V5.5.3 使用问答 楼上的这个异常,是mono没有安装正常造成的。如果用覆盖方式安装,新版并没有编译完成,make install后,.net核心库就会产生版本冲突。 作者:yunei 发布时间:14年08月28日 可选操作: 删除 回复
[17楼] 回复:Jexus V5.5.3 使用问答 我在CentOS6.5上使用Jexus5.6.1部署了一个.net网站,在CentOS上使用火狐浏览器可以正常访问网站,但是在windows系统上则无法打开该网站,提示“无法显示此页”,这有可能是什么问题? 作者:zhp 发布时间:14年08月28日 可选操作: 删除 回复
[18楼] 回复:Jexus V5.5.3 使用问答 作者:yunei 发布时间:14年08月28日 可选操作: 删除 回复
[19楼] 回复:Jexus V5.5.3 使用问答 两种可能性: 1、如果能打开网页的这台CentOS就是你服务器本身,那么就是CentOS防火墙阻止了外来的访问。 2、如果能访问的CentOS不是你服务器,同时,你网站用的端口不是80,那么,就是windows上IE地址栏你忘了把 “http://” 写上。
作者:yunei 发布时间:14年08月28日 可选操作: 删除 回复
[20楼] Jexus 安装问题,无法启动!!!! [root@localhost ~]# sudo /usr/jexus/jws start Starting ... Failure [root@localhost ~]# mono -V Mono JIT compiler version 3.10.1 (tarball 2014年 10月 25日 星期六 13:09:28 CST) 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 [root@localhost ~]# [root@localhost jexus-5.6.2]# ls data install readme.cn.txt readme.en.txt release_notes.txt tools upgrade [root@localhost jexus-5.6.2]# ./install ./jws:行116: gacutil: 未找到命令 ./jws:行117: gacutil: 未找到命令 ./jws:行123: gacutil: 未找到命令 ./jws:行124: gacutil: 未找到命令 OK, Jexus web server has been installed to '/usr/jexus'. [root@localhost jexus-5.6.2]# [root@localhost jexus-5.6.2]# 请问这是什么情况?? mono 已经安装成功了!! 新版 mono 是通过 aotogen.sh 安装的;同样指定了 --prefix=/usr --libdir=/usr/lib64
有什么问题吗?折腾半天了,求助!!! 作者:lambda 发布时间:14年10月25日 可选操作: 删除 回复
[21楼] 回复:Jexus V5.5.3 使用问答 这个现象,应该是mono编译过程中出了错,有一部分内内容没有编译完成,所以部分命令找不到。 你可以搜索一下,看看有没有: sudo find / -name 'gacutil'
作者:yunei 发布时间:14年10月25日 可选操作: 删除 回复
[22楼] 回复:Jexus V5.5.3 使用问答 作者:阿斯顿飞大厦范德萨发大水 发布时间:14年11月13日 可选操作: 删除 回复
[23楼] 回复:Jexus V5.5.3 使用问答 当然可以,定义404,就是按ASP.NET的办法。 作者:yunei 发布时间:14年11月13日 可选操作: 删除 回复
[24楼] ./jws:行116: gacutil: 未找到命令的错误 同20楼一样遇到 ./jws:行116: gacutil: 未找到命令的错误 sudo find / -name 'gacutil'是可以找到这个命令的 [mono-20141213225321][root@tk2-213-16156 jexus-5.6.3]# find / -name 'gacutil' /opt/mono-20141213225321/bin/gacutil 安装的是最新的mono版本: [mono-20141213225321][root@tk2-213-16156 jexus-5.6.3]# mono --version Mono JIT compiler version 3.99.0 (tarball Sun Dec 14 01:03:42 EST 2014) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-proj ect.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: softdebug LLVM: supported, not enabled. GC: sgen
作者:Jerry 发布时间:14年12月15日 可选操作: 删除 回复
[25楼] 回复:Jexus V5.5.3 使用问答 /opt/mono-2014121322532/bin 这个文件夹根本就不是在linux默认的PATH路由上的,所以,找不到文件是必然的!我们一直在强调要把 mono安装在/usr中,或者/usr/lolcal中,但总是有人把mono安装到一个怪怪的路径上与操作系统作“躲猫猫”。 作者:yunei 发布时间:14年12月15日 可选操作: 删除 回复
[26楼] 回复:Jexus V5.5.3 使用问答 回复好快。。 我刚刚把PATH手工加上去了,然后安装这一步没问题了。 [root@tk2-213-16156 jexus-5.6.3]# ./install Installed /usr/jexus/jxAspx2.dll into the gac (/opt/mono-20141213225321/lib/mono /gac) Installed /usr/jexus/jxAspx.dll into the gac (/opt/mono-20141213225321/lib/mono/ gac) Installed /usr/jexus/jxHost2.dll into the gac (/opt/mono-20141213225321/lib/mono /gac) Installed /usr/jexus/jxHost.dll into the gac (/opt/mono-20141213225321/lib/mono/ gac) OK, Jexus web server has been installed to '/usr/jexus'. [root@tk2-213-16156 jexus-5.6.3]# sudo ./jws start sudo: ./jws: command not found [root@tk2-213-16156 jexus-5.6.3]# /usr/jexus/jws start Starting ... OK 这样是否就说明组建注册成功了呢? 但安装完成后 我通过 http://ip/info 无法访问网站 感觉80端口没有侦听的样子。 所以请教下mono是不是必须要装在/usr 或/usr/local中,如果不是那我再看看其他地方是不是我设置有误,如果是,我就重装=。= 作者:Jerry 发布时间:14年12月15日 可选操作: 删除 回复
[27楼] 回复:Jexus V5.5.3 使用问答 结贴,原因是我的防火墙没开80端口(/ □ \)。 现在搞定了,多谢。 作者:Jerry 发布时间:14年12月15日 可选操作: 删除 回复
[28楼] session文件的权限问题 我的服务器里jexus要与一个nginx服务器共存,但是jexus使用的是php-cgi,nginx使用的是php-fpm,但是jexus生成的session文件是root用户的并且只允许自己读写,而nginx使用的daemon用户就不能读写这些session文件了,这样会导致错误,请问如何解决。 作者:阿斯顿飞大厦范德萨发大水 发布时间:15年01月30日 可选操作: 删除 回复
[29楼] 回复:Jexus V5.5.3 使用问答 作者:yunei 发布时间:15年01月30日 可选操作: 删除 回复
[30楼] 回复:Jexus V5.5.3 使用问答 感谢回复!那么jexus是否有能够限制用户http上传带宽的方法呢 作者:阿斯顿飞大厦范德萨发大水 发布时间:15年02月02日 可选操作: 删除 回复
[31楼] 回复:Jexus V5.5.3 使用问答 我们的统计系统是.net,想改用linux服务器,不知道jexus并发数有多高???? 作者:郭 发布时间:15年04月03日 可选操作: 删除 回复
[32楼] 回复:Jexus V5.5.3 使用问答 Jexus的并发连接数,设计规格限定在每工作进程1万并发。 作者:yunei 发布时间:15年04月06日 可选操作: 删除 回复
[33楼] 回复:Jexus V5.5.3 使用问答 我是把一个IIS上的网站复制到Linux上去了,配置好之后发现一般的aspx页面都能进行正常的访问,但是ashx页面访问报错,显示(Type XmspManager.AjaxData.DeleteGiveFile not found.)提示到了别的系统里面的文件找不到,但在IIS里面访问一切正常。 作者:XRD 发布时间:15年06月18日 可选操作: 删除 回复
[34楼] 回复:Jexus V5.5.3 使用问答 说明 XmspManager.AjaxData.DeleteGiveFile 这个对象所依赖的程序集没有包括在 bin文件夹中,或者这个类有部分代码不能跨平台,如果你有源码,可以查查倒底是怎么回事。 作者:yunei 发布时间:15年06月21日 可选操作: 删除 回复
[35楼] Jexus V5.5.3 如何配置网站 /var/www/default/ 放了几个htm页面 http://192.168.0.100/menu.htm 这样访问不了 http://192.168.0.100/info是正常的,请问是什么原因呢 作者:jack 发布时间:15年07月08日 可选操作: 删除 回复
[36楼] 回复:Jexus V5.5.3 使用问答 Application Exception System.Web.Compilation.ParseException Cannot find type _Default, App_Web_jfxq7jfxDescription: Error parsing a resource required to service this request. Review your source file and modify it to fix this error. Details: Cannot find type _Default, App_Web_jfxq7jfx Error origin: Parser Error source file: /var/www/t1/Default.aspx Exception stack trace: at System.Web.UI.BaseParser.ThrowParseException (System.String message, System.Object[] parms) [0x00000] in <filename unknown>:0 at System.Web.UI.TemplateParser.SetBaseType (System.String type) [0x00000] in <filename unknown>:0 at System.Web.UI.TemplateParser.ProcessMainAttributes (IDictionary atts) [0x00000] in <filename unknown>:0 at System.Web.UI.TemplateControlParser.ProcessMainAttributes (IDictionary atts) [0x00000] in <filename unknown>:0 at System.Web.UI.PageParser.ProcessMainAttributes (IDictionary atts) [0x00000] in <filename unknown>:0 at System.Web.UI.TemplateParser.AddDirective (System.String directive, IDictionary atts) [0x00000] in <filename unknown>:0 at System.Web.UI.TemplateControlParser.AddDirective (System.String directive, IDictionary atts) [0x00000] in <filename unknown>:0 at System.Web.UI.PageParser.AddDirective (System.String directive, IDictionary atts) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AspGenerator.GetInheritedType (System.String fileContents, System.String filename) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AspGenerator.GetRootBuilderType (System.IO.Stream inputStream, System.String filename) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AspGenerator.CreateRootBuilder (System.IO.Stream inputStream, System.String filename) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AspGenerator.InitParser (System.IO.TextReader reader, System.String filename) [0x00000] in <filename unknown>:0 at System.Web.Compilation.AspGenerator.Parse (System.IO.TextReader reader, System.String filename, Boolean doInitParser) [0x00000] in <filename unknown>:0 at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].Parse () [0x00000] in <filename unknown>:0 at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].GenerateCode () [0x00000] in <filename unknown>:0 at System.Web.Compilation.GenericBuildProvider`1[System.Web.UI.TemplateParser].GenerateCode (System.Web.Compilation.AssemblyBuilder assemblyBuilder) [0x00000] in <filename unknown>:0 at System.Web.Compilation.BuildManager.GenerateAssembly (System.Web.Compilation.AssemblyBuilder abuilder, System.Web.Compilation.BuildProviderGroup group, System.Web.VirtualPath vp, Boolean debug) [0x00000] in <filename unknown>:0 Error source context: Error lines: 1, 1 1: <%@ page language="C#" autoeventwireup="true" inherits="_Default, App_Web_jfxq7jfx" %> 2: 3: <!DOCTYPE html> Version Information: 3.10.0 (tarball 2015年 08月 06日 星期四 13:22:17 CST); ASP.NET Version: 4.0.30319.17020 Powered by Mono 这个错误怎么解决? 作者:wangying 发布时间:15年08月08日 可选操作: 删除 回复
[37楼] 回复:Jexus V5.5.3 使用问答 Exception caught. System.Configuration.ConfigurationErrorsException: No factory for host (/sata/www/orchard/Web.config line 6) Server stack trace: at System.Configuration.ConfigInfo.ThrowException (System.String text, System.Xml.XmlReader reader) [0x00000] in :0 at System.Configuration.SectionGroupInfo.ReadRemoveSection (System.Xml.XmlReader reader) [0x00000] in :0 at System.Configuration.SectionGroupInfo.ReadConfig (System.Configuration.Configuration cfg, System.String streamName, System.Xml.XmlReader reader) [0x00000] in :0 at System.Configuration.SectionGroupInfo.ReadConfig (System.Configuration.Configuration cfg, System.String streamName, System.Xml.XmlReader reader) [0x00000] in :0 at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in :0 at System.Configuration.Configuration.Load () [0x00000] in :0 at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00000] in :0 at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00000] in :0 at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in :0 at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration (System.String path, System.String site, System.String locationSubPath, System.String server, System.String userName, System.String password, Boolean fweb) [0x00000] in :0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path, System.Web.HttpContext context) [0x00000] in :0 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path) [0x00000] in :0 at System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection (System.String sectionName) [0x00000] in :0 at System.Web.Hosting.ApplicationHost.SetHostingEnvironment () [0x00000] in :0 at System.AppDomain.DoCallBack (System.CrossAppDomainDelegate callBackDelegate) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at (wrapper xdomain-dispatch) System.AppDomain:DoCallBack (object,byte[]&,byte[]&) Exception rethrown at [0]: at (wrapper xdomain-invoke) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) [0x00000] in :0 at jxAspx.Aspx.A (System.String name, System.String vPath, System.String pPath, IAspxRequestBroker requestBroker) [0x00000] in :0 at jxAspx.Aspx.CreateAspxEngine (System.String siteName, System.String vPath, System.String pPath, IAspxRequestBroker broker) [0x00000] in :0 at a.b.A (a.l A) [0x00000] in :0 作者:匿名 发布时间:15年08月12日 可选操作: 删除 回复
[38楼] 回复:Jexus V5.5.3 使用问答 异常的提示说得很清楚嘛:web.config第6行有错。 作者:匿名 发布时间:15年08月13日 可选操作: 删除 回复
[39楼] 回复:Jexus V5.5.3 使用问答 作者:web 发布时间:15年09月17日 可选操作: 删除 回复
[40楼] 回复:Jexus V5.5.3 使用问答 使用默认配置文件就出现这个。 System.Data.SqlClient.SqlException Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Description: HTTP 500.Error processing request. Details: Non-web exception. Exception origin (name of application or object): .Net SqlClient Data Provider. Exception stack trace: 作者:yinzhen 发布时间:15年09月21日 可选操作: 删除 回复
[41楼] 回复:Jexus V5.5.3 使用问答 这个问题是MySQL操作超时,与mono没有关系,应该从网络、防火墙或者查询代码、MySQL.data.dll版本号(是否支持mono)等方面进行分析。 作者:匿名 发布时间:15年09月26日 可选操作: 删除 回复
[42楼] 回复:Jexus V5.5.3 使用问答 System.IO.DirectoryNotFoundException Directory 'bin' not found. Description: HTTP 500.Error processing request. Details: Non-web exception. Exception origin (name of application or object): mscorlib. Exception stack trace: at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0 at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0 at Nancy.Bootstrapper.AppDomainAssemblyTypeScanner.LoadAssembliesWithNancyReferences () [0x00000] in <filename unknown>:0 at Nancy.Bootstrapper.AppDomainAssemblyTypeScanner..cctor () [0x00000] in <filename unknown>:0 出现这个问题要怎么解决 作者:钟泽鹏 发布时间:15年10月17日 可选操作: 删除 回复
[43楼] 回复:Jexus V5.5.3 使用问答 你这个问题是找不到bin文件夹,异常提示已经给你说得很清楚了。 出现这个问题的可能性有二:一是的确没有bin文件夹,二是网站的实现路径与你网站配置文件指定的路径不同。 作者:yunei 发布时间:15年10月18日 可选操作: 删除 回复
[44楼] 回复:Jexus V5.5.3 使用问答 System.Web.Compilation.CompilationException CS0006: Metadata file `/tmp/root-temp-aspnet-0/fa9b0eee/App_global.asax_62b6d534.dll' could not be found 伟大英明的楼主,我这个jexus在启动之后可以正常使用,但是在使用一段时间之后就会出现如上报错,linux下清理/tmp的脚本我已经去掉,但是还是会出现这个情况,请问是否是jexus的原因呢? 作者:langsile01 发布时间:15年10月27日 可选操作: 删除 回复
[45楼] 回复:Jexus V5.5.3 使用问答 作者:yunei 发布时间:15年11月01日 可选操作: 删除 回复
[46楼] 回复:Jexus V5.5.3 使用问答 安装和重新启动全部成功,可以访问html静态页面,访问ashx页面什么也不返回。状态还是200 作者:zhuoyue 发布时间:15年11月10日 可选操作: 删除 回复
[47楼] 回复:Jexus V5.5.3 使用问答 jexus启动不成功,提示 Starting... Failure 打开日志发现 11-15 22:29:28: ### DEBUG ########################## System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' at A.F.A (System.String[] A) [0x00000] in <filename unknown>:0 但是自己写一个Mono的HelloWorld编译为.Net 4.0,放上去运行是好的 求指导按什么方法解决 作者:dong_g 发布时间:15年11月15日 可选操作: 删除 回复
[48楼] 回复:Jexus V5.5.3 使用问答 你把mono安装到哪个文件夹的?建议加入QQ群103810355获取更多的支持。 作者:yunei 发布时间:15年11月17日 可选操作: 删除 回复
[49楼] 回复:Jexus V5.5.3 使用问答 Exception caught. System.Runtime.Serialization.SerializationException: Cannot get the member 'SetHostingEnvironment'. Server stack trace: at System.Reflection.MemberInfoSerializationHolder.GetRealObject (StreamingContext context) <0x41785ae0 + 0x00df7> in :0 at System.Runtime.Serialization.ObjectManager.ResolveObjectReference (System.Runtime.Serialization.ObjectHolder holder) <0x41785740 + 0x00156> in :0 at System.Runtime.Serialization.ObjectManager.DoFixups () <0x41776740 + 0x00153> in :0 at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize (System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Runtime.Serialization.Formatters.Binary.__BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) <0x4175fd20 + 0x000ef> in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) <0x4175e970 + 0x001c4> in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage) <0x4175e920 + 0x00035> in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, Boolean fCheck) <0x4175e8e0 + 0x0002b> in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) <0x4175e8a0 + 0x00023> in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) <0x4175e870 + 0x0001b> in :0 at System.Runtime.Remoting.RemotingServices.DeserializeCallData (System.Byte[] array) <0x417833c0 + 0x0007d> in :0 at (wrapper xdomain-dispatch) System.AppDomain:DoCallBack (object,byte[]&,byte[]&) Exception rethrown at [0]: at (wrapper xdomain-invoke) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) <0x41e8aa10 + 0x00b5b> in :0 at jxAspx.Aspx.A (System.String name, System.String vPath, System.String pPath, IAspxRequestBroker requestBroker) <0x41e89890 + 0x00157> in :0 at jxAspx.Aspx.CreateAspxEngine (System.String siteName, System.String vPath, System.String pPath, IAspxRequestBroker broker) <0x41e896d0 + 0x0001b> in :0 作者:Bevis 发布时间:15年11月24日 可选操作: 删除 回复
[50楼] 回复:Jexus V5.5.3 使用问答 Exception caught. System.TypeLoadException: Could not load type 'System.Web.Configuration.WebConfigurationManager' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Server stack trace: at System.Web.Hosting.ApplicationHost.SetHostingEnvironment () <0x41b6fce0 + 0x00033> in :0 at System.AppDomain.DoCallBack (System.CrossAppDomainDelegate callBackDelegate) <0x41b6fcc0 + 0x00016> in :0 at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at (wrapper xdomain-dispatch) System.AppDomain:DoCallBack (object,byte[]&,byte[]&) Exception rethrown at [0]: at (wrapper xdomain-invoke) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) <0x41e8aa10 + 0x00b5b> in :0 at jxAspx.Aspx.A (System.String name, System.String vPath, System.String pPath, IAspxRequestBroker requestBroker) <0x41e89890 + 0x00157> in :0 at jxAspx.Aspx.CreateAspxEngine (System.String siteName, System.String vPath, System.String pPath, IAspxRequestBroker broker) <0x41e896d0 + 0x0001b> in :0 at a.b.A (a.l A) <0x7f45e849b100 + 0x0011c> in :0 发布MVC的默认模板,这个错误是什么原因 作者:匿名 发布时间:15年11月24日 可选操作: 删除 回复
[51楼] 回复:Jexus V5.5.3 使用问答 Exception caught. System.TypeLoadException: Could not load type 'System.Web.Configuration.WebConfigurationManager' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Server stack trace: at System.Web.Hosting.ApplicationHost.SetHostingEnvironment () <0x42004ce0 + 0x00033> in :0 at System.AppDomain.DoCallBack (System.CrossAppDomainDelegate callBackDelegate) <0x42004cc0 + 0x00016> in :0 at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at (wrapper xdomain-dispatch) System.AppDomain:DoCallBack (object,byte[]&,byte[]&) Exception rethrown at [0]: at (wrapper xdomain-invoke) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at (wrapper remoting-invoke-with-check) System.AppDomain:DoCallBack (System.CrossAppDomainDelegate) at System.Web.Hosting.ApplicationHost.CreateApplicationHost (System.Type hostType, System.String virtualDir, System.String physicalDir) <0x4009ad00 + 0x00b5b> in :0 at jxAspx.Aspx.A (System.String name, System.String vPath, System.String pPath, IAspxRequestBroker requestBroker) <0x40099b80 + 0x00157> in :0 at jxAspx.Aspx.CreateAspxEngine (System.String siteName, System.String vPath, System.String pPath, IAspxRequestBroker broker) <0x400999c0 + 0x0001b> in :0 at a.b.A (a.l A) <0x7f93ae051100 + 0x0011c> in :0 不知道是什么原因 作者:匿名 发布时间:15年11月24日 可选操作: 删除 回复
[52楼] 回复:Jexus V5.5.3 使用问答 SSL 的证书怎么配置? 证书是startssl 上申请的。 作者:白衣人 发布时间:15年12月25日 可选操作: 删除 回复
[53楼] 回复:Jexus V5.5.3 使用问答 你这是MVC5的吧,请用mono 4.2.1以上版本。 作者:yunei 发布时间:15年12月25日 可选操作: 删除 回复
[54楼] 回复:Jexus V5.5.3 使用问答 作者:yunei 发布时间:15年12月27日 可选操作: 删除 回复
[55楼] 回复:Jexus V5.5.3 使用问答 Jexus做为一个web server, 对POST有没有大小的限制?如果有,什么参数可以改变这个大小? 作者:ninny 发布时间:16年01月30日 可选操作: 删除 回复
[56楼] 回复:Jexus V5.5.3 使用问答 作者:yunei 发布时间:16年01月30日 可选操作: 删除 回复
[57楼] 回复:Jexus V5.5.3 使用问答 centos6.5部署Jexus成功,但是上传备份的aspx网站出现404. 路径和域名,通道都没错,什么回事? 作者:daniel 发布时间:16年03月17日 可选操作: 删除 回复
[58楼] 回复:Jexus V5.5.3 使用问答 Exception caught. System.NullReferenceException: Object reference not set to an instance of an object Server stack trace: at System.Runtime.Remoting.TypeInfo..ctor (System.Type type) [0x00000] in :0 at System.Runtime.Remoting.ServerIdentity.CreateObjRef (System.Type requestedType) [0x00000] in :0 at System.MarshalByRefObject.CreateObjRef (System.Type requestedType) [0x00000] in :0 at System.Runtime.Remoting.RemotingServices.Marshal (System.MarshalByRefObject Obj, System.String ObjURI, System.Type RequestedType) [0x00000] in :0 at System.Runtime.Remoting.RemotingServices.Marshal (System.MarshalByRefObject Obj) [0x00000] in :0 at System.Runtime.Remoting.RemotingServices.GetObjectData (System.Object obj, System.Runtime.Serialization.SerializationInfo info, StreamingContext context) [0x00000] in :0 at System.Runtime.Remoting.Messaging.RemotingSurrogate.GetObjectData (System.Object obj, System.Runtime.Serialization.SerializationInfo si, StreamingContext sc) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.GetObjectData (System.Object obj, System.Runtime.Serialization.Formatters.Binary.TypeMetadata& metadata, System.Object& data) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject (System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance (System.IO.BinaryWriter writer, System.Object obj, Boolean isValueObject) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects (System.IO.BinaryWriter writer) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph (System.IO.BinaryWriter writer, System.Object obj, System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (System.IO.Stream serializationStream, System.Object graph, System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize (System.IO.Stream serializationStream, System.Object graph) [0x00000] in :0 at System.Runtime.Remoting.RemotingServices.SerializeCallData (System.Object obj) [0x00000] in :0 at <0x00000> Exception rethrown at [0]: at (wrapper xdomain-invoke) System.AppDomain:CreateInstanceAndUnwrap (string,string) at (wrapper remoting-invoke-with-check) System.AppDomain:CreateInstanceAndUnwrap (string,string) at A.U.A (System.String , System.Type , System.String , System.String ) [0x00000] in :0 at jxAspx.Aspx.A (System.String , System.String , System.String , IAspxRequestBroker ) [0x00000] in :0 at jxAspx.Aspx.CreateAspxEngine (System.String siteName, System.String vPath, System.String pPath, IAspxRequestBroker broker) [0x00000] in :0 at a.Z.A (B.P ) [0x00000] in :0 作者:allenliu 发布时间:16年03月31日 可选操作: 删除 回复
[59楼] 回复:Jexus V5.5.3 使用问答 作者:匿名 发布时间:16年03月31日 可选操作: 删除 回复
[60楼] Jexus is running 配置也有 就是页面加载不出来 Jexus is running. ip+端口直接访问 ERR_EMPTY_RESPONSE 其实在Jexus刚配置好的时候http://IP/Info 都不行 port=9101 root=/ /var/www/i_41 hosts=* #OR your.com,*.your.com indexes=index.html 作者:i_31 发布时间:16年04月25日 可选操作: 删除 回复
[61楼] 回复:Jexus V5.5.3 使用问答 首先你需要看看jexus的日志,是不是有错误记录。 然后,直接在服务器上用 curl localhost:9101/info 访问,看看能不能访问。 作者:yunei 发布时间:16年04月25日 可选操作: 删除 回复
[62楼] 回复:Jexus V5.5.3 使用问答 作者:匿名 发布时间:16年05月10日 可选操作: 删除 回复
[63楼] 回复:Jexus V5.5.3 使用问答 请问,Jexus5.8.1支持asp.net5了吗? 作者:ipisjohn 发布时间:16年05月12日 可选操作: 删除 回复
[64楼] 回复:Jexus V5.5.3 使用问答 作者:karry 发布时间:16年10月19日 可选操作: 删除 回复
[65楼] 回复:Jexus V5.5.3 使用问答 500错,有很多种情况,你要看异常页是怎么提示的。可以加入QQ群讨论。 作者:宇内 发布时间:16年10月21日 可选操作: 删除 回复
[66楼] 回复:Jexus V5.5.3 使用问答 热替换网站dll后,站点就打不开了,请问是否是哪里配置有问题?版本是5.8.1 作者:roko 发布时间:16年12月30日 可选操作: 删除 回复
[67楼] 我也是同样问题无法启动---回复:Jexus V5.5.3 使用问答 [root@aliyun data]# /usr/jexus/jws start Starting ... [root@aliyun data]# mono -V Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Tue Jan 3 11:51:14 UTC 2017) 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 [root@aliyun data]# sudo find / -name 'gacutil' /usr/bin/gacutil 作者:hobby 发布时间:17年01月26日 可选操作: 删除 回复
[68楼] 回复:Jexus V5.5.3 使用问答 请问如何在jexus里面跑thinkphp5,rewrite无法像nginx那样写 作者:jimmyzheng 发布时间:18年03月30日 可选操作: 删除 回复
[69楼] 回复:Jexus V5.5.3 使用问答 作者:yuqian 发布时间:18年06月25日 可选操作: 删除 回复
[70楼] jexus 支持 pathinfo 模式吗 jexus 有没有类似 nginx 变量的写法 写 if 判断路径 是文件夹还是文件 作者:abc666 发布时间:18年06月29日 可选操作: 删除 回复
[71楼] 回复:Jexus V5.5.3 使用问答 添加新站点,单独start/restart站点无效。只有重启整个服务才能启动新服务。 作者:xz-msy 发布时间:18年08月17日 可选操作: 删除 回复
[72楼] 回复:Jexus V5.5.3 使用问答 作者:Joe 发布时间:19年09月09日 可选操作: 删除 回复
[73楼] 回复:Jexus V5.5.3 使用问答 作者:yunei 发布时间:19年09月09日 可选操作: 删除 回复
[74楼] 回复:Jexus V5.5.3 使用问答 我在docker中部署的,但大小写url仍然存在,修改了export MONO_IOMAP="all"仍然不行,怎么处理啊? 作者:Jane 发布时间:19年09月25日 可选操作: 删除 回复
[75楼] 回复:Jexus V5.5.3 使用问答 现在的mono版本,为了兼容.net core,已经不再支持忽略大小写这个功能了,也就是说,MONO_IOMAP变量设置已经不再有效。 作者:yunei 发布时间:19年09月25日 可选操作: 删除 回复
[76楼] 回复:Jexus V5.5.3 使用问答 服务启不来报以下错误,自动安装的 [root@localhost jexus]# sudo ./jws start default Unhandled Exception: System.TypeInitializationException: The type initializer for 'A.w' threw an exception. ---> System.TypeInitializationException: The type initializer for 'A.E' threw an exception. ---> System.DllNotFoundException: /usr/jexus/runtime/lib/../lib/libmono-native.so assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&) at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00029] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x0000f] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.IO.File.Exists (System.String path) [0x00058] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.TryLoadTzFile (System.String tzFilePath, System.Byte[]& rawData, System.String& id) [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.TryGetLocalTzFile (System.Byte[]& rawData, System.String& id) [0x00012] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile () [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.GetLocalTimeZone (System.TimeZoneInfo+CachedData cachedData) [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo+CachedData.CreateLocal () [0x0001b] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo+CachedData.get_Local () [0x0000f] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.get_Local () [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.DateTime.get_Now () [0x00008] in <076b83d5ce5949de82a325f5607fed6f>:0 at A.E..cctor () [0x001dd] in <2890d354e7834977ab14a5fda408d761>:0 --- End of inner exception stack trace --- at A.w..cctor () [0x00014] in <2890d354e7834977ab14a5fda408d761>:0 --- End of inner exception stack trace --- [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'A.w' threw an exception. ---> System.TypeInitializationException: The type initializer for 'A.E' threw an exception. ---> System.DllNotFoundException: /usr/jexus/runtime/lib/../lib/libmono-native.so assembly:<unknown assembly> type:<unknown type> member:(null) at (wrapper managed-to-native) Interop+Sys.Stat(byte&,Interop/Sys/FileStatus&) at Interop+Sys.Stat (System.ReadOnlySpan`1[T] path, Interop+Sys+FileStatus& output) [0x00029] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x0000f] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.IO.FileSystem.FileExists (System.ReadOnlySpan`1[T] fullPath) [0x00006] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.IO.File.Exists (System.String path) [0x00058] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.TryLoadTzFile (System.String tzFilePath, System.Byte[]& rawData, System.String& id) [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.TryGetLocalTzFile (System.Byte[]& rawData, System.String& id) [0x00012] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile () [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.GetLocalTimeZone (System.TimeZoneInfo+CachedData cachedData) [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo+CachedData.CreateLocal () [0x0001b] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo+CachedData.get_Local () [0x0000f] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.get_Local () [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (System.DateTime time, System.Boolean& isAmbiguousLocalDst) [0x00000] in <076b83d5ce5949de82a325f5607fed6f>:0 at System.DateTime.get_Now () [0x00008] in <076b83d5ce5949de82a325f5607fed6f>:0 at A.E..cctor () [0x001dd] in <2890d354e7834977ab14a5fda408d761>:0 --- End of inner exception stack trace --- at A.w..cctor () [0x00014] in <2890d354e7834977ab14a5fda408d761>:0 --- End of inner exception stack trace ---
作者:张不语 发布时间:19年12月24日 可选操作: 删除 回复
[77楼] Jexus独立版(专业版)的安装 OK, Jexus has been installed in /usr/jexus. [root@localhost /]# cd /usr/jexus [root@localhost jexus]# sudo ./jws start Starting ... Failure 安装完成,启动报错 作者:张不语 发布时间:19年12月24日 可选操作: 删除 回复
|