0 Replies Latest reply on Jul 31, 2017 6:48 AM by deminart

    Errors in the logs

    deminart

      I apologize for the bad english.

       

      People, help please deal with errors.

       

      There are:

      Windows Server2012x64 R2

      Openfire 4.1.5 --> SQL Server 2014

       

      Real server and domain names have been changed for security reasons.

       

      1. After changing the name of the groups in the Active Dircetory, openfire can not read them correctly or it seems to me that the old names in some tables are preserved in the database and it tries to read them and naturally does not find it and error.log is clogged with similar messages:

       

      2017.07.31 16:24:47 org.jivesoftware.openfire.ldap.LdapGroupProvider - Groupname Отдел взаимодействия not found
      org.jivesoftware.openfire.group.GroupNotFoundException: Groupname Отдел взаимодействия not found
          at org.jivesoftware.openfire.ldap.LdapManager.findGroupDN(LdapManager.java:1149)
          at org.jivesoftware.openfire.ldap.LdapManager.findGroupDN(LdapManager.java:1076)
          at org.jivesoftware.openfire.ldap.LdapGroupProvider.getGroup(LdapGroupProvider.jav a:83)
          at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:357)
          at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:334)
          at org.jivesoftware.openfire.group.GroupCollection$GroupIterator.getNextElement(Gr oupCollection.java:116)
          at org.jivesoftware.openfire.group.GroupCollection$GroupIterator.hasNext(GroupColl ection.java:77)
          at org.jivesoftware.openfire.roster.RosterManager.getSharedGroups(RosterManager.ja va:192)
          at org.jivesoftware.openfire.handler.IQSharedGroupHandler.handleIQ(IQSharedGroupHa ndler.java:61)
          at org.jivesoftware.openfire.handler.IQHandler.process(IQHandler.java:66)
          at org.jivesoftware.openfire.IQRouter.handle(IQRouter.java:372)
          at org.jivesoftware.openfire.IQRouter.route(IQRouter.java:115)
          at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:78)
          at org.jivesoftware.openfire.net.StanzaHandler.processIQ(StanzaHandler.java:341)
          at org.jivesoftware.openfire.net.ClientStanzaHandler.processIQ(ClientStanzaHandler .java:99)
          at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:306)
          at org.jivesoftware.openfire.net.StanzaHandler.process(StanzaHandler.java:198)
          at org.jivesoftware.openfire.nio.ConnectionHandler.messageReceived(ConnectionHandl er.java:181)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceive d(DefaultIoFilterChain.java:690)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)
          at org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapte r.java:109)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)
          at org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flus h(ProtocolCodecFilter.java:407)
          at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecF ilter.java:236)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(D efaultIoFilterChain.java:417)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilt erChain.java:47)
          at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceiv ed(DefaultIoFilterChain.java:765)
          at org.apache.mina.core.filterchain.IoFilterEvent.fire(IoFilterEvent.java:74)
          at org.apache.mina.core.session.IoEvent.run(IoEvent.java:63)
          at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTask(Ordere dThreadPoolExecutor.java:769)
          at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.runTasks(Order edThreadPoolExecutor.java:761)
          at org.apache.mina.filter.executor.OrderedThreadPoolExecutor$Worker.run(OrderedThr eadPoolExecutor.java:703)
          at java.lang.Thread.run(Unknown Source)

       

      2. In the info.log, errors like:

       

      It's not entirely clear what he's doing at all, jud.qip.ru, users.qip.ru ...

      Something about the blacklist and routing and that it will not work, although with these addresses and so things do not seem to have, i.e. Connection from outside and third-party resources is not implied ...

       

      2017.07.31 10:43:04 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: server.нашдомен .ru to server-pc] - Unable to create new session: Cannot create a plain socket connection with any applicable remote host.
      2017.07.31 11:52:03 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: server2.нашдомен .ru to proxy.eu.jabber.org] - Unable to create new session: Cannot create a plain socket connection with any applicable remote host.

      2017.07.30 20:44:56 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: server.нашдомен .ru to vjud.qip.ru] - Unable to create new session: Cannot create a plain socket connection with any applicable remote host.
      2017.07.30 20:44:56 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: server.нашдомен .ru to jud.qip.ru] - Unable to create new session: Cannot create a plain socket connection with any applicable remote host.
      2017.07.30 20:44:56 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: server2.нашдомен .ru to users.qip.ru] - Unable to create new session: Cannot create a plain socket connection with any applicable remote host.
      2017.07.30 20:44:56 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: server.нашдомен .ru to qip.ru] - STARTTLS negotiation failed. Closing connection (without sending any data such as <failure/> or </stream>).

      2017.07.27 09:41:48 org.jivesoftware.openfire.spi.RoutingTableImpl - Will not route: Remote domain vjud.server is not accessible according to our configuration (typical causes: server federation is disabled, or domain is blacklisted).
      2017.07.27 09:41:55 org.jivesoftware.openfire.spi.RoutingTableImpl - Will not route: Remote domain jud.server is not accessible according to our configuration (typical causes: server federation is disabled, or domain is blacklisted).
      2017.07.27 09:41:55 org.jivesoftware.openfire.spi.RoutingTableImpl - Will not route: Remote domain users.server is not accessible according to our configuration (typical causes: server federation is disabled, or domain is blacklisted).
      2017.07.27 09:43:36 org.jivesoftware.openfire.spi.RoutingTableImpl - Will not route: Remote domain proxy.eu.jabber.org is not accessible according to our configuration (typical causes: server federation is disabled, or domain is blacklisted).

       

      3. Periodically fall off / disappear customers in the roster.

      Warn.log is clogged with errors like:

       

      2017.07.31 16:02:40 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00001269: nio socket, server, null => 0.0.0.0/0.0.0.0:5222)
      org.apache.mina.core.write.WriteToClosedSessionException
          at org.apache.mina.core.polling.AbstractPollingIoProcessor.clearWriteRequestQueue( AbstractPollingIoProcessor.java:638)
          at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(AbstractPolli ngIoProcessor.java:599)
          at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(Abstract PollingIoProcessor.java:560)
          at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPoll ingIoProcessor.java:67)
          at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractP ollingIoProcessor.java:1132)
          at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)
      2017.07.31 16:04:04 org.jivesoftware.openfire.net.SocketReader - Closing session due to incorrect hostname in stream header. Host: server. Connection: org.jivesoftware.openfire.net.SocketConnection@728f01 socket: Socket[addr=/172.16.1.94,port=53746,localport=5269] session: null
      2017.07.31 16:04:04 org.jivesoftware.openfire.net.SocketReader - Closing session due to incorrect hostname in stream header. Host: server. Connection: org.jivesoftware.openfire.net.SocketConnection@1cd8eef socket: Socket[addr=/172.16.1.94,port=53747,localport=5269] session: null
      2017.07.31 16:04:04 org.jivesoftware.openfire.server.ServerDialback[Acting as Originating Server: Create Outgoing Session from: server.нашдомен.ru to RS at: server (port: 5269)] - Unable to create a new outgoing session
      2017.07.31 16:04:04 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Create outgoing session for: server.нашдомен.ru to server] - Unable to create a new session: Dialback (as a fallback) failed.
      2017.07.31 16:04:04 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Authenticate local domain: 'server.нашдомен.ru' to remote domain: 'server'] - Unable to authenticate: Fail to create new session.
      2017.07.31 16:05:01 org.jivesoftware.openfire.net.SocketUtil - Unable to create a socket connection to XMPP domain 'proxy.eu.jabber.org' using remote host: proxy.eu.jabber.org:5269. Cause: proxy.eu.jabber.org (a full stacktrace is logged on debug level)
      2017.07.31 16:05:01 org.jivesoftware.openfire.net.SocketUtil - Unable to create a socket connection to XMPP domain 'proxy.eu.jabber.org': Unable to connect to any of its remote hosts.
      2017.07.31 16:05:01 org.jivesoftware.openfire.session.LocalOutgoingServerSession[Authenticate local domain: 'server.нашдомен.ru' to remote domain: 'proxy.eu.jabber.org'] - Unable to authenticate: Fail to create new session.
      2017.07.31 16:10:40 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00001A9A: nio socket, server, /172.16.1.57:60599 => 0.0.0.0/0.0.0.0:5222)


      2017.07.31 16:38:35 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x00001709: nio socket, server, /172.16.1.159:1182 => 0.0.0.0/0.0.0.0:5222)
      java.io.IOException: Удаленный хост принудительно разорвал существующее подключение
          at sun.nio.ch.SocketDispatcher.read0(Native Method)
          at sun.nio.ch.SocketDispatcher.read(Unknown Source)
          at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
          at sun.nio.ch.IOUtil.read(Unknown Source)
          at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
          at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:273)
          at org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:44)
          at org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoP rocessor.java:690)
          at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPolling IoProcessor.java:664)
          at org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPolling IoProcessor.java:653)
          at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$600(AbstractPoll ingIoProcessor.java:67)
          at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractP ollingIoProcessor.java:1124)
          at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
          at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)

       

      4. The search for people on the roster does not work.