各位大神帮忙看看吧这个错误: Io 异常: Bad packet type

各位帮忙看看吧,已经试过换jdk ,换oracle驱动,也换过不同版本eclipse,错误都一样,能想到的都用过了,这个错误还是解决,数据库端口、地址全都没问题。项目是从svn下来的,项目组其他人下代码都没问题,都能启动运行,大家环境都是一样的,只有我的出现这个错误。
输入如下:
java.sql.SQLException: Io 异常: Bad packet type
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:441)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.createConnection(JDBCConnection.java:328)
at org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:105)
at org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:54)
at org.eclipse.datatools.connectivity.drivers.jdbc.JDBCConnection.open(JDBCConnection.java:96)
at org.eclipse.datatools.enablement.internal.oracle.JDBCOracleConnectionFactory.createConnection(JDBCOracleConnectionFactory.java:27)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:83)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:359)
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(PingJob.java:76)
at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:59)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

3个回答

看端口吧 一般这问题 基本上都是端口的毛病

补充下:用plsql 连接oracle 都是没问题的

看数据连接的oracle的端口是否正确

qinzzjs47
夏日鸢尾 回复danielinbiti: 解决了,电脑问题,换台电脑就搞定了,至于什么原因还不清楚,谢了
2 年多之前 回复
danielinbiti
danielinbiti 如果没有特别改动,一般都是1521
2 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
java.sql.SQLException: Io 异常: 连接超时

帮我看看咋回事啊?我搞不懂。就是运行很久的一个项目,最近突然就动不动就登陆不了,然后连首页都显示不出来了。然后只能重启服务,就又没问题了。老师需要重启。帮我看看日志全是这个,是什么意思啊? ERROR 2013-12-06 13:12:20,831 org.logicalcobwebs.proxool.GAP-Pool #0041 encountered errors during destruction: java.sql.SQLException: Io 异常: 连接超时 at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:131) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:197) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:261) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:566) at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:500) at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:3509) at org.logicalcobwebs.proxool.ProxyConnection.reallyClose(ProxyConnection.java:192) at org.logicalcobwebs.proxool.ConnectionPool.removeProxyConnection(ConnectionPool.java:427) at org.logicalcobwebs.proxool.HouseKeeper.sweep(HouseKeeper.java:139) at org.logicalcobwebs.proxool.HouseKeeperThread.run(HouseKeeperThread.java:39) Caused by: java.net.SocketException: 连接超时 at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at oracle.net.ns.Packet.receive(Packet.java:240) at oracle.net.ns.DataPacket.receive(DataPacket.java:92) at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172) at oracle.net.ns.NetInputStream.read(NetInputStream.java:117) at oracle.net.ns.NetInputStream.read(NetInputStream.java:92) at oracle.net.ns.NetInputStream.read(NetInputStream.java:77) at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1034) at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1010) at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:97) at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:487) ... 5 more

使用oracle时, IO 错误: 怎么解决啊?

![图片说明](https://img-ask.csdn.net/upload/201708/04/1501813898_842108.png) IO 错误: The Network Adapter could not establish the connection

本机链接虚拟机数据库,出现ORA-12569: TNS:packet checksum failure错误提醒

本机和虚拟机可以联通,访问虚拟机数据出错 ```C:\Users\liuye>ping 192.168.88.130 正在 Ping 192.168.88.130 具有 32 字节的数据: 来自 192.168.88.130 的回复: 字节=32 时间<1ms TTL=128 来自 192.168.88.130 的回复: 字节=32 时间<1ms TTL=128 来自 192.168.88.130 的回复: 字节=32 时间<1ms TTL=128 来自 192.168.88.130 的回复: 字节=32 时间<1ms TTL=128 192.168.88.130 的 Ping 统计信息: 数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失), 往返行程的估计时间(以毫秒为单位): 最短 = 0ms,最长 = 0ms,平均 = 0ms C:\Users\liuye>sqlplus scott/tiger@192.168.88.130:1158/orcl SQL*Plus: Release 12.1.0.1.0 Production on Tue Jun 11 18:54:47 2019 Copyright (c) 1982, 2013, Oracle. All rights reserved. ERROR: ORA-12569: TNS:packet checksum failure Enter user-name: ```

关于webservice访问是出现的错误 Bad envelope tag: script

今天在做对接的时候出现了一个问题,访问其他的服务其实报的一个错误,查了好久都没有找到好的解决方案 不知道有没有那位大神碰到过,帮忙解决下,麻烦了 贴出部分代码 ``` org.xml.sax.SAXException: Bad envelope tag: script AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Bad envelope tag: script faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Bad envelope tag: script at org.apache.axis.message.EnvelopeBuilder.startElement(EnvelopeBuilder.java:71) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1048) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:379) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:605) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3138) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:880) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:648) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:332) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) ```

麻烦大神帮忙看下 java.net.SocketException: Connection reset 不是经常出现间歇性出现

错误代码 java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78) at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106) at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116) at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973) at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.example.madame.service.JokeService.jokeGet(JokeService.java:86) at com.example.madame.controller.OneSentencePerDayController.test35(OneSentencePerDayController.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:892) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1039) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908) at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882) at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) 我的代码 public String joke() { try { // String urlTypeName = java.net.URLEncoder.encode(city1, "utf-8"); URL url = new URL("xxx"); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setConnectTimeout(5000); conn.setRequestMethod("GET"); if (conn.getResponseCode() == HttpURLConnection.HTTP_OK) { //结果码=200 InputStream is = conn.getInputStream(); //内存流 , ByteArrayOutputStream boas = new ByteArrayOutputStream(); byte[] buffer = new byte[1024]; int len = -1; while (is.available() != 0&&(len = is.read(buffer)) != -1) { boas.write(buffer, 0, len); } System.out.println("GET请求获取的数据:" + boas.toString()); JSONObject jsonObject = JSONObject.fromObject(boas.toString()); String reason = String.valueOf(jsonObject.get("reason")); if ("success".equals(reason)) { Object result = jsonObject.get("result"); JSONArray jsonArray = JSONArray.fromObject(result.toString()); int count = 0; String joke = ""; if (jsonArray.size() > 0) { for (int i = 0; i < jsonArray.size(); i++) { String content = String.valueOf(JSONObject.fromObject(jsonArray.get(i)).get("content")); count += 1; joke += " <tr align=\"center\" style=\"text-indent:2em;\">\n" + " <td >" + count + "." + content + "</td>\n" + " </tr>"; if (count == 3) { break; } } boas.close(); is.close(); return joke; } } } } catch (IOException e) { e.printStackTrace(); } return null; }

oracle(rac)+druid 连接异常,connect reset

各位好!最近在线上遇到一个问题,重启应用服务后第一次访问以及闲置一段时间都会出现下面的错误,已经排除了防火墙、驱动包,且加上druid提供的testOnBorrow也不能解决第一次的问题! [DruidDataSource.java:1111] discard connection java.sql.SQLRecoverableException: IO 错误: Connection reset at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1067) at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1207) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1296) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3613) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3657) at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495) at com.alibaba.druid.pool.DruidPooledPreparedStatement.executeQuery(DruidPooledPreparedStatement.java:227) at org.springframework.jdbc.core.JdbcTemplate$1.doInPreparedStatement(JdbcTemplate.java:646) at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:589) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:639) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:668) at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:676) at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:731) at com.csii.ccbs.aplt.tran.ThreadTranArea.queryForObject(ThreadTranArea.java:937) at com.csii.ccbs.aplt.TranContext.queryForObject(TranContext.java:1135) at com.csii.ccbs.aplt.service.trs.impl.CtranctServiceImpl.getTranControl(CtranctServiceImpl.java:66) at com.csii.ccbs.aplt.tran.ThreadTranArea.getCtranct(ThreadTranArea.java:579) at com.csii.ccbs.aplt.TranContext.getCtranct(TranContext.java:718) at com.csii.ccbs.aplt.oltp.base.template.CcbsTranTemplate.execute(CcbsTranTemplate.java:110) at com.csii.pe.chain.command.DelegateCommand.execute(DelegateCommand.java:39) at com.csii.pe.chain.ChainImpl.execute(ChainImpl.java:114) at com.csii.pe.core.CoreControllerImpl.execute(CoreControllerImpl.java:113) at com.csii.ccbs.aplt.monitor.MoniteredCoreController.execute(MoniteredCoreController.java:195) at com.csii.pe.channel.stream.AbstractBaseHandler.handleInternal(AbstractBaseHandler.java:211) at com.csii.pe.channel.stream.AbstractBaseHandler.handle(AbstractBaseHandler.java:107) at com.csii.pe.service.comm.tcp.TcpServer.internalHandle(TcpServer.java:281) at com.csii.pe.service.comm.tcp.TcpServer.access$7(TcpServer.java:263) at com.csii.pe.service.comm.tcp.TcpServer$3.run(TcpServer.java:256) at com.csii.pe.service.executor.PooledExecutor$InnerRunnable.run(PooledExecutor.java:227) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at oracle.net.ns.Packet.receive(Packet.java:308) at oracle.net.ns.DataPacket.receive(DataPacket.java:106) at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:324) at oracle.net.ns.NetInputStream.read(NetInputStream.java:268) at oracle.net.ns.NetInputStream.read(NetInputStream.java:190) at oracle.net.ns.NetInputStream.read(NetInputStream.java:107) at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124) at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80) at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1137) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:350) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208) at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1046) ... 31 common frames omitted

Golang MySQL错误-packet.go:33:意外的EOF

<div class="post-text" itemprop="text"> <p>I am switching my entire code base from PHP to Go and during several processes that run, I randomly get this error:</p> <pre><code>[mysql] 2016/10/11 09:17:16 packets.go:33: unexpected EOF </code></pre> <p>Here is my db package that handles all connections to the database:</p> <pre><code>package db import ( "database/sql" _ "github.com/go-sql-driver/mysql" "pkg/db" ) var connection *sql.DB var err error func GetConnection() *sql.DB { if connection != nil { fmt.Println("********** CHECKING PING") err = connection.Ping() if err == nil { fmt.Println("************ CONNECTION STILL ACTIVE") return connection } else { fmt.Println("********** PING ERROR: " + err.Error()) } } connection, err = sql.Open("mysql", db.DEVUSER + ":" + db.DEVUSER_PASSWORD + "@tcp(localhost:3306)/main?parseTime=true") if err != nil { panic(err) } return connection } </code></pre> <p>Is there anything I'm doing wrong with this db package that causes this error to be thrown? What exactly does this error mean? I make sure to return the current connection if there is one open so for multiple requests it uses the same connection object. </p> <p>Here's an excerpt from the mysql packets.go:</p> <pre><code>// Read packet to buffer 'data' func (mc *mysqlConn) readPacket() ([]byte, error) { var payload []byte for { // Read packet header data, err := mc.buf.readNext(4) if err != nil { errLog.Print(err) mc.Close() return nil, driver.ErrBadConn } // Packet Length [24 bit] pktLen := int(uint32(data[0]) | uint32(data[1])&lt;&lt;8 | uint32(data[2])&lt;&lt;16) if pktLen &lt; 1 { errLog.Print(ErrMalformPkt) mc.Close() return nil, driver.ErrBadConn } // Check Packet Sync [8 bit] if data[3] != mc.sequence { if data[3] &gt; mc.sequence { return nil, ErrPktSyncMul } return nil, ErrPktSync } mc.sequence++ // Read packet body [pktLen bytes] data, err = mc.buf.readNext(pktLen) if err != nil { errLog.Print(err) mc.Close() return nil, driver.ErrBadConn } isLastPacket := (pktLen &lt; maxPacketSize) // Zero allocations for non-splitting packets if isLastPacket &amp;&amp; payload == nil { return data, nil } payload = append(payload, data...) if isLastPacket { return payload, nil } } } </code></pre> <p>The first "errLog.Print(err)" is line 33 in the "Read packet header" section.</p> <p>Any help is greatly appreciated!</p> <p>I added a few log.Println to the connection package and let the process run, and right where I get this error, this is what the console prints:</p> <pre><code>********** CHECKING PING ************ CONNECTION STILL ACTIVE [mysql] 2016/10/11 11:57:27 packets.go:33: unexpected EOF ********** CHECKING PING ************ CONNECTION STILL ACTIVE </code></pre> </div>

