安装keystone提示openstack Internal Server Error

安装配置openstack时,到keystone部分时,运行openstack service create --name keystone --description "OpenStack Identity" identity提示如下错误:
ERROR:openstack Internal ServerError(HTTP 500)

什么原因产生这种情况?配置错误吗?该如何处理呢?
查看 /var/log/keystone/keystone.conf,该文件里没有任何内容,
查看/var/log/httpd/keystone-error.log有如下内容:
2017-10-10 14:19:15.144225 mod_wsgi (pid=8576, process='keystone-admin', application=''): Loading WSGI script '/var/www/cgi-bin/keystone/admin'.
2017-10-10 14:19:15.851922 mod_wsgi (pid=8576): Target WSGI script '/var/www/cgi-bin/keystone/admin' cannot be loaded as Python module.
2017-10-10 14:19:15.851947 mod_wsgi (pid=8576): Exception occurred processing WSGI script '/var/www/cgi-bin/keystone/admin'.
2017-10-10 14:19:15.851968 Traceback (most recent call last):
2017-10-10 14:19:15.851981 File "/var/www/cgi-bin/keystone/admin", line 4, in
2017-10-10 14:19:15.852019 application = wsgi_server.initialize_application(name)
2017-10-10 14:19:15.852027 File "/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 36, in initialize_application
2017-10-10 14:19:15.852057 common.configure()
2017-10-10 14:19:15.852063 File "/usr/lib/python2.7/site-packages/keystone/server/common.py", line 36, in configure
2017-10-10 14:19:15.852088 config.setup_logging()
2017-10-10 14:19:15.852097 File "/usr/lib/python2.7/site-packages/keystone/config.py", line 56, in setup_logging
2017-10-10 14:19:15.852127 log.setup(CONF, 'keystone')
2017-10-10 14:19:15.852133 File "/usr/lib/python2.7/site-packages/oslo_log/log.py", line 211, in setup
2017-10-10 14:19:15.852219 setup_logging_from_conf(conf, product_name, version)
2017-10-10 14:19:15.852227 File "/usr/lib/python2.7/site-packages/oslo_log/log.py", line 263, in _setup_logging_from_conf
2017-10-10 14:19:15.852238 filelog = logging.handlers.WatchedFileHandler(logpath)
2017-10-10 14:19:15.852244 File "/usr/lib64/python2.7/logging/handlers.py", line 392, in __init
_
2017-10-10 14:19:15.852459 logging.FileHandler.__init__(self, filename, mode, encoding, delay)
2017-10-10 14:19:15.852469 File "/usr/lib64/python2.7/logging/__init__.py", line 902, in init
2017-10-10 14:19:15.852751 StreamHandler.__init__(self, self._open())
2017-10-10 14:19:15.852760 File "/usr/lib64/python2.7/logging/__init__.py", line 925, in _open
2017-10-10 14:19:15.852771 stream = open(self.baseFilename, self.mode)
2017-10-10 14:19:15.852784 IOError: [Errno 13] Permission denied: '/var/log/keystone/keystone.log'

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
运行提示:internal server error
处理JS代码如下rn变量都有数据测试通过,SendData打印内容如下:rnhprov=1&harea=3&hcity=3&EditType=EditClass&EditCheck=29rnrnrn rnfunction GE(a)return document.getElementById(a); rnrnfunction Check(act)rnobjNam='EditCheck';rnvar obj = document.getElementsByName(objNam); //獲取多選框數組rnvar objLen= obj.length; //獲取數據長度rnvar objYN; //是否有選擇rnvar i;rnobjYN=0;rnii=0;rnvar my_array = new Array()rnfor (i = 0;i< objLen;i++)rn if (obj[i].checked==true)rn rn objYN=1; rn my_array[ii]=obj[i].value;rn //alert(my_array[ii]);rn ii++;rn rn rn if (objYN==0)rn alert('请选择你要编辑的产品。');rn false;rn rnrn if(GE('hprov').value=='')rn GE('EditInfo').style.display="";rn GE('msg').innerHTML='主分类不能为空。';rn return false;rn rn //alert(GE('hprov'));rn rnif(GE('hprov').value=='')rn GE('EditInfo').style.display="";rn GE('msg').innerHTML='主分类不能为空。';rn return false;rn rnif(GE('harea').value=='')rn hareastr='';rn //alert(hareastr);rnelsern hareastr='&harea='+GE('harea').value;rn //alert(hareastr);rnrnif(GE('hcity').value=='')rn hcitystr='';rn //alert(hcitystr);rnelsern hcitystr='&hcity='+GE('hcity').value;rn //alert(hcitystr);rnrnrn //alert(GE('hprov'));rn var X=new ActiveXObject("Msxml2.XMLHTTP"); rn if(X) rn //GE('EditSubmit').disabled=true; rn X.onreadystatechange=function() rn if(X.readyState==4) rn if(X.status==200) rn eval(X.responseText) rn elsern GE('EditInfo').style.display="";rn GE('msg').innerHTML=X.statusText;rn rn elsern GE('EditInfo').style.display="";rn GE('msg').innerHTML="正在提交数据...";rn rn ; rn X.open('POST','EditAction.asp',true); rn X.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); rn var SendData = 'hprov='+GE('hprov').value+hareastr+hareastr +'&EditType='+GE('EditType').value+'&EditCheck='+29rn alert(SendData);rn X.send(SendData) rn else rn GE('EditInfo').style.display="";rn GE('msg').innerHTML='你的浏览器不支持XMLHttpRequest,请使用IE浏览器运行本程序,谢谢。' ;rn rn
OpenStack之安装和配置Keystone
OpenStack Keystone
【OpenStack】【Keystone】安装与配置详解
文章目录
OpenStack Keystone
openstackOpenStack Keystone云计算云计算云计算
OpenStack多节点安装(二):Keystone
上篇文章讲了关于OpenStack多节点基础环境的搭建,本文开始讲述如何搭建Keystone服务。 1. 登录mysql服务器中,创建数据库keystone,并授予适当的访问权限: sudo mysql -u root -p create database keystone; grant all privileges on keystone.* to 'keystone'@'l
OpenStack安装(一) KeyStone模块
一、安装和配置KeyStone 1. 为KeyStone配置数据库 使用数据库客户端,以root用户连接到数据库中:mysql -u root -p 创建KeyStone数据库:CREATE DATABASE keystone; 为KeyStone用户授权: GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFI...
openstack的keystone安装运行总结
keystone-all运行出现cannot find xxxx in xxxx 检查在/usr/lib/python.xx/dist-package/路径下的依赖包是否存在,如果存在那么检查依赖包的版本是否和keystone源码中的require中的版本是否一直。 keystone.conf配置了ADMIN_TOKEN没有效果 在keystone.conf中配置了ADMIN_TOKEN,然后使
单节点安装OpenStack 之 keystone 安装和glance 安装
接着上面的开始(  单节点安装OpenStack 之环境的准备http://blog.csdn.net/qq_34160679/article/details/78008659 )  下面我们开始安装keystone 认证服务和glance 镜像。 认证服务   在 控制节点上配置。 1、前提条件创建数据库 以root 身份登录到数据库 (1) 以root 身份登录到数据库
asp.net 打开网页提示internal server error
如图所示,无论是用iis启动还是用vs启动都是这样,以前从来没有过的情况n(https://img-ask.csdn.net/upload/201603/02/1456895537_319641.png)
android Internal Server Error
在eclipse中运行时,报出这种异常是什么意思?rn 12-21 04:06:52.268: WARN/RestTemplate(557): GET request for "http://******/movie-sds-web/rest/client/regions?city_code=shanghai&sign=ad57cdc314c4256f64fab18b4f6b7451" resulted in 500 (Internal Server Error); invoking error handlerrn
internal server error
我系统是XP,我在创建ASP.net程序时出现rnrn 尝试创建Web项目或打开位于URL“http://localhost/WebApplication1”的Web项目时,Web服务器报rn 告了以下错误。“HTTP/1.1 500 Internal Server Error”。rn 我已经重装了IIS和.net框架,结果还是一样。请各位高手指教。谢谢。rn
Internal Server Error --webservice
想做一个webservice,apache+php,具体代码如下:rnclient.phprn"http://127.0.0.1/src/server.php",'uri' => "http://127.0.0.1/")rn );rn echo $client->minus_func(100,99);rn rn rn catch (SoapFault $fault)rn rn echo "Error: ",$fault->faultcode,", string: ",$fault->faultstring;rn rn rn?>rnrnrnserver.phprnrn"http://127.0.0.1/"));// ip.rn $soap->addFunction('minus_func'); //Register the functionrn $soap->addFunction(SOAP_FUNCTIONS_ALL);rn $soap->handle();rn rn function minus_func($i, $j)rn rn $res = $i - $j;rn return $res;rn rn?>rnrnrn运行client.php,为什么总是提示错误:Internal Server Error???rn急,求救!
500 Internal Server Error
win2k + apache2.0.54 + php4.4.0rnrn为什么使用GET方式发送中文数据的时候会出现 500 Internal Server Error 的错误rnrn例如:rn这个可以成功访问 http://127.0.0.1/test.php?param=aaa rn这个就出现500错误 http://127.0.0.1/test.php?param=中国rnrn打开apache的错误日志error.txtrn显示错误为rn(22)Invalid argument: utf8 to ucs2 conversion failed on this string: REDIRECT_QUERY_STRING=param=\x8f\xe3\x8aCrnrn应该如何解决呢
javamail Internal Server Error
使用javamail写的发送邮件程序,使用本机的邮件服务器,发送没有总是,但是换成163的邮箱后,发生错误.程序有两部分1\jsp页面.2\servlet程序.rn1\jsp程序rnrn rn说我内容太多,以下省....rn 2\servlet程序rnpackage testmail;rnimport javax.servlet.*;rnimport javax.servlet.http.*;rnimport java.io.*;rnimport javax.mail.*;rnimport javax.mail.internet.*;rnimport java.util.*;rnimport javax.activation.*;rnclass Auth extends Authenticatorrnrn String username="";rn String password="";rn public Auth(String username,String password)rn this.username=username;rn this.password=password;rn rn public PasswordAuthentication getPasswordAuthentication()rn rn return new PasswordAuthentication(username,password);rn rnrnrnpublic class SendMail extends HttpServlet rn private static final String CONTENT_TYPE = "text/html; charset=GB18030";rnrn //Initialize global variablesrn public void init() throws ServletException rn rnrn //Process the HTTP Get requestrn public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException rn response.setContentType(CONTENT_TYPE);rn PrintWriter out = response.getWriter();rn tryrn Properties props=new Properties();rn Session sendMailSession;rn Store store;rn Transport transport;rn props.put("mail.smtp.host","smtp.163.com");rn props.put("mail.smtp.auth","true");rn Auth auth=new Auth("test","test");rn sendMailSession=Session.getDefaultInstance(props,(Authenticator)auth);rn Message newMessage=new MimeMessage(sendMailSession);rn newMessage.setFrom(new InternetAddress(request.getParameter("from")));rn newMessage.setRecipient(Message.RecipientType.TO,new InternetAddress(request.getParameter("to")));rn newMessage.setSubject(new String(request.getParameter("subject").getBytes("iso-8859-1")));rn newMessage.setSentDate(new Date());rn newMessage.setText(new String(request.getParameter("text").getBytes("iso-8859-1")));rnrn Transport.send(newMessage);rn out.println("the Email send sucess!");rn rn catch(MessagingException m)rn rn out.print(m.toString());rn rn rnrn public void destroy() rnrn protected void doGet(HttpServletRequest request,HttpServletResponse response) throws ServletException,IOExceptionrn doPost(request,response) ;rn rnrn用户名和密码没问题的,大家不用担心rn错误信息:rntype Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception javax.servlet.ServletException: Error instantiating servlet class testmail.SendMailrn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:895)rn at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)rn at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)rn at java.lang.Thread.run(Thread.java:534)rnroot cause java.lang.NoClassDefFoundError: testmail/Authrn at java.lang.Class.getDeclaredConstructors0(Native Method)rn at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)rn at java.lang.Class.getConstructor0(Class.java:1922)rn at java.lang.Class.newInstance0(Class.java:278)rn at java.lang.Class.newInstance(Class.java:261)rn at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:886)rn at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:655)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)rn at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)rn at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)rn at java.lang.Thread.run(Thread.java:534)rnrn看了网上有类似的问题,但他们说是mail.jar包找不到或者是activation.jar,我用的是JBuildX,在Tomcat的目录下能看到那个两包.请大家帮忙看看.
The server encountered an internal error ()
请问这个问题要怎么解决?rn我的代码是:rn[code=Java]<%@ page contentType="text/html;Charset=GB2312" %>rn<%@ import="java.sql.*" %>rn<%rn Connection con;rn Statement sql;rn tryrn rn Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();rn rn catch (Exception e)rn rn e.printStackTrace();rn rn tryrn rn String url="jdbc:sqlserver://127.0.0.1:1433;DatabaseName=book";rn String user="sa";rn String password="sa";rn con=DriverManager.getConnection(url,user,password);rn sql=con.createStatement();rn ResultSet rs_sale=sql.executeQuery("SELECT top 3 CID,Name,Price,author,IMG,info FROM books");rn int sale_ID=0;rn String s_goodsname="";rn float s_price=0;rn String s_introduce="";rn String s_picture="";rn ResultSet rs_new=conn.executeQuery("SELECT top 4 CID,Name,Price,author,IMG,info FROM books");rn int new_ID=0;rn String new_goodsname="";rn float new_nowprice=0;rn String new_picture="";rn rn catch (SQLException e1)rn rn e1.printStackTrace();rn rn%>rn[/code]rnrn错误提示:rnHTTP Status 500 - rnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: /JSP/index.jsp(2,4) Invalid directivern org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)rn org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)rn org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:88)rn org.apache.jasper.compiler.Parser.parseDirective(Parser.java:516)rn org.apache.jasper.compiler.Parser.parseElements(Parser.java:1557)rn org.apache.jasper.compiler.Parser.parse(Parser.java:127)rn org.apache.jasper.compiler.ParserController.doParse(ParserController.java:212)rn org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)rn org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:156)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:803)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.rnrnrn--------------------------------------------------------------------------------rnrnApache Tomcat/5.5.26
求解!Internal Server Error
[img=https://img-bbs.csdn.net/upload/201802/08/1518097976_904721.png][/img]rnrnrnrnhyml打开就报错,可是这两个文件是存在的,路径也正确。
500 INTERNAL SERVER ERROR
SharePoint 2010 管理中心能进去,但访问网站集出现500 INTERNAL SERVER ERROR错误,重启后正常,过一段时间后又出现这样的错误,到底是什么原因呢?rnrn环境:一台服务器安装 win2008r2 + sql server 2008 ,一台服务器安装 win2008r2 + SharePoint 2010 ,另有win2008r2 AD服务器和Exchange 2010各一台。rnrn纠结啊,请各位帮忙!
Internal Server Error
好奇怪, 我在局域网上用win98+Apache架的这个服务器怎的不稳定?rn有些机子上运行的好好的,而有些则显示Internal Server Errorrn错误记录为:rn[error] [client 192.168.0.11] Premature end of script headers:g:/php/php.exernrn哪位有解?rn
cgi,Internal Server Error!
Error-log:rnrn[Thu Jul 26 13:08:33 2007] [notice] suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)rn[Thu Jul 26 13:08:34 2007] [notice] Digest: generating secret for digest authentication ...rn[Thu Jul 26 13:08:34 2007] [notice] Digest: donern[Thu Jul 26 13:08:35 2007] [notice] Apache/2.2.4 (Unix) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d PHP/5.2.1 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 configured -- resuming normal operations
安装 dashboard 之后,打开页面提示Internal Server Error 错误
local_settings.py 配置文件内容是这样的。rn[code=python]rnimport osrnrnfrom django.utils.translation import ugettext_lazy as _rnrnDEBUG = FalsernTEMPLATE_DEBUG = DEBUGrnPROD = FalsernUSE_SSL = FalsernSECRET_KEY = 'elj1IWiLoWHgcyYxVLj7cMrFDxWl0'rnOPENSTACK_HOST = "0.0.0.0"rnALLOWED_HOSTS = ['*']rnrnOPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"rnSESSION_ENGINE = 'django.contrib.sessions.backends.cache'rnrnCACHES = rn 'default': rn 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',rn 'LOCATION': 'controller:11211',rn rnrnOPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOSTrnOPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = TruernOPENSTACK_API_VERSIONS = rn "identity": 3,rn "image": 2,rn "volume": 2,rnrnOPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default"rnOPENSTACK_NEUTRON_NETWORK = rnrn 'enable_router': False,rn 'enable_quotas': False,rn 'enable_distributed_router': False,rn 'enable_ha_router': False,rn 'enable_lb': False,rn 'enable_firewall': False,rn 'enable_vpn': False,rn 'enable_fip_topology_check': False,rnrnrnTIME_ZONE = "Asia/Shanghai"rnrnLOGGING = rn 'version': 1,rn # When set to True this will disable all logging exceptrn # for loggers specified in this configuration dictionary. Note thatrn # if nothing is specified here and disable_existing_loggers is True,rn # django.db.backends will still log unless it is disabled explicitly.rn 'disable_existing_loggers': False,rn 'handlers': rn 'null': rn 'level': 'DEBUG',rn 'class': 'django.utils.log.NullHandler',rn ,rn 'console': rn # Set the level to "DEBUG" for verbose output logging.rn 'level': 'INFO',rn 'class': 'logging.StreamHandler',rn ,rn ,rn 'loggers': rn # Logging from django.db.backends is VERY verbose, send to nullrn # by default.rn 'django.db.backends': rn 'handlers': ['null'],rn 'propagate': False,rn ,rn 'horizon': rn 'handlers': ['console'],rn 'propagate': False,rn ,rn 'novaclient': rn 'handlers': ['console'],rn 'propagate': False,rn ,rn 'keystoneclient': rn 'handlers': ['console'],rn 'propagate': False,rn ,rn 'nose.plugins.manager': rn 'handlers': ['console'],rn 'propagate': False,rn rn rn[/code]rnrnapache的error.log内容rn[Sat Jun 11 08:15:00 2016] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.21 with Suhosin-Patch mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operationsrn[Sat Jun 11 23:15:06 2016] [error] Warning: Could not import Horizon dependencies. This is normal during installation.rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] mod_wsgi (pid=25223): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] Traceback (most recent call last):rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 170, in __call__rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] self.load_middleware()rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 50, in load_middlewarern[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] mw_class = import_string(middleware_path)rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] File "/usr/local/lib/python2.7/dist-packages/django/utils/module_loading.py", line 26, in import_stringrn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] module = import_module(module_path)rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_modulern[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] __import__(name)rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] ImportError: No module named docrn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] mod_wsgi (pid=25223): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] Traceback (most recent call last):rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 170, in __call__rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] self.load_middleware()rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 50, in load_middlewarern[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] mw_class = import_string(middleware_path)rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] File "/usr/local/lib/python2.7/dist-packages/django/utils/module_loading.py", line 26, in import_stringrn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] module = import_module(module_path)rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_modulern[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] __import__(name)rn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] ImportError: No module named docrn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] mod_wsgi (pid=25223): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'., referer: http://192.168.255.141/horizonrn[Sat Jun 11 23:15:06 2016] [error] [client 192.168.255.1] Traceback (most recent call last):, referer: http://192.168.255.141/horizonrn
iis7 下用asp 提示 HTTP Error 500.0 - Internal Server Error
iis7 下用asp 提示 HTTP Error 500.0 - Internal Server ErrorrnHTTP Error 500.0 - Internal Server Errorrn描述: 无法显示页面,因为发生内部服务器错误。 rnrn错误代码: 0x800700aa rnrn通知: ExecuteRequestHandler rnrn模块: IsapiModule rnrn请求的 URL: http://192.168.1.188:80/新建文本文档.asp rnrn物理路径: E:\新建文件夹\新建文本文档.asp rnrn登录用户: 匿名 rnrn登录方法: 匿名 rnrn跟踪日志目录请求失败: C:\inetpub\logs\FailedReqLogFiles rnrn处理程序: ASPClassic rnrn最可能的原因: rnrnIIS 收到了请求;但在处理请求过程中出现内部错误。此错误的根本原因取决于处理该请求的是哪一个模块以及出现此错误时工作进程中出现了何种情况。 rnIIS 无法访问网站或应用程序的 web.config 文件。如果 NTFS 权限设置不正确,便会出现这种情况。 rnIIS 无法处理网站或应用程序的配置。 rn已经过身份验证的用户没有使用此 DLL 的权限。 rn该请求将被映射到托管处理程序,但不会安装 .NET 可扩展功能。 rn可尝试的操作: rnrn确保 web.config 文件的 NTFS 权限正确,并允许访问 Web 服务器的计算机帐户。 rn检查事件日志中是否记录了任何附加信息。 rn确认 DLL 的权限。 rn如果请求被映射到托管处理程序,则安装 .NET 可扩展功能。 rn创建跟踪规则以跟踪此 HTTP 状态代码的失败的请求。有关为失败的请求创建跟踪规则的详细信息,请单击此处。 rn更多信息... 此错误表明在处理请求时出现问题。Web 服务器收到了请求,但在处理过程中出现错误,导致 500 错误。 rnrn求以解决方案,我以前没出现这个问题最近还原系统后出现的
openstack安装keystone过程中提示requires:PyYAML的解决方案
在根据openstack icehouse的官方文档安装keystone过程提示requirs:PyYAML,由于公司的yum源中没有相关的软件包,手动下载rpm进行安装,需要两个包libyaml-0.1.3-1.el6.x86_64.rpm和PyYAML-3.10-3.1.el6.x86_64.rpm 下载地址: libyaml-0.1.3-1.el6.x86_64.rpm: http://
OpenStack Keystone的下一步是什么?
Keystone项目团队负责人(PTL)和核心团队成员介绍了该项目的更新、此版本的新功能以及下一个版本会有什么。Keystone是一个OpenStack项目,提供身份、令...
openstack keystone安装问题
安装了4次每次到keystone验证部分就会提示同一错误:rn[img=https://img-bbs.csdn.net/upload/201712/29/1514513287_220019.png][/img] 这是log提示rnrn[img=https://img-bbs.csdn.net/upload/201712/29/1514513364_56291.png][/img] 这是我的default domainrnrn[img=https://img-bbs.csdn.net/upload/201712/29/1514513413_75875.png][/img] 这是我的请求验证rnrnrn求帮助
openstack 无法连接keystone
标题不知道如何取了,先这样吧!直接到下面看问题。rn我是三个节点装的openstack环境,ctl1是安装了mariadb,rabbitmq,memorycache等。ctl2安装keystone和glance,ctl3安装nova。但是重启后发现在非keystone节点执行openstack user list 或openstack endpoint list时提示如下信息:rnDiscovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.rnUnable to establish connection to http://10.0.0.102:35357/v3/auth/tokensrn但是在ctl2即keystone节点上执行上述命令就没有任何问题,可以看到对应的结果。请高手指点,这个问题的原因是什么,应该如何解决,谢谢!
Openstack keystone 安装包
Openstack keystone 安装包 简单快捷的搭建Keystone
OpenStack Keystone的基本概念理解
转载:http://www.kankanews.com/ICkengine/archives/10788.shtml Keystone简介   Keystone(OpenStack Identity Service)是OpenStack框架中,负责身份验证、服务规则和服务令牌的功能, 它实现了OpenStack的Identity API。Keystone类似一个服务总线, 或者说是整个...
Openstack之KeyStone学习(一)
Openstack简介: OpenStack是一个美国国家航空航天局和Rackspace合作研发的云计算软件,以Apache许可证授权,并且是一个自由软件和开放源代码项目。OpenStack是IaaS(基础设施即服务)平台,让任何人都可以自行建立和提供云端运算服务。以下是5个OpenStack的重要构成部分:1、Nova —计算服务;2.Swift — 存储服务;3.Glance –
The server encountered an internal error () 问题
JSP网页如下:rn[code=XML]rn<%@ page contentType="text/html;charset=GB2312" %>rnrnrnrn rn 请输入姓名: rn rn rnrnrn[/code]rn用tomcat运行时出现下面的错误:rn[code=Java]rntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: Unable to compile class for JSPrn org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)rn org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:439)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrnrnroot cause rnrnUnable to find a javac compiler;rncom.sun.tools.javac.Main is not on the classpath.rnPerhaps JAVA_HOME does not point to the JDKrn org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:105)rn org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:929)rn org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758)rn org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:407)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:497)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)rn org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)rn org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rnrnrnnote The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.rnrnrn[/code]rn这是什么错误的?怎么改?
The server encountered an internal error () 问题求解...
我用myeclipse编好了一个简单的jsp程序代码如下rn<%@ page language="java" contentType="text/html; charset=UTF-8"rn pageEncoding="UTF-8" %>rn<%@page import="java.text.*,java.util.*"%>rnrn rn 显示服务器的当前时间rn rn rn rn 现在服务器的时间是:rn rn <%rn SimpleDateFormat format =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); rn out.println(format.format(new Date()));rn %>rn rn rnrnrn然后启动tomcat 打开此JSP页面 rn出现以下异常rndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.catalina.util.DefaultAnnotationProcessorrn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:156)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrnrnroot cause rnrnjava.lang.ClassCastException: org.apache.catalina.util.DefaultAnnotationProcessorrn org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:146)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rnrn请问各位高手这应该怎么解决呢??
Internal Server Error的问题,急!!
写了一个连接数据库的脚本,代码二楼帖出,但是运行就报这个错,rnrnHTTP Status 500 - Internal Server Errorrnrn--------------------------------------------------------------------------------rnrntype Exception reportrnrnmessage Internal Server Errorrnrndescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.rnrnexception rnrnorg.apache.jasper.JasperException: This method is not yet implemented.rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown Source)rn at org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source)rn at java.lang.Thread.run(Thread.java:536)rnrnrnroot cause rnrnjavax.servlet.ServletException: This method is not yet implemented.rn at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533)rn at org.apache.jsp.test_reg_jsp._jspService(test_reg_jsp.java:106)rn at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)rn at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)rn at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)rn at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)rn at org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown Source)rn at org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source)rn at java.lang.Thread.run(Thread.java:536)rnrn
Internal Server Error是什么意思
哪位高手能告诉我 我在vs2008中怎么报Internal Server Error这种错误rn代码如下:rnrnrn function CallBack() rnrn if (XML.xmlHttp.readyState == 4) rn if (XML.xmlHttp.status == 200) rn var bool = XML.xmlHttp.responseText;rn if (bool == "true") rn document.getElementById("check_info").innerHTML = msg[4];rn errorname = true;rn rn else rn document.getElementById("check_info").innerHTML = msg[3];rn errorname = false;rn rn rn else rn document.getElementById("check_info").innerHTML = '出错:' + XML.xmlHttp.statusText;rn rn rn else rn document.getElementById("check_info").innerHTML = " 正在提交数据...";rn rn rnrnrn是什么原因 !!!!!急急急rnrn
老问题: Internal Server Error
下了个 apache-2.0.28,运行时可以显示 htm 文件,但是不能运行 php 文件,错误如下:rnrnInternal Server ErrorrnThe server encountered an internal error or misconfiguration and was unable to complete your request.rnrnPlease contact the server administrator, you@your.address and inform them of the time the error occurred, and anything you might have done that may have caused the error.rnrnMore information about this error may be available in the server error log.rnrnAdditionally, a 406 Not Acceptable error was encountered while trying to use an ErrorDocument to handle the request.rnrnrn--------------------------------------------------------------------------------rnrnApache/2.0.26-dev Server at localhost Port 80rnrn请高手指教,谢谢!rn
Internal Server Error(apache 服务器问题
Internal Server ErrorrnThe server encountered an internal error or misconfiguration and was unable to complete your request.rnrnPlease contact the server administrator, 522362242@qq.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.rnrnMore information about this error may be available in the server error log.rnrn我在运行由以下代码生成的login.cgi脚本,进行注册产生了以上错误,这是为什么啊?rnrn// Fig. 19.21: login.cpprn// Program to output an XHTML form, verify thern// username and password entered, and add members.rn#include rnusing std::cerr;rnusing std::cin;rnusing std::cout;rnusing std::ios;rnrn#include rnusing std::fstream;rnrn#include rnusing std::string;rnrn#include rnusing std::getenv;rnusing std::atoi;rnusing std::exit;rnrnvoid header();rnvoid writeCookie();rnrnint main()rnrn char query[ 1024 ] = "";rn string dataString = "";rnrn // strings to store username and passwordrn string userName = "";rn string passWord = "";rnrn int contentLength = 0;rn bool newMember = false;rnrn // data was postedrn if ( getenv( "CONTENT_LENGTH" ) )rn rn // retrieve query stringrn contentLength = atoi( getenv( "CONTENT_LENGTH" ) );rn cin.read( query, contentLength );rn dataString = query;rnrn // find username locationrn int userLocation = dataString.find( "user=" ) + 5;rn int endUser = dataString.find( "&" );rnrn // find password locationrn int passwordLocation = dataString.find( "password=" ) + 9;rn int endPassword = dataString.find( "&new" );rnrn if ( endPassword > 0 ) // new membership requestedrn rn newMember = true;rn passWord = dataString.substr( rn passwordLocation, endPassword - passwordLocation );rn // end ifrn else // existing memberrn passWord = dataString.substr( passwordLocation );rnrn userName = dataString.substr( rn userLocation, endUser - userLocation );rn // end ifrnrn // no data was retrievedrn if ( dataString == "" )rn rn header();rn cout << " Please login.";rnrn // output login formrn cout << " "rn << " User Name: "rn << "Password: "rn << " New? "rn << "";rn // end ifrn else // process entered datarn rn string fileUsername = "";rn string filePassword = "";rn bool userFound = false;rn rn // open user data file for reading and writing rn fstream userData( "userdata.txt", ios::in | ios::out);rn rn if ( !userData ) // could not open filern rn cerr << "Could not open database.";rn exit( 1 );rn // end ifrnrn // add new memberrn if ( newMember )rn rn // read username and password from filern while ( !userFound && userData >> fileUsername >> filePassword )rn rn if ( userName == fileUsername ) // name is already takenrn userFound = true; rn // end whilernrn if ( userFound ) // user name is takenrn rn header();rn cout << " This name has already been taken." rn << "Try Again";rn // end ifrn else // process datarn rn writeCookie(); // write cookiern header();rnrn // write user data to file rn userData.clear(); // clear eof, allow write at end of filern userData << "\n" << userName << "\n" << passWord; rnrn cout << " Your information has been processed." rn << "Start Shopping";rn // end elsern // end ifrn else // search for password if enteredrn rn bool authenticated = false;rnrn // read in user datarn while ( !userFound && userData >> fileUsername >> filePassword )rn rn // username was foundrn if ( userName == fileUsername )rn rn userFound = true;rnrn // determine whether password is correct rn // and assign bool result to authenticated rn authenticated = ( passWord == filePassword );rn // end ifrn // end whilernrn // user is authenticatedrn if ( authenticated )rn rn writeCookie();rn header();rnrn cout << " Thank you for returning, " << userName << "!"rn << "Start Shopping"; rn // end ifrn else // user not authenticatedrn rn header();rnrn if ( userFound ) // password is incorrectrn cout << " You have entered an incorrect password. " rn << "Please try again." rn << "Back to login";rn else // user is not registeredrn cout << " You are not a registered user." rn << "Register";rn // end elsern // end elsern // end elsernrn cout << "\n\n";rn return 0;rn // end mainrnrn// function to output headerrnvoid header()rnrn cout << "Content-Type: text/html\n\n"; // output headerrnrn // output XML declaration and DOCTYPErn cout << ""rn << "";rnrn // output html element and some of its contentsrn cout << ""rn << " Login Page";rn // end function headerrnrn// function to write cookie datarnvoid writeCookie()rnrn string expires = "Friday, 14-MAY-10 16:00:00 GMT";rn cout << "Set-Cookie: CART=; expires=" << expires << "; path=\n";rn // end function writeCookiernrn
ajax 500 (Internal Server Error)
ajax报错rn[img=https://img-bbs.csdn.net/upload/201607/12/1468321287_735602.png][/img]rn我的js文件是这样的rn[img=https://img-bbs.csdn.net/upload/201607/12/1468321371_416102.png][/img]rnphp文件rn[img=https://img-bbs.csdn.net/upload/201607/12/1468321444_817353.png][/img]rn有调用dataToJs()rn但是数据传不过去,触发了error里的东西,rn不知道为什么,服务器应该没问题,登录页面用的ajax没有问题,而且传输的数据非常小
500 Internal Server Error 问题
事件类型: 信息rn事件来源: ASP.NET 2.0.50727.0rn事件种类: Web 事件 rn事件 ID: 1314rn日期: 2013-8-6rn事件: 15:55:49rn用户: N/Arn计算机: X3650-M3rn描述:rn事件代码: 4011 rn事件消息: 发生了未处理的访问异常。 rn事件时间: 2013-8-6 15:55:49 rn事件时间(UTC): 2013-8-6 7:55:49 rn事件 ID: 62da0716228b4d73bf0cd8c4ad51af9b rn事件序列: 1191 rn事件匹配项: 8 rn事件详细信息代码: 0 rn rn应用程序信息: rn 应用程序域: /LM/W3SVC/1629397488/Root-1-130202468299715000 rn 信任级别: Full rn 应用程序虚拟路径: / rn 应用程序路径: E:\Web项目\新网上查车(中文)\ rn 计算机名: X3650-M3 rn rn进程信息: rn 进程 ID: 4028 rn 进程名: w3wp.exe rn 帐户名: NT AUTHORITY\NETWORK SERVICE rn rn请求信息: rn 请求 URL: http://211.139.200.199:60118/Track/TrackLists.aspx?_=1375775747138 rn 请求路径: /Track/TrackLists.aspx rn 用户主机地址: 183.233.179.45 rn 用户: rn 是否已经过身份验证: False rn 身份验证类型: rn 线程帐户名: NT AUTHORITY\NETWORK SERVICE rnrn**************分割线******************rnHttp status: 500 Internal Server ErrorrnajaxOptions: errorrnthrownError: Internal Server Errorrn“/”应用程序中的服务器错误。rn运行时错误rn说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止远程查看应用程序错误的详细信息(出于安全原因)。但可以通过在本地服务器计算机上运行的浏览器查看。rnrn详细信息: 若要使他人能够在远程计算机上查看此特定错误消息的详细信息,请在位于当前 Web 应用程序根目录下的“web.config”配置文件中创建一个 标记。然后应将此 标记的“mode”属性设置为“Off”。rnrnrnrnrnrn rn rn rnrnrnrn注释: 通过修改应用程序的 配置标记的“defaultRedirect”属性,使之指向自定义错误页的 URL,可以用自定义错误页替换所看到的当前错误页。rnrnrnrnrnrn rn rn rnrnrnrnrn上面是从服务器的日志中获取的错误信息,下面是在客户端页面显示的错误信息,我用公司内部的公用电脑(不是开发的电脑调试)没有问题,但发布到公司的服务器就有这种情况。请问是哪里出问题了?
500 Internal Server Error错误
投票系统统计"当前排名"的ASP源文件,当数据超过20就出现如下错误:rn是什么原因,我设置的是20分页,和分页有关吗?rnrn[color=#0000FF]“rnInternal Server ErrorrnrnThe server encountered an internal error or misconfiguration and was unable to complete your request.rnPlease contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.rnrnMore information about this error may be available in the server error log.rnrnWeb Server at goodfarmer.com”[/color]rnrnrn[code=HTML]rnrnrnrnrnrn rn <%=SiteName%>-powered by aspcmsrn rn rnrn rn rn rn <%rn rn function RemoveHTML(fString)rn dim re rn set re = New RegExp rn re.Global = True rn re.IgnoreCase = True rn if not isnull(fString) then rn re.Pattern = "<(.[^>]*)>" rn fString = re.Replace(fString,"") rn fString = Replace(fString," ","") rn RemoveHTML = fString rn end if rnend functionrnset rslink=server.createobject("adodb.recordset")rnexeclink="select * from link order by id desc" rnrslink.open execlink,conn,1,1rndo while not rslink.eofrn%>rnrn class="fr"<%else%>class="fl"<%end if%>>" target="_blank"><%=rslink("title")%> rn <% rnrslink.movenextrnLooprnrslink.closernset rslink=nothingrn%>rn rn rn rnrn rn rn rn rn rn rn rnrnrnrnrnrnrnrnrnrnrn rn rn rn rn rn 评选结果rn rn rn rn rn rn rn rn rn rn <%if lb="rq" then response.write"人气" else response.write"rnrn票数" end if%>排名rn 评选名称rn 票数rn 人气rn 百分比rn rn<%rn rnset rssum=server.createobject("adodb.recordset")rnexec="select sum(ps) as sumps from info" rnrssum.open exec,conn,1,1rnsumps=rssum("sumps")rnrnrnrnpage=clng(request("page")) rnsql="select * from Info"rnif lb="" or lb="ps" then rn sql=sql & " order by ps desc"rnend ifrnif lb="rq" thenrn sql=sql & " order by rq desc"rnend ifrnset rs=server.createobject("adodb.recordset") rnrs.open sql,conn,1,1rnrs.PageSize=20rngs=rs.PageSizernif page=0 then page=1 rnpages=rs.pagecountrnif page > pages then page=pagesrnrs.AbsolutePage=pagernfor j=1 to rs.PageSize rnmc=j+(page-1)*gsrn%>rn rn <%if mc<4 then response.write""&mc&"" else rnrnresponse.write""&mc&"" end if%>rn <%=rs("title")%>rn <%=rs("ps")%>rn <%=rs("rq")+rs("ps")%>rn <%=FormatNumber(((rs("ps")/sumps)*100)) %>rnrn%rn rn rn %" border="0">rn rn rn rn rn rnrn rn<%rnrs.movenextrnif rs.eof then exit forrnnextrn%>rn rn rn<%if Page<2 then rn response.write "首页 上一页 "rn elsern response.write " 首页 "rn response.write " 上一页 "rn end ifrn if rs.pagecount-page<1 thenrn response.write " 下一页 尾页 "rn elsern response.write " "rn response.write "下一页 尾页 "rn end ifrn response.write " 页次:"&page&"/"&rs.pagecount&"页 "rn response.write " 共"&rs.recordcount&"条记录 rnrn"&rs.pagesize&"条/页" rn%>rn rn<%rnrs.closernset rs=nothingrn%>rn rn rn rn rnrn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rn rnrnrn rn rn <%=Copyright%> rnrnrnrnrn[/code]rnrn
救命!Internal Server Error 500
我参照《C++ Builder 电子商务网站构建实务》(中国铁道出版社,陈灿煌编著)第307-318页实例编写单数据表维护程序,试运行总是遇到该死的Internal Server Error 500错误提示信息。具体配置如下:rn 服务器:Windows 2000,IIS5.0,C++ Builder 5.0(已打补丁),Oracle 8.1。rn 请问:问题出在何处?如何解决?rn
openstack(F) keystone 安装的初始化的两个脚本
openstack keystone安装的两个脚本,网上版本很多,我安装的是F版的,可以使用。
PHP 500 Internal Server Error
解决 500 Internal Server Error 返回数据过大导致的问题
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview