CDH6.0.1 HUE 访问HBase报500错误 ,无法连接thrift

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/TXBSW/article/details/84977082

前言

  • 公司决定搞新版本deCDH,然后我就安装部署了CDH6.0.1,安装的路程就不说了,本以为安装好添加服务就可以用了,可是却遇到这个问题,我开始以为thrift jar包问题,问别人要了CDH6.0.0里面的jar包替换,后面又说什么配置问题,均未解决,后来找java大神看thrift jar的源码,然后发现问题是,我们请求的服务跟它自己要去调用的服务不一致。

  • 原因找出来了,就是找不到解决方法,公司暂时也不用HBse,就暂时搁置了,直到今天,我这个服务器之前被安装过其他版本的CDH,导致系统的一直配置链接路径不对主要是/etc/alternatives/目录下面的一些链接是错的这个问题待会再说

报错

hbase thrift端口报500

hue报HBase Browser Failed to authenticate to HBase Thrift Server, check authentication configurations

HTTP ERROR 500

     at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
    at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
    at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
    at org.apache.thrift.protocol.TBinaryProtocol.readByte(TBinaryProtocol.java:285)
    at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:230)
    at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
    at org.apache.thrift.server.TServlet.doPost(TServlet.java:83)
    at org.apache.hadoop.hbase.thrift.ThriftHttpServlet.doPost(ThriftHttpServlet.java:122)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:767)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

解决方法

我们进入hue服务配置项-类别-高级-hue_safety_valve.ini 的 Hue 服务高级配置代码段(安全阀)
或者直接搜索后面这个配置项
在里面配置如下

[hbase]
hbase_conf_dir={{HBASE_CONF_DIR}}
thrift_transport=buffered

注意:我们要先确定hbase配置里已经启用了thrift服务哦,还有hue也要依赖这个服务

下面再说/etc/alternatives/链接问题
我之前就遇到过这个问题,当我把软连接更改成正确的路径后,如果中间服务器重启,那么这些链接又会恢复原样,之前解决办法比较粗暴,直接重装系统。最近又有一些新发现,还没研究出来

如果有熟悉liunx alternatives这个软件的还请帮帮我
我试过alternatives --install,但是好像没啥反应

展开阅读全文

500错误

06-14

我做一个上传图片的JSP页面 数据库中创建了该表。运行老是出先500错 麻烦高手指点rnrnrnjavax.servlet.ServletException: Error instantiating servlet class linyu.com.servlet.UserMerchandiseServletrn org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)rn org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)rn org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:866)rn org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:716)rn org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1498)rn java.lang.Thread.run(Unknown Source)rnrnrnroot cause rnrnjava.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileItemFactoryrn java.lang.Class.getDeclaredConstructors0(Native Method)rn java.lang.Class.privateGetDeclaredConstructors(Unknown Source)rn java.lang.Class.getConstructor0(Unknown Source)rn java.lang.Class.newInstance0(Unknown Source)rn java.lang.Class.newInstance(Unknown Source)rn org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)rn org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)rn org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:866)rn org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:716)rn org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1498)rn java.lang.Thread.run(Unknown Source)rnrnrnroot cause rnrnjava.lang.ClassNotFoundException: org.apache.commons.fileupload.FileItemFactoryrn org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)rn org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)rn java.lang.ClassLoader.loadClassInternal(Unknown Source)rn java.lang.Class.getDeclaredConstructors0(Native Method)rn java.lang.Class.privateGetDeclaredConstructors(Unknown Source)rn java.lang.Class.getConstructor0(Unknown Source)rn java.lang.Class.newInstance0(Unknown Source)rn java.lang.Class.newInstance(Unknown Source)rn org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)rn org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:212)rn org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:866)rn org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:716)rn org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1498)rn java.lang.Thread.run(Unknown Source)rnrn 论坛

访问报HTTP Status 500错误。ubuntu+tomcat+java6

07-25

访问报HTTP Status 500错误。ubuntu+tomcat+java6 rnrn页面的功能是显示一些要查询的XML文件。请高手帮忙看看,本人不是太懂JSP语言~rn===========================================================================rn访问返回的错误内容:rntype Exception reportrnrnmessage rnrndescription The server encountered an internal error () that prevented it from fulfilling this request.rnrnexception rnrnjavax.servlet.ServletException: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Zrn org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)rn org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781)rn org.apache.jsp.role.modrolexml_jsp._jspService(org.apache.jsp.role.modrolexml_jsp:120)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn com.goldhuman.auth.AuthFilter.doFilter(AuthFilter.java:186)rnrnrnroot cause rnrnjava.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Zrn com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)rn com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)rn com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)rn com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:662)rn com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:708)rn com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313)rn protocol.XmlRole.toXMLByteArray(XmlRole.java:636)rn org.apache.jsp.role.modrolexml_jsp._jspService(org.apache.jsp.role.modrolexml_jsp:97)rn org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)rn org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)rn org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)rn javax.servlet.http.HttpServlet.service(HttpServlet.java:802)rn com.goldhuman.auth.AuthFilter.doFilter(AuthFilter.java:186)rnrnrn====================================网页源代码======================================rn<%@page contentType="text/html; charset=GBK"%>rn<%@page import="java.lang.*"%>rn<%@page import="java.util.*"%>rn<%@page import="java.io.*"%>rn<%@page import="java.text.*"%>rn<%@page import="org.apache.commons.lang.StringEscapeUtils"%>rn<%@page import="protocol.*"%>rn<%@page import="com.goldhuman.auth.*"%>rn<%@page import="org.apache.commons.logging.Log"%>rn<%@page import="org.apache.commons.logging.LogFactory"%>rn<%rncom.goldhuman.Common.Octets.setDefaultCharset("UTF-16LE");rnString strRoleId = request.getParameter("roleid");rnString strRoleName = request.getParameter("name");rnrnLogFactory.getLog("modrolexml.jsp").info("request xml for roleid=" + strRoleId + ",name=" + strRoleName + ",operator=" + AuthFilter.getRemoteUser(session) );rnrnint roleid = -1;rnif( null != strRoleId && strRoleId.length() > 0 )rn roleid = Integer.parseInt(request.getParameter("roleid"));rnrnif( -1 == roleid && null != strRoleName && strRoleName.length() > 0 )rnrn try roleid = GameDB.getRoleIdByName( strRoleName ); rn catch (Exception e) out.println(e.toString()); return; rn if( -1 == roleid )rn rn out.println("8" );rn return;rn rnrnif( -1 == roleid )rnrn out.println("9");rn return;rnrnrnString xmlstring = null;rnbyte[] xmlbytes = null;rntryrn XmlRole.Role role = XmlRole.getRoleFromDB(roleid);rn if( null == role )rn rn out.println("7");rn return;rn rn xmlbytes = XmlRole.toXMLByteArray(role);rn if( null == xmlbytes )rn rn out.println("6");rn return;rn rn xmlstring = new String( xmlbytes, "UTF-8" );rnrn Runtime.getRuntime().exec("/bin/mkdir -p /var/spool/rolexml/outcoming");rn (new FileOutputStream("/var/spool/rolexml/outcoming/" rn +roleid+"_"+System.currentTimeMillis()/1000+".xml"))rn .write(xmlstring.getBytes("UTF-8"));rnrncatch (Exception e) out.println(e.toString()); return; rnLogFactory.getLog("modrolexml.jsp").info("getRoleInfoXML success, roleid=" + roleid + ",name=" + strRoleName + ",operator=" + AuthFilter.getRemoteUser(session) );rn%>rn<%=xmlstring%> 论坛

访问ResourceManager页面 报500错误是什么原因?

10-21

