Hi,
my openfire server need a restart every day. If i doesnt restart it, nobody can login or registrate on the server.
My System:
Raspberry Pi, raspbian
no other Apps installed
dynamic dns active and available
Hi,
my openfire server need a restart every day. If i doesnt restart it, nobody can login or registrate on the server.
My System:
Raspberry Pi, raspbian
no other Apps installed
dynamic dns active and available
I would guess that you are running out of resources. Check your errors log. Are the outofmemory errors? You can try giving Java virtual machine more memory Openfire: Installation Guide (Custom Parameters part).
I cannot find this part on my machine: Advanced users may wish to pass in parameters to the Java virtual machine (VM) to customize the runtime environment of Openfire. If you installed via RPM, you can customize this by editing /etc/sysconfig/openfire and looking at the OPENFIRE_OPTS option. If you installed via .tar.gz, you will need to tweak your startup script to fit your needs.
I got a newstart in 13:10-13:12 o clock.
Here are my Logs:
Info.log
2015.10.01 13:10:33 org.jivesoftware.openfire.XMPPServer - Shutting down 51 modules …
2015.10.01 13:10:34 org.jivesoftware.openfire.pubsub.PubSubPersistenceManager - Flushing write cache to database
2015.10.01 13:10:57 org.jivesoftware.openfire.XMPPServer - Registering shutdown hook (standalone mode)
2015.10.01 13:11:08 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Servers Cache
2015.10.01 13:11:08 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Components Cache
2015.10.01 13:11:08 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing Users Cache
2015.10.01 13:11:08 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing AnonymousUsers Cache
2015.10.01 13:11:08 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Routing User Sessions
2015.10.01 13:11:08 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Roster
2015.10.01 13:11:08 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Multicast Service
2015.10.01 13:11:08 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Message Size
2015.10.01 13:11:08 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for VCard
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Privacy Lists
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer Cache
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Clearspace SSO Nonce
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Offline Presence Cache
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Last Activity Cache
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for User
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Users Existence
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Components Sessions
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Connection Managers Sessions
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Incoming Server Sessions
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Sessions by Hostname
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Validated Domains
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Client Session Info Cache
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Entity Capabilities Users
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Directed Presences
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created local-only cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for PEPServiceManager
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for File Transfer
2015.10.01 13:11:10 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Published Items
2015.10.01 13:11:11 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Features
2015.10.01 13:11:11 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Disco Server Items
2015.10.01 13:11:11 org.jivesoftware.openfire.pubsub.PubSubModule - Publish-Subscribe domain: pubsub.cc-messenger
2015.10.01 13:11:11 org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl - Mehrbenutzerchat Domain domain: kommunikationshub.cc-messenger
2015.10.01 13:11:12 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group
2015.10.01 13:11:12 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Group Metadata Cache
2015.10.01 13:11:14 org.jivesoftware.openfire.XMPPServer - Openfire 3.10.2 [01.10.2015 14:11:14]
2015.10.01 13:11:20 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Misses
2015.10.01 13:11:20 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Favicon Hits
2015.10.01 13:11:20 org.jivesoftware.openfire.container.AdminConsolePlugin - Adminkonsole lauscht auf:
(adresses)
2015.10.01 13:11:25 org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - OfMeet Plugin - Initialize jitsi videobridge
2015.10.01 13:11:25 org.jitsi.videobridge.openfire.PluginImpl - PluginImpl initializePlugin /usr/share/openfire/plugins/ofmeet
2015.10.01 13:11:25 org.jitsi.videobridge.openfire.PluginImpl - Native lib folder already exist.
2015.10.01 13:11:31 org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - OfMeet Plugin - Initialize SIP gateway
2015.10.01 13:11:31 org.jitsi.jigasi.openfire.JigasiPlugin - JigasiPlugin - initializePlugin
2015.10.01 13:11:31 org.jitsi.jigasi.openfire.JigasiPlugin - CallControlComponent /usr/share/openfire/plugins/ofmeet
2015.10.01 13:11:31 org.jitsi.jigasi.openfire.JigasiPlugin - CallControlComponent -enabling SIP gateway
2015.10.01 13:11:32 org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - OfMeet Plugin - Initialize jitsi conference focus
2015.10.01 13:11:32 org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - OfMeet Plugin - Initialize websockets
2015.10.01 13:11:32 org.jivesoftware.openfire.plugin.ofmeet.OfMeetPlugin - OfMeet Plugin - Initialize security
2015.10.01 13:11:33 org.jivesoftware.openfire.spi.ConnectionManagerImpl - Plain-Instanz (unverschlüsselt) auf Port 5222 gestartet
2015.10.01 13:11:33 org.jivesoftware.openfire.spi.ConnectionManagerImpl - SSL Socket (verschlüsselt) auf Port 5223 gestartet
2015.10.01 13:11:33 org.jivesoftware.openfire.http.HttpBindManager - Installed response compression filter
2015.10.01 13:11:34 org.jivesoftware.openfire.http.HttpBindManager - HTTP bind service started
2015.10.01 13:11:37 org.jitsi.jicofo.openfire.JicofoPlugin - JicofoPlugin - initializePlugin
2015.10.01 13:11:37 org.jitsi.jicofo.openfire.JicofoPlugin - JicofoPlugin - using focus focus@cc-messenger:127.0.1.1
2015.10.01 13:11:38 org.jitsi.videobridge.log.OpenfireEventService - Initialized OpenfireEventService
2015.10.01 13:11:38 org.jitsi.jicofo.openfire.FocusComponent - Focus Manager init
2015.10.01 13:11:39 XMPPConnection - OpenfirePacketReader init
2015.10.01 13:11:39 XMPPConnection - OpenfirePacketReader startup
2015.10.01 13:11:39 XMPPConnection - OpenfirePacketWriter startKeepAliveProcess
2015.10.01 13:11:39 XMPPConnection - XMPPConnection login
2015.10.01 13:11:39 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Locked Out Accounts
2015.10.01 13:12:01 org.jivesoftware.util.cache.CacheFactory - Created cache [org.jivesoftware.util.cache.DefaultLocalCacheStrategy] for Remote Server Configurations
warn.log
2015.10.01 13:11:25 org.jivesoftware.openfire.http.HttpSessionManager - HttpSessionManager.init() recreate sendPacketPool
2015.10.01 16:22:00 org.jivesoftware.openfire.nio.ConnectionHandler - Closing connection due to exception in session: (0x0000000A: nio socket, server, null => 0.0.0.0/0.0.0.0:5222)
java.io.IOException: Die Verbindung wurde vom Kommunikationspartner zurückgesetzt
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
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(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Error.log
2015.10.01 13:10:33 org.jivesoftware.openfire.group.AbstractGroupProvider - Couldn’t perform the operation prepareStatement: You can’t perform any operations on this connection. It has been automatically closed by Proxool for some reaso$
java.sql.SQLException: Couldn’t perform the operation prepareStatement: You can’t perform any operations on this connection. It has been automatically closed by Proxool for some reason (see logs).
2015.10.01 13:10:34 org.jivesoftware.openfire.nio.NIOConnection - Failed to deliver packet: <x xmlns="http:$
2015.10.01 13:10:34 org.jivesoftware.openfire.session.LocalSession - Interner Serverfehler
java.lang.IllegalStateException: Connection closed
2015.10.01 13:10:34 org.jivesoftware.openfire.nio.NIOConnection - Failed to deliver packet: <x xmlns="http:$
2015.10.01 13:10:34 org.jivesoftware.openfire.session.LocalSession - Interner Serverfehler
java.lang.IllegalStateException: Connection closed
at org.jivesoftware.openfire.nio.NIOConnection.deliver(NIOConnection.java:316)
at org.jivesoftware.openfire.session.LocalClientSession.deliver(LocalClientSession .java:857)
at org.jivesoftware.openfire.session.LocalSession.process(LocalSession.java:289)
at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToLocalDomain(RoutingTableI mpl.java:354)
at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:239)
at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:170)
at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:84)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:84)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:65)
at org.jivesoftware.openfire.muc.spi.LocalMUCRole.send(LocalMUCRole.java:266)
at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.broadcast(LocalMUCRoom.java:1153 )
at org.jivesoftware.openfire.muc.cluster.BroadcastPresenceRequest$1.run(BroadcastP resenceRequest.java:71)
at org.jivesoftware.openfire.muc.cluster.MUCRoomTask.execute(MUCRoomTask.java:85)
at org.jivesoftware.openfire.muc.cluster.BroadcastPresenceRequest.run(BroadcastPre senceRequest.java:69)
at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.broadcastPresence(LocalMUCRoom.j ava:1106)
at org.jivesoftware.openfire.muc.spi.LocalMUCRoom.leaveRoom(LocalMUCRoom.java:826)
at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:552)
at org.jivesoftware.openfire.muc.spi.LocalMUCUser.process(LocalMUCUser.java:197)
at org.jivesoftware.openfire.muc.spi.MultiUserChatServiceImpl.processPacket(MultiU serChatServiceImpl.java:331)
at org.jivesoftware.openfire.component.InternalComponentManager$RoutableComponents .process(InternalComponentManager.java:591)
at org.jivesoftware.openfire.spi.RoutingTableImpl.routeToComponent(RoutingTableImp l.java:401)
at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:243)
at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:170)
at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:84)
at org.jivesoftware.openfire.handler.PresenceUpdateHandler.broadcastUnavailableFor DirectedPresences(PresenceUpdateHandler.java:489)
at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:163)
at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:137)
at org.jivesoftware.openfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:201)
at org.jivesoftware.openfire.PresenceRouter.handle(PresenceRouter.java:148)
at org.jivesoftware.openfire.PresenceRouter.route(PresenceRouter.java:84)
at org.jivesoftware.openfire.spi.PacketRouterImpl.route(PacketRouterImpl.java:84)
at org.jivesoftware.openfire.SessionManager$ClientSessionListener.onConnectionClos e(SessionManager.java:1242)
at org.jivesoftware.openfire.nio.NIOConnection.notifyCloseListeners(NIOConnection. java:292)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:275)
at org.jivesoftware.openfire.nio.NIOConnection.close(NIOConnection.java:224)
at org.jivesoftware.openfire.nio.NIOConnection.systemShutdown(NIOConnection.java:2 82)
at org.jivesoftware.openfire.spi.LocalRoutingTable.stop(LocalRoutingTable.java:146 )
at org.jivesoftware.openfire.spi.RoutingTableImpl.stop(RoutingTableImpl.java:953)
at org.jivesoftware.openfire.XMPPServer.shutdownServer(XMPPServer.java:995)
at org.jivesoftware.openfire.XMPPServer.access$800(XMPPServer.java:148)
at org.jivesoftware.openfire.XMPPServer$ShutdownHookThread.run(XMPPServer.java:941 )