Java出现了java.io.StreamCorruptedException

java.io.StreamCorruptedException: invalid type code: 00 如题,我是在做模拟ATM的时候遇到问题 具体问题:java.io.StreamCorruptedException: invalid type code: 00 at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at programone.ATMMachine2.fileExist(ATMMachine2.java:36) at programone.ATMMachine2.main(ATMMachine2.java:60)

求大神抽时间看看,java连接本地mysql数据库出现connection reset错误

小弟弄这个小问题弄了好久,通过各种渠道找方法最后实在是没有办法了,望大神抽时间帮忙看看,谢谢 代码如下 import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; public class MysqlConnection { public static void main(String[] args) { try { Class.forName("com.mysql.jdbc.Driver"); String url="jdbc:mysql://localhost:3306/test"; Connection con=DriverManager.getConnection(url, "root",""); Statement stmt=con.createStatement(); String sql="select * from msg"; boolean m=stmt.execute(sql); if(m){ System.out.println("succ"); }else System.out.println("false"); } catch (ClassNotFoundException e) { e.printStackTrace(); } catch (SQLException e) { e.printStackTrace(); } } } 出现如下错误: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: Connection reset STACKTRACE: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:105) at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:148) at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:176) at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1899) at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:481) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:964) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2544) at com.mysql.jdbc.Connection.<init>(Connection.java:1474) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at com.iotek.mysql.MysqlConnection.main(MysqlConnection.java:16) ** END NESTED EXCEPTION ** Last packet sent to the server was 27 ms ago. at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:552) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:964) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2544) at com.mysql.jdbc.Connection.<init>(Connection.java:1474) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:264) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at com.iotek.mysql.MysqlConnection.main(MysqlConnection.java:16)

错误:8 - CURL错误:GnuTLS recv错误(-9):收到意外长度的TLS数据包

<div class="post-text" itemprop="text"> <p>I have infusionsoft api lib running on my server. In the code, I have to find contacts in infusionsoft using their method <code>dsFind</code>. If I use 5 as the limit to fetch no of contacts, it is working fine but when I make it more than 10, it is throwing below error:</p> <p><code>ERROR: 8 - CURL error: GnuTLS recv error (-9): A TLS packet with unexpected length was received</code>.</p> <p>The same code is working fine on some other server.</p> </div>

【急!】java访问hbase出错,无明显异常,无法读取对应表的信息(需求就是从Hbase之中的某张表读取信息)