访问ResourceManager页面时,报HTTP 500错误,具体内容如下,请问是什么原因?rn[code=java]HTTP ERROR 500rnrnProblem accessing /. Reason:rnrn INTERNAL_SERVER_ERRORrnCaused by:rnrnjava.lang.InternalErrorrn at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:755)rn at sun.misc.URLClassPath.getResource(URLClassPath.java:169)rn at java.net.URLClassLoader$1.run(URLClassLoader.java:194)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:190)rn at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:306)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:295)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:247)rn at java.util.ResourceBundle$RBClassLoader.loadClass(ResourceBundle.java:435)rn at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2289)rn at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1364)rn at java.util.ResourceBundle.findBundle(ResourceBundle.java:1328)rn at java.util.ResourceBundle.findBundle(ResourceBundle.java:1282)rn at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1224)rn at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)rn at java.util.logging.Level.getLocalizedName(Level.java:223)rn at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:64)rn at java.util.logging.StreamHandler.publish(StreamHandler.java:179)rn at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)rn at java.util.logging.Logger.log(Logger.java:478)rn at java.util.logging.Logger.doLog(Logger.java:500)rn at java.util.logging.Logger.log(Logger.java:523)rn at java.util.logging.Logger.warning(Logger.java:1026)rn at com.google.inject.servlet.InternalServletModule$BackwardsCompatibleServletContextProvider.get(InternalServletModule.java:62)rn at com.google.inject.servlet.InternalServletModule$BackwardsCompatibleServletContextProvider.get(InternalServletModule.java:48)rn at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)rn at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)rn at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)rn at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)rn at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:114)rn at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)rn at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)rn at org.apache.hadoop.http.HttpServer2$QuotingInputFilter.doFilter(HttpServer2.java:1183)rn at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)rn at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)rn at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)rn at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)rn at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)rn at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)rn at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)rn at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)rn at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)rn at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)rn at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)rn at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)rn at org.mortbay.jetty.Server.handle(Server.java:326)rn at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)rn at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)rn at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)rn at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)rn at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)rn at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)rn at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)rnCaused by: java.io.FileNotFoundException: /usr/java/jdk1.6.0_31/jre/lib/ext/localedata.jarrn at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:644)rn at sun.misc.URLClassPath$JarLoader.access$600(URLClassPath.java:540)rn at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:607)rn at java.security.AccessController.doPrivileged(Native Method)rn at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:599)rn at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:753)rn ... 54 morernCaused by:rnrnjava.io.FileNotFoundException: /usr/java/jdk1.6.0_31/jre/lib/ext/localedata.jarrn at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:644)rn at sun.misc.URLClassPath$JarLoader.access$600(URLClassPath.java:540)rn at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:607)rn at java.security.AccessController.doPrivileged(Native Method)rn at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:599)rn at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:753)rn at sun.misc.URLClassPath.getResource(URLClassPath.java:169)rn at java.net.URLClassLoader$1.run(URLClassLoader.java:194)rn at java.security.AccessController.doPrivileged(Native Method)rn at java.net.URLClassLoader.findClass(URLClassLoader.java:190)rn at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:306)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:295)rn at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)rn at java.lang.ClassLoader.loadClass(ClassLoader.java:247)rn at java.util.ResourceBundle$RBClassLoader.loadClass(ResourceBundle.java:435)rn at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2289)rn at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1364)rn at java.util.ResourceBundle.findBundle(ResourceBundle.java:1328)rn at java.util.ResourceBundle.findBundle(ResourceBundle.java:1282)rn at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1224)rn at java.util.ResourceBundle.getBundle(ResourceBundle.java:705)rn at java.util.logging.Level.getLocalizedName(Level.java:223)rn at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:64)rn at java.util.logging.StreamHandler.publish(StreamHandler.java:179)rn at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)rn at java.util.logging.Logger.log(Logger.java:478)rn at java.util.logging.Logger.doLog(Logger.java:500)rn at java.util.logging.Logger.log(Logger.java:523)rn at java.util.logging.Logger.warning(Logger.java:1026)rn at com.google.inject.servlet.InternalServletModule$BackwardsCompatibleServletContextProvider.get(InternalServletModule.java:62)rn at com.google.inject.servlet.InternalServletModule$BackwardsCompatibleServletContextProvider.get(InternalServletModule.java:48)rn at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:55)rn at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)rn at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)rn at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)rn at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:114)rn at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)rn at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)rn at org.apache.hadoop.http.HttpServer2$QuotingInputFilter.doFilter(HttpServer2.java:1183)rn at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)rn at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)rn at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)rn at org.apache.hadoop.http.NoCacheFilter.doFilter(NoCacheFilter.java:45)rn at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)rn at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)rn at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)rn at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)rn at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)rn at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)rn at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)rn at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)rn at org.mortbay.jetty.Server.handle(Server.java:326)rn at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)rn at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)rn at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)rn at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)rn at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)rn at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)rn at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)rnPowered by Jetty://rnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrnrn[/code] 论坛

JSP页面报500错误 java.lang.NullPointerException

06-13

服务器其他页面都正常,就这个报这个错误,是哪里出现了问题rnrnError 500--Internal Server Error rnjava.lang.NullPointerExceptionrn at jsp_servlet._callout_telmarket.__report_wcqk_query_list._jspService(__report_wcqk_query_list.java:483)rn at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)rn at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:391)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)rn at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at com.kingdom.kdf.CharsetFilter.doFilter(CharsetFilter.java:91)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3368)rn at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)rn at weblogic.security.service.SecurityManager.runAs(Unknown Source)rn at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)rn at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)rn at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)rn rn 论坛

neutron agent-list报500错误

07-12

请各位大神帮忙看看,谢谢!rnrn[root@node1 ~]# neutron agent-list --debugrnDEBUG: keystoneclient.session REQ: curl -g -i -X GET http://192.168.16.27:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"rnDEBUG: keystoneclient.session RESP: [200] Date: Tue, 11 Jul 2017 09:45:01 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-7cbd6791-6a9e-4ac9-84dd-dbabb72fbd36 Content-Length: 253 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json rnRESP BODY: "version": "status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": ["base": "application/json", "type": "application/vnd.openstack.identity-v3+json"], "id": "v3.4", "links": ["href": "http://192.168.16.27:35357/v3/", "rel": "self"]rnrnDEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')rnDEBUG: stevedore.extension found extension EntryPoint.parse('json = cliff.formatters.json_format:JSONFormatter')rnDEBUG: stevedore.extension found extension EntryPoint.parse('csv = cliff.formatters.commaseparated:CSVLister')rnDEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')rnDEBUG: stevedore.extension found extension EntryPoint.parse('yaml = cliff.formatters.yaml_format:YAMLFormatter')rnDEBUG: stevedore.extension found extension EntryPoint.parse('yaml = clifftablib.formatters:YamlFormatter')rnDEBUG: stevedore.extension found extension EntryPoint.parse('json = clifftablib.formatters:JsonFormatter')rnDEBUG: stevedore.extension found extension EntryPoint.parse('html = clifftablib.formatters:HtmlFormatter')rnDEBUG: neutronclient.neutron.v2_0.agent.ListAgent get_data(Namespace(columns=[], fields=[], formatter='table', max_width=0, noindent=False, quote_mode='nonnumeric', request_format='json', show_details=False, sort_dir=[], sort_key=[]))rnDEBUG: keystoneclient.auth.identity.v3.base Making authentication request to http://192.168.16.27:35357/v3/auth/tokensrnDEBUG: keystoneclient.session REQ: curl -g -i -X GET http://192.168.16.27:9696/v2.0/agents.json -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: SHA11b7a18b97259331bbe4cf62761be34eda0580639"rnDEBUG: keystoneclient.session RESP: [500] Content-Length: 114 Content-Type: text/plain; charset=UTF-8 X-Openstack-Request-Id: req-cb357b2e-2dcb-45e0-b89e-b77e22536156 Date: Tue, 11 Jul 2017 09:45:02 GMT Connection: keep-alive rnRESP BODY: 500 Internal Server ErrorrnrnThe server has either erred or is incapable of performing the requested operation.rnrnrnrnDEBUG: neutronclient.v2_0.client Error message: 500 Internal Server ErrorrnrnThe server has either erred or is incapable of performing the requested operation.rnrnrnERROR: neutronclient.shell 500 Internal Server ErrorrnrnThe server has either erred or is incapable of performing the requested operation.rnrnrnTraceback (most recent call last):rn File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 814, in run_subcommandrn return run_command(cmd, cmd_parser, sub_argv)rn File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 110, in run_commandrn return cmd.run(known_args)rn File "/usr/lib/python2.7/site-packages/neutronclient/common/command.py", line 29, in runrn return super(OpenStackCommand, self).run(parsed_args)rn File "/usr/lib/python2.7/site-packages/cliff/display.py", line 92, in runrn column_names, data = self.take_action(parsed_args)rn File "/usr/lib/python2.7/site-packages/neutronclient/common/command.py", line 35, in take_actionrn return self.get_data(parsed_args)rn File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 716, in get_datarn data = self.retrieve_list(parsed_args)rn File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 679, in retrieve_listrn data = self.call_server(neutron_client, search_opts, parsed_args)rn File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 651, in call_serverrn data = obj_lister(**search_opts)rn File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 102, in with_paramsrn ret = self.function(instance, *args, **kwargs)rn File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1217, in list_agentsrn return self.get(self.agents_path, params=_params)rn File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 293, in getrn headers=headers, params=params)rn File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 270, in retry_requestrn headers=headers, params=params)rn File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 211, in do_requestrn self._handle_fault_response(status_code, replybody)rn File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_responsern exception_handler_v20(status_code, des_error_body)rn File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20rn message=message)rnNeutronClientException: 500 Internal Server ErrorrnrnThe server has either erred or is incapable of performing the requested operation. 论坛

没有更多推荐了,返回首页