有点着急请哪位大神帮忙一下 ## 本地Hosts配置(对应的机上面的hosts的文件配置都一样): -------------------------- 127.0.0.1 localhost 192.168.0.25 Master.Hadoop 192.168.0.26 Slave1.Hadoop 192.168.0.27 Slave2.Hadoop 192.168.0.28 Slave3.Hadoop ## hbase的基本信息: -------------------------- http://master.hadoop:60010/master-status HBase Root Directory: hdfs://Master.Hadoop:9000/hbase ## 代码 -------------------------- Configuration configuration = HBaseConfiguration.create(); configuration = HBaseConfiguration.create(); configuration.set("hbase.zookeeper.property.clientPort", "2181"); configuration.set("hbase.zookeeper.quorum", "Master.Hadoop,Slave1.Hadoop,Slave2.Hadoop,Slave1.Hadoop"); configuration.set("hbase.master", "Master.Hadoop:60010"); //"Master.Hadoop:60010" System.setProperty("hadoop.home.dir", "C:\\Program Files\\hadoop\\hadoop-common-2.2.0-bin-master"); connection = ConnectionFactory.createConnection(configuration); System.out.println( connection ); Admin admin = connection.getAdmin(); System.out.println( admin ); TableName tableName1 = TableName.valueOf("hbase:meta"); System.out.println( tableName1 ); System.out.println( admin.tableExists(tableName1) ); Table table = connection.getTable(tableName1); HTableDescriptor a = table.getTableDescriptor(); System.out.println( a ); ## 日志信息: -------------------------- "C:\Program Files\Java\jdk1.8.0_181\bin\java.exe" "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.3\lib\idea_rt.jar=57269:C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_181\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\rt.jar;C:\Users\Administrator\IdeaProjects\TestHbase\out\production\TestHbase;D:\lib\xz-1.0.jar;D:\lib\asm-3.1.jar;D:\lib\avro-1.7.4.jar;D:\lib\common-1.0.jar;D:\lib\domain-1.0.jar;D:\lib\jfinal-3.1.jar;D:\lib\joni-2.1.2.jar;D:\lib\noggit-0.6.jar;D:\lib\jsch-0.1.42.jar;D:\lib\service-1.0.jar;D:\lib\xmlenc-0.52.jar;D:\lib\druid-1.0.31.jar;D:\lib\guava-12.0.1.jar;D:\lib\jcifs-1.3.17.jar;D:\lib\jetty-6.1.26.jar;D:\lib\jsr305-1.3.9.jar;D:\lib\log4j-1.2.16.jar;D:\lib\cos-26Dec2008.jar;D:\lib\paranamer-2.3.jar;D:\lib\activation-1.1.jar;D:\lib\commons-el-1.0.jar;D:\lib\commons-io-2.4.jar;D:\lib\httpcore-4.4.4.jar;D:\lib\httpmime-4.4.1.jar;D:\lib\jaxb-api-2.2.2.jar;D:\lib\jcodings-1.0.8.jar;D:\lib\jsp-2.1-6.1.14.jar;D:\lib\stax-api-1.0-2.jar;D:\lib\cglib-nodep-3.1.jar;D:\lib\commons-cli-1.2.jar;D:\lib\commons-net-3.1.jar;D:\lib\disruptor-3.3.0.jar;D:\lib\fastjson-1.2.37.jar;D:\lib\jersey-core-1.9.jar;D:\lib\servlet-api-2.4.jar;D:\lib\slf4j-api-1.6.6.jar;D:\lib\stax2-api-3.1.4.jar;D:\lib\zookeeper-3.4.6.jar;D:\lib\commons-lang-2.6.jar;D:\lib\commons-math-2.2.jar;D:\lib\httpclient-4.5.2.jar;D:\lib\solr-solrj-6.1.0.jar;D:\lib\freemarker-2.3.23.jar;D:\lib\hadoop-auth-2.5.1.jar;D:\lib\hadoop-hdfs-2.7.4.jar;D:\lib\jersey-server-1.9.jar;D:\lib\jetty-util-6.1.26.jar;D:\lib\netty-3.6.2.Final.jar;D:\lib\api-util-1.0.0-M20.jar;D:\lib\commons-codec-1.11.jar;D:\lib\hbase-client-1.2.3.jar;D:\lib\hbase-common-1.2.3.jar;D:\lib\hbase-server-1.4.0.jar;D:\lib\jsp-api-2.1-6.1.14.jar;D:\lib\leveldbjni-all-1.8.jar;D:\lib\metrics-core-2.2.0.jar;D:\lib\metrics-core-3.1.2.jar;D:\lib\commons-logging-1.2.jar;D:\lib\commons-math3-3.1.1.jar;D:\lib\hadoop-client-2.7.4.jar;D:\lib\hadoop-common-2.5.1.jar;D:\lib\hbase-metrics-1.4.0.jar;D:\lib\jamon-runtime-2.4.1.jar;D:\lib\protobuf-java-2.5.0.jar;D:\lib\slf4j-log4j12-1.6.6.jar;D:\lib\snappy-java-1.0.4.1.jar;D:\lib\commons-digester-1.8.jar;D:\lib\hbase-protocol-1.2.3.jar;D:\lib\jackson-jaxrs-1.9.13.jar;D:\lib\jcl-over-slf4j-1.7.7.jar;D:\lib\commons-daemon-1.0.13.jar;D:\lib\hadoop-yarn-api-2.7.4.jar;D:\lib\hbase-procedure-1.4.0.jar;D:\lib\jasper-runtime-5.5.23.jar;D:\lib\api-asn1-api-1.0.0-M20.jar;D:\lib\commons-compress-1.4.1.jar;D:\lib\commons-httpclient-3.1.jar;D:\lib\jasper-compiler-5.5.23.jar;D:\lib\jetty-sslengine-6.1.26.jar;D:\lib\netty-all-4.0.23.Final.jar;D:\lib\servlet-api-2.5-6.1.14.jar;D:\lib\apacheds-i18n-2.0.0-M15.jar;D:\lib\commons-beanutils-1.7.0.jar;D:\lib\hbase-annotations-1.2.3.jar;D:\lib\hbase-metrics-api-1.4.0.jar;D:\lib\hbase-prefix-tree-1.4.0.jar;D:\lib\jackson-core-asl-1.9.13.jar;D:\lib\woodstox-core-asl-4.4.1.jar;D:\lib\hadoop-annotations-2.5.1.jar;D:\lib\hadoop-yarn-client-2.7.4.jar;D:\lib\hadoop-yarn-common-2.5.1.jar;D:\lib\hbase-common-1.4.0-tests.jar;D:\lib\commons-collections-3.2.2.jar;D:\lib\commons-configuration-1.6.jar;D:\lib\hbase-hadoop-compat-1.4.0.jar;D:\lib\jackson-mapper-asl-1.9.13.jar;D:\lib\hbase-hadoop2-compat-1.4.0.jar;D:\lib\mysql-connector-java-5.1.38.jar;D:\lib\commons-beanutils-core-1.8.0.jar;D:\lib\findbugs-annotations-1.3.9-1.jar;D:\lib\htrace-core-3.1.0-incubating.jar;D:\lib\hadoop-yarn-server-common-2.7.4.jar;D:\lib\apacheds-kerberos-codec-2.0.0-M15.jar;D:\lib\hadoop-mapreduce-client-app-2.7.4.jar;D:\lib\hadoop-mapreduce-client-core-2.5.1.jar;D:\lib\hadoop-mapreduce-client-common-2.7.4.jar;D:\lib\hadoop-mapreduce-client-shuffle-2.7.4.jar;D:\lib\hadoop-mapreduce-client-jobclient-2.7.4.jar" TestHbase [DEBUG] [10:23:53] org.apache.hadoop.security.Groups - Creating new Groups object [DEBUG] [10:23:53] org.apache.hadoop.util.NativeCodeLoader - Trying to load the custom-built native-hadoop library... [DEBUG] [10:23:53] org.apache.hadoop.util.NativeCodeLoader - Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: no hadoop in java.library.path [DEBUG] [10:23:53] org.apache.hadoop.util.NativeCodeLoader - java.library.path=C:\Program Files\Java\jdk1.8.0_181\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jdk1.7.0_51\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;. [WARN ] [10:23:53] org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable [DEBUG] [10:23:53] org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback - Falling back to shell based [DEBUG] [10:23:53] org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback - Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping [DEBUG] [10:23:53] org.apache.hadoop.security.Groups - Group mapping impl=org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback; cacheTimeout=300000; warningDeltaMs=5000 [DEBUG] [10:23:53] org.apache.hadoop.metrics2.lib.MutableMetricsFactory - field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginSuccess with annotation @org.apache.hadoop.metrics2.annotation.Metric(about=, sampleName=Ops, always=false, type=DEFAULT, value=[Rate of successful kerberos logins and latency (milliseconds)], valueName=Time) [DEBUG] [10:23:53] org.apache.hadoop.metrics2.lib.MutableMetricsFactory - field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginFailure with annotation @org.apache.hadoop.metrics2.annotation.Metric(about=, sampleName=Ops, always=false, type=DEFAULT, value=[Rate of failed kerberos logins and latency (milliseconds)], valueName=Time) [DEBUG] [10:23:53] org.apache.hadoop.metrics2.lib.MutableMetricsFactory - field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.getGroups with annotation @org.apache.hadoop.metrics2.annotation.Metric(about=, sampleName=Ops, always=false, type=DEFAULT, value=[GetGroups], valueName=Time) [DEBUG] [10:23:53] org.apache.hadoop.metrics2.impl.MetricsSystemImpl - UgiMetrics, User and group related metrics [DEBUG] [10:23:54] org.apache.hadoop.security.authentication.util.KerberosName - Kerberos krb5 configuration not found, setting default realm to empty [DEBUG] [10:23:54] org.apache.hadoop.security.UserGroupInformation - hadoop login [DEBUG] [10:23:54] org.apache.hadoop.security.UserGroupInformation - hadoop login commit [DEBUG] [10:23:54] org.apache.hadoop.security.UserGroupInformation - using local user:NTUserPrincipal: admin [DEBUG] [10:23:54] org.apache.hadoop.security.UserGroupInformation - UGI loginUser:admin (auth:SIMPLE) [INFO ] [10:23:55] org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper - Process identifier=hconnection-0x17d0685f connecting to ZooKeeper ensemble=192.168.0.25:2181 [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:host.name=WIN-SSJFMH6ELVT [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:java.version=1.8.0_181 [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:java.vendor=Oracle Corporation [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:java.home=C:\Program Files\Java\jdk1.8.0_181\jre [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:java.class.path=C:\Program Files\Java\jdk1.8.0_181\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_181\jre\lib\rt.jar;C:\Users\Administrator\IdeaProjects\TestHbase\out\production\TestHbase;D:\lib\xz-1.0.jar;D:\lib\asm-3.1.jar;D:\lib\avro-1.7.4.jar;D:\lib\common-1.0.jar;D:\lib\domain-1.0.jar;D:\lib\jfinal-3.1.jar;D:\lib\joni-2.1.2.jar;D:\lib\noggit-0.6.jar;D:\lib\jsch-0.1.42.jar;D:\lib\service-1.0.jar;D:\lib\xmlenc-0.52.jar;D:\lib\druid-1.0.31.jar;D:\lib\guava-12.0.1.jar;D:\lib\jcifs-1.3.17.jar;D:\lib\jetty-6.1.26.jar;D:\lib\jsr305-1.3.9.jar;D:\lib\log4j-1.2.16.jar;D:\lib\cos-26Dec2008.jar;D:\lib\paranamer-2.3.jar;D:\lib\activation-1.1.jar;D:\lib\commons-el-1.0.jar;D:\lib\commons-io-2.4.jar;D:\lib\httpcore-4.4.4.jar;D:\lib\httpmime-4.4.1.jar;D:\lib\jaxb-api-2.2.2.jar;D:\lib\jcodings-1.0.8.jar;D:\lib\jsp-2.1-6.1.14.jar;D:\lib\stax-api-1.0-2.jar;D:\lib\cglib-nodep-3.1.jar;D:\lib\commons-cli-1.2.jar;D:\lib\commons-net-3.1.jar;D:\lib\disruptor-3.3.0.jar;D:\lib\fastjson-1.2.37.jar;D:\lib\jersey-core-1.9.jar;D:\lib\servlet-api-2.4.jar;D:\lib\slf4j-api-1.6.6.jar;D:\lib\stax2-api-3.1.4.jar;D:\lib\zookeeper-3.4.6.jar;D:\lib\commons-lang-2.6.jar;D:\lib\commons-math-2.2.jar;D:\lib\httpclient-4.5.2.jar;D:\lib\solr-solrj-6.1.0.jar;D:\lib\freemarker-2.3.23.jar;D:\lib\hadoop-auth-2.5.1.jar;D:\lib\hadoop-hdfs-2.7.4.jar;D:\lib\jersey-server-1.9.jar;D:\lib\jetty-util-6.1.26.jar;D:\lib\netty-3.6.2.Final.jar;D:\lib\api-util-1.0.0-M20.jar;D:\lib\commons-codec-1.11.jar;D:\lib\hbase-client-1.2.3.jar;D:\lib\hbase-common-1.2.3.jar;D:\lib\hbase-server-1.4.0.jar;D:\lib\jsp-api-2.1-6.1.14.jar;D:\lib\leveldbjni-all-1.8.jar;D:\lib\metrics-core-2.2.0.jar;D:\lib\metrics-core-3.1.2.jar;D:\lib\commons-logging-1.2.jar;D:\lib\commons-math3-3.1.1.jar;D:\lib\hadoop-client-2.7.4.jar;D:\lib\hadoop-common-2.5.1.jar;D:\lib\hbase-metrics-1.4.0.jar;D:\lib\jamon-runtime-2.4.1.jar;D:\lib\protobuf-java-2.5.0.jar;D:\lib\slf4j-log4j12-1.6.6.jar;D:\lib\snappy-java-1.0.4.1.jar;D:\lib\commons-digester-1.8.jar;D:\lib\hbase-protocol-1.2.3.jar;D:\lib\jackson-jaxrs-1.9.13.jar;D:\lib\jcl-over-slf4j-1.7.7.jar;D:\lib\commons-daemon-1.0.13.jar;D:\lib\hadoop-yarn-api-2.7.4.jar;D:\lib\hbase-procedure-1.4.0.jar;D:\lib\jasper-runtime-5.5.23.jar;D:\lib\api-asn1-api-1.0.0-M20.jar;D:\lib\commons-compress-1.4.1.jar;D:\lib\commons-httpclient-3.1.jar;D:\lib\jasper-compiler-5.5.23.jar;D:\lib\jetty-sslengine-6.1.26.jar;D:\lib\netty-all-4.0.23.Final.jar;D:\lib\servlet-api-2.5-6.1.14.jar;D:\lib\apacheds-i18n-2.0.0-M15.jar;D:\lib\commons-beanutils-1.7.0.jar;D:\lib\hbase-annotations-1.2.3.jar;D:\lib\hbase-metrics-api-1.4.0.jar;D:\lib\hbase-prefix-tree-1.4.0.jar;D:\lib\jackson-core-asl-1.9.13.jar;D:\lib\woodstox-core-asl-4.4.1.jar;D:\lib\hadoop-annotations-2.5.1.jar;D:\lib\hadoop-yarn-client-2.7.4.jar;D:\lib\hadoop-yarn-common-2.5.1.jar;D:\lib\hbase-common-1.4.0-tests.jar;D:\lib\commons-collections-3.2.2.jar;D:\lib\commons-configuration-1.6.jar;D:\lib\hbase-hadoop-compat-1.4.0.jar;D:\lib\jackson-mapper-asl-1.9.13.jar;D:\lib\hbase-hadoop2-compat-1.4.0.jar;D:\lib\mysql-connector-java-5.1.38.jar;D:\lib\commons-beanutils-core-1.8.0.jar;D:\lib\findbugs-annotations-1.3.9-1.jar;D:\lib\htrace-core-3.1.0-incubating.jar;D:\lib\hadoop-yarn-server-common-2.7.4.jar;D:\lib\apacheds-kerberos-codec-2.0.0-M15.jar;D:\lib\hadoop-mapreduce-client-app-2.7.4.jar;D:\lib\hadoop-mapreduce-client-core-2.5.1.jar;D:\lib\hadoop-mapreduce-client-common-2.7.4.jar;D:\lib\hadoop-mapreduce-client-shuffle-2.7.4.jar;D:\lib\hadoop-mapreduce-client-jobclient-2.7.4.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.3\lib\idea_rt.jar [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:java.library.path=C:\Program Files\Java\jdk1.8.0_181\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Java\jdk1.7.0_51\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;. [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:java.io.tmpdir=C:\Users\ADMINI~1\AppData\Local\Temp\1\ [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:java.compiler=<NA> [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:os.name=Windows Server 2008 R2 [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:os.arch=amd64 [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:os.version=6.1 [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:user.name=admin [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:user.home=C:\Users\Administrator [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Client environment:user.dir=C:\Users\Administrator\IdeaProjects\TestHbase [INFO ] [10:23:55] org.apache.zookeeper.ZooKeeper - Initiating client connection, connectString=192.168.0.25:2181 sessionTimeout=90000 watcher=hconnection-0x17d0685f0x0, quorum=192.168.0.25:2181, baseZNode=/hbase [DEBUG] [10:23:55] org.apache.zookeeper.ClientCnxn - zookeeper.disableAutoWatchReset is false [INFO ] [10:23:55] org.apache.zookeeper.ClientCnxn - Opening socket connection to server 192.168.0.25/192.168.0.25:2181. Will not attempt to authenticate using SASL (unknown error) [INFO ] [10:23:55] org.apache.zookeeper.ClientCnxn - Socket connection established to 192.168.0.25/192.168.0.25:2181, initiating session [DEBUG] [10:23:55] org.apache.zookeeper.ClientCnxn - Session establishment request sent on 192.168.0.25/192.168.0.25:2181 [INFO ] [10:23:56] org.apache.zookeeper.ClientCnxn - Session establishment complete on server 192.168.0.25/192.168.0.25:2181, sessionid = 0x165a4d303830022, negotiated timeout = 40000 [DEBUG] [10:23:56] org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher - hconnection-0x17d0685f0x0, quorum=192.168.0.25:2181, baseZNode=/hbase Received ZooKeeper Event, type=None, state=SyncConnected, path=null [DEBUG] [10:23:56] org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher - hconnection-0x17d0685f-0x165a4d303830022 connected [DEBUG] [10:23:56] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 1,3 replyHeader:: 1,184683596486,0 request:: '/hbase/hbaseid,F response:: s{4294967310,184683593733,1421399758722,1536068918058,938,0,0,0,60,0,4294967310} [DEBUG] [10:23:56] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 2,4 replyHeader:: 2,184683596486,0 request:: '/hbase/hbaseid,F response:: #ffffffff000133135313538404d61737465722e4861646f6f7066626162613563302d313737332d343731342d613630622d643233626232623865373831,s{4294967310,184683593733,1421399758722,1536068918058,938,0,0,0,60,0,4294967310} [DEBUG] [10:23:56] org.apache.hadoop.hbase.ipc.AbstractRpcClient - Codec=org.apache.hadoop.hbase.codec.KeyValueCodec@7c1e2a9e, compressor=null, tcpKeepAlive=true, tcpNoDelay=true, connectTO=10000, readTO=20000, writeTO=60000, minIdleTimeBeforeClose=120000, maxRetries=0, fallbackAllowed=false, bind address=null hconnection-0x17d0685f org.apache.hadoop.hbase.client.HBaseAdmin@272ed83b hbase:meta true [DEBUG] [10:23:56] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 3,3 replyHeader:: 3,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:23:56] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 4,4 replyHeader:: 4,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:23:56] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:23:56] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [DEBUG] [10:23:57] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 5,3 replyHeader:: 5,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:23:57] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 6,4 replyHeader:: 6,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:23:57] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:23:57] org.apache.hadoop.hbase.ipc.RpcClientImpl - Not trying to connect to Master.Hadoop/192.168.0.25:60000 this server is in the failed servers list [DEBUG] [10:23:57] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 7,3 replyHeader:: 7,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:23:57] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 8,4 replyHeader:: 8,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:23:57] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:23:57] org.apache.hadoop.hbase.ipc.RpcClientImpl - Not trying to connect to Master.Hadoop/192.168.0.25:60000 this server is in the failed servers list [DEBUG] [10:23:57] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 9,3 replyHeader:: 9,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:23:57] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 10,4 replyHeader:: 10,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:23:57] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:23:57] org.apache.hadoop.hbase.ipc.RpcClientImpl - Not trying to connect to Master.Hadoop/192.168.0.25:60000 this server is in the failed servers list [DEBUG] [10:23:58] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 11,3 replyHeader:: 11,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:23:58] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 12,4 replyHeader:: 12,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:23:58] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:23:58] org.apache.hadoop.hbase.ipc.RpcClientImpl - Not trying to connect to Master.Hadoop/192.168.0.25:60000 this server is in the failed servers list [DEBUG] [10:23:59] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 13,3 replyHeader:: 13,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:23:59] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 14,4 replyHeader:: 14,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:23:59] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:23:59] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [DEBUG] [10:24:01] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 15,3 replyHeader:: 15,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:24:01] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 16,4 replyHeader:: 16,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:24:01] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:24:01] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [DEBUG] [10:24:05] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 17,3 replyHeader:: 17,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:24:05] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 18,4 replyHeader:: 18,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:24:05] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:24:05] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [DEBUG] [10:24:15] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 19,3 replyHeader:: 19,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:24:15] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 11ms [DEBUG] [10:24:15] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 20,4 replyHeader:: 20,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:24:15] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:24:15] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [DEBUG] [10:24:25] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 21,3 replyHeader:: 21,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:24:25] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 3ms [DEBUG] [10:24:25] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 22,4 replyHeader:: 22,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:24:25] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:24:25] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [DEBUG] [10:24:35] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 23,3 replyHeader:: 23,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:24:35] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 1ms [DEBUG] [10:24:35] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 24,4 replyHeader:: 24,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:24:35] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:24:35] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:24:35] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=10, retries=35, started=38894 ms ago, cancelled=false, msg= [DEBUG] [10:24:45] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 25,3 replyHeader:: 25,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:24:45] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 1ms [DEBUG] [10:24:45] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 26,4 replyHeader:: 26,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:24:45] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:24:45] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:24:45] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=11, retries=35, started=48956 ms ago, cancelled=false, msg= [DEBUG] [10:24:58] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 1ms [DEBUG] [10:25:05] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 27,3 replyHeader:: 27,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:25:05] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 28,4 replyHeader:: 28,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:25:05] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:25:05] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:25:05] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=12, retries=35, started=69113 ms ago, cancelled=false, msg= [DEBUG] [10:25:19] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 1ms [DEBUG] [10:25:25] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 29,3 replyHeader:: 29,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:25:25] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 30,4 replyHeader:: 30,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:25:25] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:25:25] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:25:25] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=13, retries=35, started=89176 ms ago, cancelled=false, msg= [DEBUG] [10:25:39] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 0ms [DEBUG] [10:25:45] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 31,3 replyHeader:: 31,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:25:45] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 32,4 replyHeader:: 32,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:25:45] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:25:45] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:25:45] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=14, retries=35, started=109299 ms ago, cancelled=false, msg= [DEBUG] [10:25:59] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 0ms [DEBUG] [10:26:05] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 33,3 replyHeader:: 33,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:26:05] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 34,4 replyHeader:: 34,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:26:05] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:26:05] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:26:05] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=15, retries=35, started=129364 ms ago, cancelled=false, msg= [DEBUG] [10:26:19] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 0ms [DEBUG] [10:26:26] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 35,3 replyHeader:: 35,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:26:26] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 36,4 replyHeader:: 36,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:26:26] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:26:26] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:26:26] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=16, retries=35, started=149567 ms ago, cancelled=false, msg= [DEBUG] [10:26:39] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 0ms [DEBUG] [10:26:46] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 37,3 replyHeader:: 37,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:26:46] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 38,4 replyHeader:: 38,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:26:46] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:26:46] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:26:46] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=17, retries=35, started=169742 ms ago, cancelled=false, msg= [DEBUG] [10:26:59] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 1ms [DEBUG] [10:27:06] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 39,3 replyHeader:: 39,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:27:06] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 40,4 replyHeader:: 40,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:27:06] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:27:06] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:27:06] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=18, retries=35, started=189961 ms ago, cancelled=false, msg= [DEBUG] [10:27:19] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 0ms [DEBUG] [10:27:26] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 41,3 replyHeader:: 41,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:27:26] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 42,4 replyHeader:: 42,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:27:26] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:27:26] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:27:26] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=19, retries=35, started=210070 ms ago, cancelled=false, msg= [DEBUG] [10:27:39] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 2ms [DEBUG] [10:27:46] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 43,3 replyHeader:: 43,184683596486,0 request:: '/hbase,F response:: s{4294967298,4294967298,1421399756338,1421399756338,0,1956,0,0,0,12,184683593750} [DEBUG] [10:27:46] org.apache.zookeeper.ClientCnxn - Reading reply sessionid:0x165a4d303830022, packet:: clientPath:null serverPath:null finished:false header:: 44,4 replyHeader:: 44,184683596486,0 request:: '/hbase/master,F response:: #ffffffff000133135313538404d61737465722e4861646f6f70004d61737465722e4861646f6f702c36303030302c31353336303638393135363739,s{184683593731,184683593731,1536068917156,1536068917156,0,0,0,316840575388352512,59,0,184683593731} [DEBUG] [10:27:46] org.apache.hadoop.hbase.ipc.RpcClientImpl - Use SIMPLE authentication for service MasterService, sasl=false [DEBUG] [10:27:46] org.apache.hadoop.hbase.ipc.RpcClientImpl - Connecting to Master.Hadoop/192.168.0.25:60000 [INFO ] [10:27:46] org.apache.hadoop.hbase.client.RpcRetryingCaller - Call exception, tries=20, retries=35, started=230074 ms ago, cancelled=false, msg= [DEBUG] [10:28:00] org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x165a4d303830022 after 1ms

tomcat挂起无响应,请各位大神帮忙看看,小弟没有C币请简练

服务器启动跑几个小时后就会报错如下信息 2015-6-16 18:50:31 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run 警告: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@2685239d -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks! 2015-6-16 18:50:31 com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector run 警告: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@2685239d -- APPARENT DEADLOCK!!! Complete Status: Managed Threads: 3 Active Threads: 3 Active Tasks: com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@4bb22a9a (com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0 Pending Tasks: com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@4bedd36e com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@2d68c79d com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask@64352cf6 Pool thread stack traces: Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main] java.net.SocketInputStream.socketRead0(Native Method) java.net.SocketInputStream.read(SocketInputStream.java:129) oracle.net.ns.Packet.receive(Unknown Source) oracle.net.ns.DataPacket.receive(Unknown Source) oracle.net.ns.NetInputStream.getNextPacket(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:930) oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:894) oracle.jdbc.ttc7.Oopen.receive(Oopen.java:109) oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:584) oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:586) oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2918) oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658) oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584) oracle.jdbc.OracleDatabaseMetaData.getTables(OracleDatabaseMetaData.java:2308) com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnectionNoQuery(DefaultConnectionTester.java:185) com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnection(DefaultConnectionTester.java:62) com.mchange.v2.c3p0.AbstractConnectionTester.activeCheckConnection(AbstractConnectionTester.java:67) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.testPooledConnection(C3P0Poolcom.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.refurbishIdleResource(C3P0PooledConnectionPool.java:310) com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1999) com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0,5,main] java.net.SocketInputStream.socketRead0(Native Method) java.net.SocketInputStream.read(SocketInputStream.java:129) oracle.net.ns.Packet.receive(Unknown Source) oracle.net.ns.DataPacket.receive(Unknown Source) oracle.net.ns.NetInputStream.getNextPacket(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:930) oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:894) oracle.jdbc.ttc7.Oopen.receive(Oopen.java:109) oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:584) oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:586) oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2918) oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658) oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584) oracle.jdbc.OracleDatabaseMetaData.getTables(OracleDatabaseMetaData.java:2308) com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnectionNoQuery(DefaultConnectionTester.java:185) com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnection(DefaultConnectionTester.java:62) com.mchange.v2.c3p0.AbstractConnectionTester.activeCheckConnection(AbstractConnectionTester.java:67) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.testPooledConnection(C3P0PooledConnectionPool.java:368) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.refurbishIdleResource(C3P0PooledConnectionPool.java:310) com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1999) com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1,5,main] java.net.SocketInputStream.socketRead0(Native Method) java.net.SocketInputStream.read(SocketInputStream.java:129) oracle.net.ns.Packet.receive(Unknown Source) oracle.net.ns.DataPacket.receive(Unknown Source) oracle.net.ns.NetInputStream.getNextPacket(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.net.ns.NetInputStream.read(Unknown Source) oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:930) oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:894) oracle.jdbc.ttc7.Oopen.receive(Oopen.java:109) oracle.jdbc.ttc7.TTC7Protocol.open(TTC7Protocol.java:584) oracle.jdbc.driver.OracleStatement.open(OracleStatement.java:586) oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2918) oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658) oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584) oracle.jdbc.OracleDatabaseMetaData.getTables(OracleDatabaseMetaData.java:2308) com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnectionNoQuery(DefaultConnectionTester.java:185) com.mchange.v2.c3p0.impl.DefaultConnectionTester.activeCheckConnection(DefaultConnectionTester.java:62) com.mchange.v2.c3p0.AbstractConnectionTester.activeCheckConnection(AbstractConnectionTester.java:67) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.testPooledConnection(C3P0PooledConnectionPool.java:368) com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.refurbishIdleResource(C3P0PooledConnectionPool.java:310) com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask.run(BasicResourcePool.java:1999) com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547) 2015-6-16 18:51:31 com.mchange.v2.async.ThreadPoolAsynchronousRunner processReplacedThreads 警告: Task com.mchange.v2.resourcepool.BasicResourcePool$AsyncTestIdleResourceTask@4bb22a9a (in deadlocked PoolThread) failed to complete in maximum time 60000ms. Trying interrupt(). 然后服务器就挂起了,所有请求都没有响应,请高手指教 是用netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'查看发现有大量的 CLOSE_WAIT 小弟没有C币请大神们见谅

xl2tpd客户端连接vpn服务端,客户端能够ping通服务器,ppp节点消失又重新出现?

1. xl2tpd客户端连接xl2tpd服务端,能连接上,客户端总能够ping通vpn server的ip,但好像总是断线,ppp节点消失一会又重新出现,又消失一会又重新出现,断断续续,且大部分处于ppp节点消失状态,网上说可能是由于无法访问vpn server的ip,但我这里总能够访问,哪位好心人如果知道,请帮助我,非常谢谢**** 我的xl2tpd版本: xl2tpd version: xl2tpd-1.3.6 ipsec版本: ipsec --version Linux Openswan U2.6.41/K3.16.0-30-generic (netkey) See `ipsec --copyright' for copyright information 发现客户端有时能够ping通www.baidu.com, 只有在有ppp节点时才能ping通,但是ppp节点又会马上消失,消失一会,又会重新出现,导致ping www.baidu.com出现: ping: sendmsg: Network is unreachable ping: sendmsg: Network is unreachable 64 bytes from 180.97.33.108: icmp_seq=8 ttl=53 time=27.1 ms 64 bytes from 180.97.33.108: icmp_seq=9 ttl=53 time=28.9 ms ping: sendmsg: Network is unreachable xl2tpd客户端的重要日志截取如下: xl2tpd[19900]: Maximum retries exceeded for tunnel 407. Closing. xl2tpd[19900]: Connection 8180 closed to 172.16.58.156, port 1701 (Timeout) rep pxl2tpd[19900]: Calling on tunnel 407 xl2tpd[19900]: Connection established to 172.16.58.156, 1701. Local: 49178, Remote: 10621 (ref=0/0). xl2tpd[19900]: Calling on tunnel 49178 xl2tpd[19900]: Call established with 172.16.58.156, Local: 10180, Remote: 475, Serial: 5 (ref=0/0) xl2tpd[19900]: Maximum retries exceeded for tunnel 49178. C. xl2tpd[19900]: Connection 10621 closed to 172.16.58.156, port 1701 (Timeout) xl2tpd[19900]: Calling on tunnel 49178 xl2tpd[19900]: Unable to deliver closing message for tunnel 49178. Destroyin. xl2tpd[19900]: Connection established to 172.16.58.156, 1701. Local: 1714, Remote: 37563 (ref=0/0). xl2tpd[19900]: Calling on tunnel 1714 xl2tpd[19900]: Call established with 172.16.58.156, Local: 32155, Remote: 7405, Serial: 7 (ref=0/0) xl2tpd[19900]: Maximum retries exceeded for tunnel 1714. Closing. xl2tpd[19900]: Connection 37563 closed to 172.16.58.156, port 1701 (Timeout) xl2tpd[19900]: Calling on tunnel 1714 xl2tpd[19900]: Unable to deliver closing message for tunnel 1714. Destroying. xl2tpd[19900]: Maximum retries exceeded for tunnel 45677. Closing. xl2tpd[19900]: Connection 54518 closed to 172.16.58.156, port 1701 (Timeout) xl2tpd[19900]: Unable to deliver closing message for tunnel 45677. Destroying anyway. xl2tpd[19900]: Maximum retries exceeded for tunnel 54466. Closing. xl2tpd[19900]: Connection 7278 closed to 172.16.58.156, port 1701 (Timeout) xl2tpd[19900]: get_call: can't find call 2529 in tunnel 54466 (ref=0/0)xl2tpd[19900]: get_call: can't find call 2529 in tunnel 54466 (ref=0/0)xl2tpd[19900]: get_call: can't find call 2529 in tunnel 54466 服务器xl2tpd日志如下: Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: Connection established to 172.16.58.154, 1701. Local: 18126, Remote: 32355 (ref=0/0). LNS session is 'default' Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: control_finish: Warning: Peer did not specify transmit speed Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: start_pppd: I'm running: Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "/usr/sbin/pppd" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "passive" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "nodetach" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "172.16.58.156:172.16.58.19" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "refuse-pap" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "auth" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "require-chap" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "debug" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "file" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "/etc/ppp/options.xl2tpd" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: "/dev/pts/32" Oct 9 10:45:36 xxx-HP-Pro-3340-MT xl2tpd[16024]: Call established with 172.16.58.154, Local: 7015, Remote: 40202, Serial: 1 Oct 9 10:45:36 xxx-HP-Pro-3340-MT pppd[29290]: pppd 2.4.5 started by root, uid 0 Oct 9 10:45:36 xxx-HP-Pro-3340-MT pppd[29290]: using channel 846 Oct 9 10:45:36 xxx-HP-Pro-3340-MT pppd[29290]: Using interface ppp4 Oct 9 10:45:36 xxx-HP-Pro-3340-MT pppd[29290]: Connect: ppp4 <--> /dev/pts/32 Oct 9 10:45:36 xxx-HP-Pro-3340-MT pppd[29290]: sent [LCP ConfReq id=0x1 <mru 1200> <asyncmap 0x0> <auth chap MD5> <magic 0xd33f6b86> <pcomp> <accomp>] Oct 9 10:45:36 xxx-HP-Pro-3340-MT NetworkManager[701]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp4, iface: ppp4) Oct 9 10:45:36 xxx-HP-Pro-3340-MT NetworkManager[701]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp4, iface: ppp4): no ifupdown configuration found. Oct 9 10:45:36 xxx-HP-Pro-3340-MT NetworkManager[701]: <warn> /sys/devices/virtual/net/ppp4: couldn't determine device driver; ignoring... Oct 9 10:45:36 xxx-HP-Pro-3340-MT pppd[29290]: rcvd [LCP ConfReq id=0x1 <mru 1452> <asyncmap 0x0> <magic 0xcc4ce9e6> <pcomp> <accomp>] Oct 9 10:45:36 xxx-HP-Pro-3340-MT pppd[29290]: sent [LCP ConfAck id=0x1 <mru 1452> <asyncmap 0x0> <magic 0xcc4ce9e6> <pcomp> <accomp>] Oct 9 10:45:37 xxx-HP-Pro-3340-MT xl2tpd[16024]: control_finish: Peer requested tunnel 32355 twice, ignoring second one. Oct 9 10:45:37 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 1, expected 4) Oct 9 10:45:37 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:37 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 2, expected 4) Oct 9 10:45:37 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:37 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 3, expected 4) Oct 9 10:45:37 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:38 xxx-HP-Pro-3340-MT xl2tpd[16024]: control_finish: Peer requested tunnel 32355 twice, ignoring second one. Oct 9 10:45:38 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 1, expected 4) Oct 9 10:45:38 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:38 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 2, expected 4) Oct 9 10:45:38 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:38 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 3, expected 4) Oct 9 10:45:38 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:39 xxx-HP-Pro-3340-MT xl2tpd[16024]: control_finish: Peer requested tunnel 32355 twice, ignoring second one. Oct 9 10:45:39 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 1, expected 4) Oct 9 10:45:39 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:39 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 2, expected 4) Oct 9 10:45:39 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:39 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 3, expected 4) Oct 9 10:45:39 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: sent [LCP ConfReq id=0x1 <mru 1200> <asyncmap 0x0> <auth chap MD5> <magic 0xd33f6b86> <pcomp> <accomp>] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: rcvd [LCP ConfAck id=0x1 <mru 1200> <asyncmap 0x0> <auth chap MD5> <magic 0xd33f6b86> <pcomp> <accomp>] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: sent [LCP EchoReq id=0x0 magic=0xd33f6b86] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: sent [CHAP Challenge id=0x89 <ce6fb35902efa8bbed0b299da4c6ab7c>, name = "l2tpd"] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: rcvd [LCP EchoRep id=0x0 magic=0xcc4ce9e6] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: rcvd [CHAP Response id=0x89 <6be4607b40e675dff8ba8be483ad5ef3>, name = "user1"] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: sent [CHAP Success id=0x89 "Access granted"] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 172.16.58.156>] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: sent [IPCP ConfNak id=0x1 <addr 172.16.58.19> <ms-dns1 172.16.58.3> <ms-dns2 172.16.58.11>] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: Protocol-Reject for 'Compression Control Protocol' (0x80fd) received Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 172.16.58.156>] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: rcvd [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 172.16.58.19> <ms-dns1 172.16.58.3> <ms-dns2 172.16.58.11>] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: sent [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 172.16.58.19> <ms-dns1 172.16.58.3> <ms-dns2 172.16.58.11>] Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: found interface eth0 for proxy arp Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: local IP address 172.16.58.156 Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: remote IP address 172.16.58.19 Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: Script /etc/ppp/ip-up started (pid 29320) Oct 9 10:45:39 xxx-HP-Pro-3340-MT pppd[29290]: Script /etc/ppp/ip-up finished (pid 29320), status = 0x0 Oct 9 10:45:40 xxx-HP-Pro-3340-MT xl2tpd[16024]: control_finish: Peer requested tunnel 32355 twice, ignoring second one. Oct 9 10:45:40 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 1, expected 4) Oct 9 10:45:40 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:40 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 2, expected 4) Oct 9 10:45:40 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:40 xxx-HP-Pro-3340-MT xl2tpd[16024]: check_control: Received out of order control packet on tunnel 32355 (got 3, expected 4) Oct 9 10:45:40 xxx-HP-Pro-3340-MT xl2tpd[16024]: handle_packet: bad control packet! Oct 9 10:45:41 xxx-HP-Pro-3340-MT xl2tpd[16024]: control_finish: Connection closed to 172.16.58.154, port 1701 (Timeout), Local: 18126, Remote: 32355 Oct 9 10:45:41 xxx-HP-Pro-3340-MT xl2tpd[16024]: Terminating pppd: sending TERM signal to pid 29290 Oct 9 10:45:41 xxx-HP-Pro-3340-MT pppd[29290]: Hangup (SIGHUP) Oct 9 10:45:41 xxx-HP-Pro-3340-MT pppd[29290]: Terminating on signal 15 Oct 9 10:45:41 xxx-HP-Pro-3340-MT pppd[29290]: Modem hangup Oct 9 10:45:41 xxx-HP-Pro-3340-MT pppd[29290]: Connect time 0.1 minutes. Oct 9 10:45:41 xxx-HP-Pro-3340-MT pppd[29290]: Sent 0 bytes, received 120 bytes. Oct 9 10:45:41 xxx-HP-Pro-3340-MT pppd[29290]: Script /etc/ppp/ip-down started (pid 29337) Oct 9 10:45:41 xxx-HP-Pro-3340-MT pppd[29290]: Connection terminated. Oct 9 10:45:41 xxx-HP-Pro-3340-MT NetworkManager[701]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp4, iface: ppp4) Oct 9 10:45:41 xxx-HP-Pro-3340-MT pppd[29290]: Script /etc/ppp/ip-down finished (pid 29337), status = 0x0 Oct 9 10:45:41 xxx-HP-Pro-3340-MT pppd[29290]: Exit. Oct 9 10:45:42 xxx-HP-Pro-3340-MT xl2tpd[16024]: Can not find tunnel 18126 (refhim=0) Oct 9 10:45:42 xxx-HP-Pro-3340-MT xl2tpd[16024]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 18126 Dumping. Oct 9 10:45:42 xxx-HP-Pro-3340-MT xl2tpd[16024]: Can not find tunnel 18126 (refhim=0) Oct 9 10:45:42 xxx-HP-Pro-3340-MT xl2tpd[16024]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 18126 Dumping. Oct 9 10:45:43 xxx-HP-Pro-3340-MT xl2tpd[16024]: Can not find tunnel 18126 (refhim=0) Oct 9 10:45:43 xxx-HP-Pro-3340-MT xl2tpd[16024]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 18126 Dumping. Oct 9 10:45:43 xxx-HP-Pro-3340-MT xl2tpd[16024]: Can not find tunnel 18126 (refhim=0) Oct 9 10:45:43 xxx-HP-Pro-3340-MT xl2tpd[16024]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 18126 Dumping. Oct 9 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[16024]: Can not find tunnel 18126 (refhim=0) Oct 9 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[16024]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 18126 Dumping. Oct 9 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[16024]: Can not find tunnel 18126 (refhim=0) Oct 9 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[16024]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 18126 Dumping. Oct 9 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[16024]: Can not find tunnel 18126 (refhim=0) Oct 9 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[16024]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 18126 Dumping. Oct 9 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[16024]: Can not find tunnel 18126 (refhim=0) Oct 9 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[16024]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 18126 Dumping.

C:\Users\86186>calc C:\Users\86186>taskkill /f /im calc.exe 错误: 没有找到进程 "calc.exe"。

C:\Users\86186>calc C:\Users\86186>taskkill /f /im calc.exe 错误: 没有找到进程 "calc.exe"。 我的电脑已经成功打开了calc,并且任务管理器也有calc,但是就是taskkill找不到路径

写一个包含十个tcp包的pcap文件,出现多余的malformed packet:ethernet

pcap文件头没有写错的; 然后就是一个接一个的packet,每个packet我是这样写的: timestamp+以太网报头+IP报头+TCP报头+22个空字节(这22个空字节也是我 试了很多次才试出来的,写多或者写少时,wireshark都会报错,并且只会显示一个 包,而不是10个),具体些每个packet的代码如下: for (int i = 0; i < 10; i++){ myPacketHeader.sec = 198483523; myPacketHeader.usec = 1094189312; myPacketHeader.caplen = 1006632960; myPacketHeader.len = 1006632960; out.writeInt(myPacketHeader.sec); out.writeInt(myPacketHeader.usec); out.writeInt(myPacketHeader.caplen); out.writeInt(myPacketHeader.len); myEthernet.dst[0] = 0; myEthernet.dst[1] = 4; myEthernet.dst[2] = 118; myEthernet.dst[3] = -35; myEthernet.dst[4] = -69; myEthernet.dst[5] = 58; myEthernet.src[0] = 0; myEthernet.src[1] = 4; myEthernet.src[2] = 117; myEthernet.src[3] = -57; myEthernet.src[4] = -121; myEthernet.src[5] = 73; myEthernet.type = 2048; out.write(myEthernet.dst); out.write(myEthernet.src); out.writeShort(myEthernet.type); myIp.ip_v = 69; myIp.ip_tos = 0; myIp.ip_len = 40; myIp.ip_id = (short)(6762+i); myIp.ip_off = 16384; myIp.ip_ttl = 64; myIp.ip_p = 6; myIp.ip_sum = 28529; out.writeByte(myIp.ip_v); out.writeByte(myIp.ip_tos); out.writeShort(myIp.ip_len); out.writeShort(myIp.ip_id); out.writeShort(myIp.ip_off); out.writeByte(myIp.ip_ttl); out.writeByte(myIp.ip_p); out.writeShort(myIp.ip_sum); myIp.ip_src = 168786789; myIp.ip_dst = 168786792; out.writeInt(myIp.ip_src); out.writeInt(myIp.ip_dst); myTcp.srcPort = -26262; myTcp.dstPort = 80; myTcp.SequNum = 0+i; myTcp.AcknowledgeNum = 0; myTcp.HeaderLenAndFlag = 20480; myTcp.windowSize = 4420; myTcp.CheckSum = 0; myTcp.urgentPointer = 0; out.writeShort(myTcp.srcPort); out.writeShort(myTcp.dstPort); out.writeInt(myTcp.SequNum); out.writeInt(myTcp.AcknowledgeNum); out.writeShort(myTcp.HeaderLenAndFlag); out.writeShort(myTcp.windowSize); out.writeShort(myTcp.CheckSum); out.writeShort(myTcp.urgentPointer); for (int l = 0; l < 22; l++){ out.writeByte(0); } } 可是现在问题是,我暴力地写22个byte时,每个tcp后面都跟着一个malformed packet:ethernet。如下图: ![图片说明](https://img-ask.csdn.net/upload/201503/16/1426517650_15850.png) 这个要怎么解决?是不是那22个byte由前面的某个属性决定的呢? 跪求大神搭救啊orz

MySQL正在崩溃,错误是“在读取初始通信数据包时丢失了与MySQL服务器的连接”,系统错误:111

<div class="post-text" itemprop="text"> <p>My website crashes at random times because of a problem with MySQL and I can't quite pinpoint it. For one, the crash itself happens very seldom (perhaps once a month) so I can't replicate it. Because of that, I don't know what exactly is causing the issue.</p> <p>When I first built our site many years ago, I was using mysql_ calls to connect to the database. I learned the error of my ways and started using PDO. Unfortunately, there is a LOT of code that used the mysql_ calls and I haven't gotten around to replacing every single one of them yet. So, my site has a mix between PDO and mysql_ calls.</p> <p>When the site connects to the database, it first calls mysql_connect() and then connects to PDO through a wrapper.</p> <p>The error I'm receiving comes into play when I use <code>mysql_connect()</code>. I've dug through logs and I can't find a specific cause for the error. As soon as it happens, it crashes the MySQL server and therefore the website. I can't even assume that mysql_ is the problem because it crashes before it even gets to the PDO wrapper. It might just be a MySQL connection issue.</p> <p>I've done some searching and it looks like some others have recommended revising <code>bind-address</code> in my.cnf, which I've done.</p> <p>I've also gone through the website and tried to remove as many mysql_ calls as possible.</p> <p>Here's some example logfile output, with some info redacted:</p> <pre><code>Error connecting to database. Reason: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Warning: Creating default object from empty value in database.php on line 89 [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Fatal error: Call to a member function setErrorCallbackFunction() on a non-object in database.php on line $ [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Warning: Creating default object from empty value in database.php on line 89 [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Fatal error: Call to a member function setErrorCallbackFunction() on a non-object in database.php on lin$ [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Warning: mysql_connect(): Lost connection to MySQL server at 'reading authorization packet', system error: 0 in $ [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Warning: Creating default object from empty value in database.php on line 89 [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Fatal error: Call to a member function setErrorCallbackFunction() on a non-object in database.php on line $ [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Warning: Creating default object from empty value in database.php on line 89 [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Fatal error: Call to a member function setErrorCallbackFunction() on a non-object in database.php on lin$ [Mon Jun 09 13:01:29 2014] [error] [client ****] PHP Warning: mysql_connect(): Lost connection to MySQL server at 'reading authorization packet', system error: 0 in $ </code></pre> <p>Any help would be greatly appreciated.</p> </div>

Connection reset by peer: socket write error

这个错误在网上能查到很多结果,但是我参照做都没有效果,现在问题依然存在,详细的错误信息如下 2014-05-01 21:46:37 -close connection error java.sql.SQLRecoverableException: IO 错误: Connection reset by peer: socket write error at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:587) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:4011) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at com.alibaba.druid.filter.FilterChainImpl.connection_close(FilterChainImpl.java:167) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.filter.stat.StatFilter.connection_close(StatFilter.java:254) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.filter.FilterChainImpl.connection_close(FilterChainImpl.java:163) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.proxy.jdbc.ConnectionProxyImpl.close(ConnectionProxyImpl.java:115) ~[druid-1.0.0.jar:1.0.0] at com.alibaba.druid.util.JdbcUtils.close(JdbcUtils.java:82) ~[druid-1.0.0.jar:1.0.0] at com.alibaba.druid.pool.DruidDataSource.discardConnection(DruidDataSource.java:967) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:934) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4534) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.filter.stat.StatFilter.dataSource_getConnection(StatFilter.java:661) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.filter.FilterChainImpl.dataSource_connect(FilterChainImpl.java:4530) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:880) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:872) [druid-1.0.0.jar:1.0.0] at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:97) [druid-1.0.0.jar:1.0.0] at org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource.getConnection(AbstractRoutingDataSource.java:162) [payplat-dacq-1.0-SNAPSHOT.jar:na] at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111) [payplat-dacq-1.0-SNAPSHOT.jar:na] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77) [payplat-dacq-1.0-SNAPSHOT.jar:na] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:382) [payplat-dacq-1.0-SNAPSHOT.jar:na] at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:456) [payplat-dacq-1.0-SNAPSHOT.jar:na] at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:464) [payplat-dacq-1.0-SNAPSHOT.jar:na] at com.payplat.util.jdbc.other.impl.JdbcServerImpl.meterList(JdbcServerImpl.java:88) [payplat-dacq-1.0-SNAPSHOT.jar:na] at com.smotive.action.DasControl.meterList(DasControl.java:52) [DasControl.class:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_45] at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219) [spring-web-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132) [spring-web-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) [spring-webmvc-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) [spring-webmvc-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) [spring-webmvc-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) [spring-webmvc-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) [spring-webmvc-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) [spring-webmvc-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:920) [spring-webmvc-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:816) [spring-webmvc-3.2.1.RELEASE.jar:3.2.1.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) [servlet-api.jar:na] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:801) [spring-webmvc-3.2.1.RELEASE.jar:3.2.1.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) [servlet-api.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) [spring-web-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-3.2.1.RELEASE.jar:3.2.1.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:6.0.35] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:6.0.35] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:6.0.35] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:6.0.35] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:6.0.35] at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877) [tomcat-coyote.jar:6.0.35] at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594) [tomcat-coyote.jar:6.0.35] at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675) [tomcat-coyote.jar:6.0.35] at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45] Caused by: java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.7.0_45] at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113) ~[na:1.7.0_45] at java.net.SocketOutputStream.write(SocketOutputStream.java:159) ~[na:1.7.0_45] at oracle.net.ns.DataPacket.send(DataPacket.java:210) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.net.ns.NetOutputStream.flush(NetOutputStream.java:230) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:321) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.net.ns.NetInputStream.read(NetInputStream.java:268) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.net.ns.NetInputStream.read(NetInputStream.java:190) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.net.ns.NetInputStream.read(NetInputStream.java:107) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:124) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:80) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1137) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:350) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:227) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.jdbc.driver.T4C7Ocommoncall.doOLOGOFF(T4C7Ocommoncall.java:61) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:574) ~[ojdbc6-11.2.0.3.0.jar:11.2.0.3.0] ... 55 common frames omitted 根据网上的说法,出现的Connection reset by peer: 原因可能是多方面的,不过更常见的原因是: ①:服务器的并发连接数超过了其承载量,服务器会将其中一些连接Down掉; ②:客户关掉了浏览器,而服务器还在给客户端发送数据; ③:浏览器端按了Stop 2、3点可以排除,第一点让我觉得确实有问题,但是不知道该如何下手,还有一个问题就是,这个异常不是我手动捕获的,在我try catch前这个异常已经抛出,这个让我不解

使用druid连接池连接数据库,出现了以下问题,忘各位大神解答

com.mysql.jdbc.exceptions.jorg.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. ### Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 请各位大神帮帮小弟我,这是出现什么问题

板子上的xl2tpd客户端连接xl2tpd的vpn server,总是连接不上?

我在amlogic板子上,板子上为android系统,交叉编译xl2tpd,然后push到板子上,配置好相关配置文件,运行xl2tpd, 去连接ubantu14.04上的vpn server,vpn server使用的也是xl2tpd, 我用手机或另外一台ubantu系统都可以连接,运行板子上的xl2tpd,echo "c testvpn" > /var/run/xl2tpd/l2tp-control, ifconfig查看并没有ppp0节点,vpn server上的/var/log/syslog文件内容如下: Sep 29 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 2974 twice, ignoring second one. Sep 29 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 2974 (got 1, expected 5) Sep 29 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 2974 (got 2, expected 5) Sep 29 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 30468 in tunnel 46002#012 (ref=0/0) Sep 29 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 2974 (got 3, expected 5) Sep 29 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 30468 in tunnel 46002#012 (ref=0/0) Sep 29 10:45:44 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 2974 (got 4, expected 5) Sep 29 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 2974 twice, ignoring second one. Sep 29 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 2974 (got 1, expected 5) Sep 29 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 2974 (got 2, expected 5) Sep 29 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 30468 in tunnel 46002#012 (ref=0/0) Sep 29 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 2974 (got 3, expected 5) Sep 29 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 30468 in tunnel 46002#012 (ref=0/0) Sep 29 10:45:45 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 2974 (got 4, expected 5) Sep 29 10:45:46 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Connection closed to 172.16.58.153, port 1701 (Timeout), Local: 46002, Remote: 2974 Sep 29 10:45:47 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 46002 (refhim=0) Sep 29 10:45:47 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 46002 Dumping. Sep 29 10:45:47 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 46002 (refhim=0) Sep 29 10:45:47 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 46002 Dumping. Sep 29 10:45:48 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 46002 (refhim=0) Sep 29 10:45:48 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 46002 Dumping. Sep 29 10:45:48 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 46002 (refhim=0) Sep 29 10:45:48 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 46002 Dumping. Sep 29 10:45:49 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 46002 (refhim=0) Sep 29 10:45:49 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 46002 Dumping. Sep 29 10:45:49 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 46002 (refhim=0) Sep 29 10:45:49 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 46002 Dumping. Sep 29 10:45:50 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 46002 (refhim=0) Sep 29 10:45:50 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 46002 Dumping. Sep 29 10:45:50 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 46002 (refhim=0) Sep 29 10:45:50 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 46002 Dumping. Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: Connection established to 172.16.58.153, 1701. Local: 41944, Remote: 5337 (ref=0/0). LNS session is 'default' Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Warning: Peer did not specify transmit speed Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: start_pppd: I'm running: Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/usr/sbin/pppd" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "passive" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "nodetach" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "172.16.58.156:172.16.58.4" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "refuse-pap" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "auth" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "require-chap" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "debug" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "file" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/etc/ppp/options.xl2tpd" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/dev/pts/17" Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: Call established with 172.16.58.153, Local: 38207, Remote: 31800, Serial: 343 Sep 29 10:45:52 xxx-HP-Pro-3340-MT pppd[22975]: pppd 2.4.5 started by root, uid 0 Sep 29 10:45:52 xxx-HP-Pro-3340-MT pppd[22975]: using channel 195 Sep 29 10:45:52 xxx-HP-Pro-3340-MT pppd[22975]: Using interface ppp0 Sep 29 10:45:52 xxx-HP-Pro-3340-MT pppd[22975]: Connect: ppp0 <--> /dev/pts/17 Sep 29 10:45:52 xxx-HP-Pro-3340-MT pppd[22975]: sent [LCP ConfReq id=0x1 <mru 1200> <asyncmap 0x0> <auth chap MD5> <magic 0xd6c18db4> <pcomp> <accomp>] Sep 29 10:45:52 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Sep 29 10:45:52 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found. Sep 29 10:45:52 xxx-HP-Pro-3340-MT NetworkManager[717]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring... Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Connection closed to 172.16.58.153, serial 343 () Sep 29 10:45:52 xxx-HP-Pro-3340-MT xl2tpd[11194]: Terminating pppd: sending TERM signal to pid 22975 Sep 29 10:45:52 xxx-HP-Pro-3340-MT pppd[22975]: Terminating on signal 15 Sep 29 10:45:52 xxx-HP-Pro-3340-MT pppd[22975]: Modem hangup Sep 29 10:45:52 xxx-HP-Pro-3340-MT pppd[22975]: Connection terminated. Sep 29 10:45:52 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Sep 29 10:45:52 xxx-HP-Pro-3340-MT pppd[22975]: Exit. Sep 29 10:45:53 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 5337 twice, ignoring second one. Sep 29 10:45:53 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 1, expected 5) Sep 29 10:45:53 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:53 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 2, expected 5) Sep 29 10:45:53 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:53 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 38207 in tunnel 41944#012 (ref=0/0) Sep 29 10:45:53 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 3, expected 5) Sep 29 10:45:53 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 38207 in tunnel 41944#012 (ref=0/0) Sep 29 10:45:53 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 4, expected 5) Sep 29 10:45:54 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 5337 twice, ignoring second one. Sep 29 10:45:54 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 1, expected 5) Sep 29 10:45:54 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:54 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 2, expected 5) Sep 29 10:45:54 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:54 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 38207 in tunnel 41944#012 (ref=0/0) Sep 29 10:45:54 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 3, expected 5) Sep 29 10:45:54 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 38207 in tunnel 41944#012 (ref=0/0) Sep 29 10:45:54 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 4, expected 5) Sep 29 10:45:55 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 5337 twice, ignoring second one. Sep 29 10:45:55 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 1, expected 5) Sep 29 10:45:55 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:55 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 2, expected 5) Sep 29 10:45:55 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:55 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 38207 in tunnel 41944#012 (ref=0/0) Sep 29 10:45:55 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 3, expected 5) Sep 29 10:45:55 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 38207 in tunnel 41944#012 (ref=0/0) Sep 29 10:45:55 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 4, expected 5) Sep 29 10:45:56 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 5337 twice, ignoring second one. Sep 29 10:45:56 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 1, expected 5) Sep 29 10:45:56 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:56 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 2, expected 5) Sep 29 10:45:56 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:45:56 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 38207 in tunnel 41944#012 (ref=0/0) Sep 29 10:45:56 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 3, expected 5) Sep 29 10:45:56 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 38207 in tunnel 41944#012 (ref=0/0) Sep 29 10:45:56 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 5337 (got 4, expected 5) Sep 29 10:45:57 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Connection closed to 172.16.58.153, port 1701 (Timeout), Local: 41944, Remote: 5337 Sep 29 10:45:58 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 41944 (refhim=0) Sep 29 10:45:58 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 41944 Dumping. Sep 29 10:45:58 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 41944 (refhim=0) Sep 29 10:45:58 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 41944 Dumping. Sep 29 10:45:59 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 41944 (refhim=0) Sep 29 10:45:59 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 41944 Dumping. Sep 29 10:45:59 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 41944 (refhim=0) Sep 29 10:45:59 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 41944 Dumping. Sep 29 10:46:00 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 41944 (refhim=0) Sep 29 10:46:00 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 41944 Dumping. Sep 29 10:46:00 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 41944 (refhim=0) Sep 29 10:46:00 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 41944 Dumping. Sep 29 10:46:01 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 41944 (refhim=0) Sep 29 10:46:01 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 41944 Dumping. Sep 29 10:46:01 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 41944 (refhim=0) Sep 29 10:46:01 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 41944 Dumping. Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: Connection established to 172.16.58.153, 1701. Local: 22881, Remote: 32980 (ref=0/0). LNS session is 'default' Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Warning: Peer did not specify transmit speed Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: start_pppd: I'm running: Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/usr/sbin/pppd" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "passive" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "nodetach" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "172.16.58.156:172.16.58.4" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "refuse-pap" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "auth" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "require-chap" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "debug" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "file" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/etc/ppp/options.xl2tpd" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/dev/pts/17" Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: Call established with 172.16.58.153, Local: 45526, Remote: 63226, Serial: 345 Sep 29 10:46:03 xxx-HP-Pro-3340-MT pppd[23034]: pppd 2.4.5 started by root, uid 0 Sep 29 10:46:03 xxx-HP-Pro-3340-MT pppd[23034]: using channel 196 Sep 29 10:46:03 xxx-HP-Pro-3340-MT pppd[23034]: Using interface ppp0 Sep 29 10:46:03 xxx-HP-Pro-3340-MT pppd[23034]: Connect: ppp0 <--> /dev/pts/17 Sep 29 10:46:03 xxx-HP-Pro-3340-MT pppd[23034]: sent [LCP ConfReq id=0x1 <mru 1200> <asyncmap 0x0> <auth chap MD5> <magic 0x7207f195> <pcomp> <accomp>] Sep 29 10:46:03 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Sep 29 10:46:03 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found. Sep 29 10:46:03 xxx-HP-Pro-3340-MT NetworkManager[717]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring... Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Connection closed to 172.16.58.153, serial 345 () Sep 29 10:46:03 xxx-HP-Pro-3340-MT xl2tpd[11194]: Terminating pppd: sending TERM signal to pid 23034 Sep 29 10:46:03 xxx-HP-Pro-3340-MT pppd[23034]: Terminating on signal 15 Sep 29 10:46:03 xxx-HP-Pro-3340-MT pppd[23034]: Modem hangup Sep 29 10:46:03 xxx-HP-Pro-3340-MT pppd[23034]: Connection terminated. Sep 29 10:46:03 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Sep 29 10:46:03 xxx-HP-Pro-3340-MT pppd[23034]: Exit. Sep 29 10:46:04 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 32980 twice, ignoring second one. Sep 29 10:46:04 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 1, expected 5) Sep 29 10:46:04 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:04 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 2, expected 5) Sep 29 10:46:04 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:04 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 45526 in tunnel 22881#012 (ref=0/0) Sep 29 10:46:04 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 3, expected 5) Sep 29 10:46:04 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 45526 in tunnel 22881#012 (ref=0/0) Sep 29 10:46:04 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 4, expected 5) Sep 29 10:46:05 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 32980 twice, ignoring second one. Sep 29 10:46:05 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 1, expected 5) Sep 29 10:46:05 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:05 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 2, expected 5) Sep 29 10:46:05 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:05 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 45526 in tunnel 22881#012 (ref=0/0) Sep 29 10:46:05 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 3, expected 5) Sep 29 10:46:05 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 45526 in tunnel 22881#012 (ref=0/0) Sep 29 10:46:05 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 4, expected 5) Sep 29 10:46:06 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 32980 twice, ignoring second one. Sep 29 10:46:06 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 1, expected 5) Sep 29 10:46:06 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:06 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 2, expected 5) Sep 29 10:46:06 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:06 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 45526 in tunnel 22881#012 (ref=0/0) Sep 29 10:46:06 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 3, expected 5) Sep 29 10:46:06 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 45526 in tunnel 22881#012 (ref=0/0) Sep 29 10:46:06 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 4, expected 5) Sep 29 10:46:07 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 32980 twice, ignoring second one. Sep 29 10:46:07 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 1, expected 5) Sep 29 10:46:07 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:07 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 2, expected 5) Sep 29 10:46:07 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:07 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 45526 in tunnel 22881#012 (ref=0/0) Sep 29 10:46:07 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 3, expected 5) Sep 29 10:46:07 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 45526 in tunnel 22881#012 (ref=0/0) Sep 29 10:46:07 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 32980 (got 4, expected 5) Sep 29 10:46:08 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Connection closed to 172.16.58.153, port 1701 (Timeout), Local: 22881, Remote: 32980 Sep 29 10:46:09 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 22881 (refhim=0) Sep 29 10:46:09 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 22881 Dumping. Sep 29 10:46:09 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 22881 (refhim=0) Sep 29 10:46:09 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 22881 Dumping. Sep 29 10:46:10 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 22881 (refhim=0) Sep 29 10:46:10 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 22881 Dumping. Sep 29 10:46:10 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 22881 (refhim=0) Sep 29 10:46:10 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 22881 Dumping. Sep 29 10:46:11 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 22881 (refhim=0) Sep 29 10:46:11 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 22881 Dumping. Sep 29 10:46:11 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 22881 (refhim=0) Sep 29 10:46:11 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 22881 Dumping. Sep 29 10:46:12 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 22881 (refhim=0) Sep 29 10:46:12 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 22881 Dumping. Sep 29 10:46:12 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 22881 (refhim=0) Sep 29 10:46:12 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 22881 Dumping. Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: Connection established to 172.16.58.153, 1701. Local: 11403, Remote: 49957 (ref=0/0). LNS session is 'default' Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Warning: Peer did not specify transmit speed Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: start_pppd: I'm running: Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/usr/sbin/pppd" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "passive" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "nodetach" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "172.16.58.156:172.16.58.4" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "refuse-pap" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "auth" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "require-chap" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "debug" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "file" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/etc/ppp/options.xl2tpd" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/dev/pts/17" Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: Call established with 172.16.58.153, Local: 6309, Remote: 43705, Serial: 347 Sep 29 10:46:14 xxx-HP-Pro-3340-MT pppd[23103]: pppd 2.4.5 started by root, uid 0 Sep 29 10:46:14 xxx-HP-Pro-3340-MT pppd[23103]: using channel 197 Sep 29 10:46:14 xxx-HP-Pro-3340-MT pppd[23103]: Using interface ppp0 Sep 29 10:46:14 xxx-HP-Pro-3340-MT pppd[23103]: Connect: ppp0 <--> /dev/pts/17 Sep 29 10:46:14 xxx-HP-Pro-3340-MT pppd[23103]: sent [LCP ConfReq id=0x1 <mru 1200> <asyncmap 0x0> <auth chap MD5> <magic 0xb37e2afa> <pcomp> <accomp>] Sep 29 10:46:14 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Sep 29 10:46:14 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found. Sep 29 10:46:14 xxx-HP-Pro-3340-MT NetworkManager[717]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring... Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Connection closed to 172.16.58.153, serial 347 () Sep 29 10:46:14 xxx-HP-Pro-3340-MT xl2tpd[11194]: Terminating pppd: sending TERM signal to pid 23103 Sep 29 10:46:14 xxx-HP-Pro-3340-MT pppd[23103]: Terminating on signal 15 Sep 29 10:46:14 xxx-HP-Pro-3340-MT pppd[23103]: Modem hangup Sep 29 10:46:14 xxx-HP-Pro-3340-MT pppd[23103]: Connection terminated. Sep 29 10:46:14 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Sep 29 10:46:14 xxx-HP-Pro-3340-MT pppd[23103]: Exit. Sep 29 10:46:15 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 49957 twice, ignoring second one. Sep 29 10:46:15 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 1, expected 5) Sep 29 10:46:15 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:15 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 2, expected 5) Sep 29 10:46:15 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:15 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 6309 in tunnel 11403#012 (ref=0/0) Sep 29 10:46:15 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 3, expected 5) Sep 29 10:46:15 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 6309 in tunnel 11403#012 (ref=0/0) Sep 29 10:46:15 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 4, expected 5) Sep 29 10:46:16 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 49957 twice, ignoring second one. Sep 29 10:46:16 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 1, expected 5) Sep 29 10:46:16 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:16 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 2, expected 5) Sep 29 10:46:16 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:16 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 6309 in tunnel 11403#012 (ref=0/0) Sep 29 10:46:16 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 3, expected 5) Sep 29 10:46:16 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 6309 in tunnel 11403#012 (ref=0/0) Sep 29 10:46:16 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 4, expected 5) Sep 29 10:46:17 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 49957 twice, ignoring second one. Sep 29 10:46:17 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 1, expected 5) Sep 29 10:46:17 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:17 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 2, expected 5) Sep 29 10:46:17 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:17 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 6309 in tunnel 11403#012 (ref=0/0) Sep 29 10:46:17 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 3, expected 5) Sep 29 10:46:17 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 6309 in tunnel 11403#012 (ref=0/0) Sep 29 10:46:17 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 4, expected 5) Sep 29 10:46:18 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 49957 twice, ignoring second one. Sep 29 10:46:18 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 1, expected 5) Sep 29 10:46:18 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:18 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 2, expected 5) Sep 29 10:46:18 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:18 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 6309 in tunnel 11403#012 (ref=0/0) Sep 29 10:46:18 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 3, expected 5) Sep 29 10:46:18 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 6309 in tunnel 11403#012 (ref=0/0) Sep 29 10:46:18 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 49957 (got 4, expected 5) Sep 29 10:46:19 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Connection closed to 172.16.58.153, port 1701 (Timeout), Local: 11403, Remote: 49957 Sep 29 10:46:20 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:20 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:20 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:20 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:20 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:20 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:21 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:21 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:21 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:21 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:21 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:21 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:22 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:22 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:22 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:22 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:22 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:22 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:23 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:23 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:23 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:23 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:23 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:23 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:24 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 11403 (refhim=0) Sep 29 10:46:24 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 11403 Dumping. Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: Connection established to 172.16.58.153, 1701. Local: 51132, Remote: 62657 (ref=0/0). LNS session is 'default' Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Warning: Peer did not specify transmit speed Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: start_pppd: I'm running: Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/usr/sbin/pppd" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "passive" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "nodetach" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "172.16.58.156:172.16.58.4" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "refuse-pap" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "auth" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "require-chap" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "debug" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "file" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/etc/ppp/options.xl2tpd" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: "/dev/pts/17" Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: Call established with 172.16.58.153, Local: 22234, Remote: 37513, Serial: 350 Sep 29 10:46:25 xxx-HP-Pro-3340-MT pppd[23162]: pppd 2.4.5 started by root, uid 0 Sep 29 10:46:25 xxx-HP-Pro-3340-MT pppd[23162]: using channel 198 Sep 29 10:46:25 xxx-HP-Pro-3340-MT pppd[23162]: Using interface ppp0 Sep 29 10:46:25 xxx-HP-Pro-3340-MT pppd[23162]: Connect: ppp0 <--> /dev/pts/17 Sep 29 10:46:25 xxx-HP-Pro-3340-MT pppd[23162]: sent [LCP ConfReq id=0x1 <mru 1200> <asyncmap 0x0> <auth chap MD5> <magic 0x44d4c5a7> <pcomp> <accomp>] Sep 29 10:46:25 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Sep 29 10:46:25 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found. Sep 29 10:46:25 xxx-HP-Pro-3340-MT NetworkManager[717]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring... Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Connection closed to 172.16.58.153, serial 350 () Sep 29 10:46:25 xxx-HP-Pro-3340-MT xl2tpd[11194]: Terminating pppd: sending TERM signal to pid 23162 Sep 29 10:46:25 xxx-HP-Pro-3340-MT pppd[23162]: Terminating on signal 15 Sep 29 10:46:25 xxx-HP-Pro-3340-MT pppd[23162]: Modem hangup Sep 29 10:46:25 xxx-HP-Pro-3340-MT pppd[23162]: Connection terminated. Sep 29 10:46:25 xxx-HP-Pro-3340-MT NetworkManager[717]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0) Sep 29 10:46:25 xxx-HP-Pro-3340-MT pppd[23162]: Exit. Sep 29 10:46:26 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 62657 twice, ignoring second one. Sep 29 10:46:26 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 1, expected 5) Sep 29 10:46:26 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:26 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 2, expected 5) Sep 29 10:46:26 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:26 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 22234 in tunnel 51132#012 (ref=0/0) Sep 29 10:46:26 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 3, expected 5) Sep 29 10:46:26 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 22234 in tunnel 51132#012 (ref=0/0) Sep 29 10:46:26 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 4, expected 5) Sep 29 10:46:27 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 62657 twice, ignoring second one. Sep 29 10:46:27 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 1, expected 5) Sep 29 10:46:27 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:27 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 2, expected 5) Sep 29 10:46:27 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:27 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 22234 in tunnel 51132#012 (ref=0/0) Sep 29 10:46:27 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 3, expected 5) Sep 29 10:46:27 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 22234 in tunnel 51132#012 (ref=0/0) Sep 29 10:46:27 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 4, expected 5) Sep 29 10:46:28 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 62657 twice, ignoring second one. Sep 29 10:46:28 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 1, expected 5) Sep 29 10:46:28 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:28 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 2, expected 5) Sep 29 10:46:28 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:28 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 22234 in tunnel 51132#012 (ref=0/0) Sep 29 10:46:28 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 3, expected 5) Sep 29 10:46:28 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 22234 in tunnel 51132#012 (ref=0/0) Sep 29 10:46:28 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 4, expected 5) Sep 29 10:46:29 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Peer requested tunnel 62657 twice, ignoring second one. Sep 29 10:46:29 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 1, expected 5) Sep 29 10:46:29 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:29 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 2, expected 5) Sep 29 10:46:29 xxx-HP-Pro-3340-MT xl2tpd[11194]: handle_packet: bad control packet! Sep 29 10:46:29 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 22234 in tunnel 51132#012 (ref=0/0) Sep 29 10:46:29 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 3, expected 5) Sep 29 10:46:29 xxx-HP-Pro-3340-MT xl2tpd[11194]: get_call: can't find call 22234 in tunnel 51132#012 (ref=0/0) Sep 29 10:46:29 xxx-HP-Pro-3340-MT xl2tpd[11194]: check_control: Received out of order control packet on tunnel 62657 (got 4, expected 5) Sep 29 10:46:30 xxx-HP-Pro-3340-MT xl2tpd[11194]: control_finish: Connection closed to 172.16.58.153, port 1701 (Timeout), Local: 51132, Remote: 62657 Sep 29 10:46:31 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 51132 (refhim=0) Sep 29 10:46:31 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 51132 Dumping. Sep 29 10:46:31 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 51132 (refhim=0) Sep 29 10:46:31 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 51132 Dumping. Sep 29 10:46:32 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 51132 (refhim=0) Sep 29 10:46:32 xxx-HP-Pro-3340-MT xl2tpd[11194]: network_thread: unable to find call or tunnel to handle packet. call = 0, tunnel = 51132 Dumping. Sep 29 10:46:32 xxx-HP-Pro-3340-MT xl2tpd[11194]: Can not find tunnel 51132 (refhim=0)

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

点沙成金:英特尔芯片制造全过程揭密

“亚马逊丛林里的蝴蝶扇动几下翅膀就可能引起两周后美国德州的一次飓风……” 这句人人皆知的话最初用来描述非线性系统中微小参数的变化所引起的系统极大变化。 而在更长的时间尺度内,我们所生活的这个世界就是这样一个异常复杂的非线性系统…… 水泥、穹顶、透视——关于时间与技艺的蝴蝶效应 公元前3000年,古埃及人将尼罗河中挖出的泥浆与纳特龙盐湖中的矿物盐混合,再掺入煅烧石灰石制成的石灰,由此得来了人...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

外包程序员的幸福生活

今天给你们讲述一个外包程序员的幸福生活。男主是Z哥,不是在外包公司上班的那种,是一名自由职业者,接外包项目自己干。接下来讲的都是真人真事。 先给大家介绍一下男主,Z哥,老程序员,是我十多年前的老同事,技术大牛,当过CTO,也创过业。因为我俩都爱好喝酒、踢球,再加上住的距离不算远,所以一直也断断续续的联系着,我对Z哥的状况也有大概了解。 Z哥几年前创业失败,后来他开始干起了外包,利用自己的技术能...

C++11:一些微小的变化(新的数据类型、template表达式内的空格、nullptr、std::nullptr_t)

本文介绍一些C++的两个新特性,它们虽然微小,但对你的编程十分重要 一、Template表达式内的空格 C++11标准之前建议在“在两个template表达式的闭符之间放一个空格”的要求已经过时了 例如: vector&lt;list&lt;int&gt; &gt;; //C++11之前 vector&lt;list&lt;int&gt;&gt;; //C++11 二、nullptr ...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

深入剖析Springboot启动原理的底层源码,再也不怕面试官问了!

大家现在应该都对Springboot很熟悉,但是你对他的启动原理了解吗?

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

【阿里P6面经】二本,curd两年,疯狂复习,拿下阿里offer

二本的读者,在老东家不断学习,最后逆袭

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

《经典算法案例》01-08:如何使用质数设计扫雷(Minesweeper)游戏

我们都玩过Windows操作系统中的经典游戏扫雷(Minesweeper),如果把质数当作一颗雷,那么,表格中红色的数字哪些是雷(质数)?您能找出多少个呢?文中用列表的方式罗列了10000以内的自然数、质数(素数),6的倍数等,方便大家观察质数的分布规律及特性,以便对算法求解有指导意义。另外,判断质数是初学算法,理解算法重要性的一个非常好的案例。

《Oracle Java SE编程自学与面试指南》最佳学习路线图(2020最新版)

正确选择比瞎努力更重要!

面试官:你连SSO都不懂,就别来面试了

大厂竟然要考我SSO,卧槽。

微软为一人收购一公司?破解索尼程序、写黑客小说,看他彪悍的程序人生!...

作者 | 伍杏玲出品 | CSDN(ID:CSDNnews)格子衬衫、常掉发、双肩包、修电脑、加班多……这些似乎成了大众给程序员的固定标签。近几年流行的“跨界风”开始刷新人们对程序员的...

终于,月薪过5万了!

来看几个问题想不想月薪超过5万?想不想进入公司架构组?想不想成为项目组的负责人?想不想成为spring的高手,超越99%的对手?那么本文内容是你必须要掌握的。本文主要详解bean的生命...

我说我懂多线程,面试官立马给我发了offer

不小心拿了几个offer,有点烦

自从喜欢上了B站这12个UP主,我越来越觉得自己是个废柴了!

不怕告诉你,我自从喜欢上了这12个UP主,哔哩哔哩成为了我手机上最耗电的软件,几乎每天都会看,可是吧,看的越多,我就越觉得自己是个废柴,唉,老天不公啊,不信你看看…… 间接性踌躇满志,持续性混吃等死,都是因为你们……但是,自己的学习力在慢慢变强,这是不容忽视的,推荐给你们! 都说B站是个宝,可是有人不会挖啊,没事,今天咱挖好的送你一箩筐,首先啊,我在B站上最喜欢看这个家伙的视频了,为啥 ,咱撇...

立即提问
相关内容推荐