powered by Jive Software

Can´t upgrade from 3.1.1 to 3.2 - vps or epoll problem

Hi,

I´m trying to upgrade my wildfire 3.1.1 to the last version, as such, following instrucions I´ve tried to upgrade to 3.2 version first. After this I´ve tried to upgrade to 3.2.4 and a fresh install to 3.3.2. All without sucess and the same errors that after reading the forums and googled a lot I suspect it´s a problem with my red hat vps and use of ‘epoll’ in the last opendfire implementations.

Please check my logs, and check if my suspects are right…

from error.log

2007.09.02 15:13:05 org.jivesoftware.wildfire.spi.ConnectionManagerImpl.startClientListeners(Connect ionManagerImpl.java:270) Could not setup a server socket

java.io.IOException: Function not implemented

at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)

at sun.nio.ch.EPollArrayWrapper.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)

at java.nio.channels.Selector.open(Unknown Source)

at org.apache.mina.transport.socket.nio.SocketAcceptor.startupWorker(SocketAccepto r.java:159)

at org.apache.mina.transport.socket.nio.SocketAcceptor.bind(SocketAcceptor.java:13 4)

at org.apache.mina.common.support.BaseIoAcceptor.bind(BaseIoAcceptor.java:43)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.startClientListeners(Connec tionManagerImpl.java:258)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.createSocket(ConnectionMana gerImpl.java:102)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.start(ConnectionManagerImpl .java:705)

at org.jivesoftware.wildfire.XMPPServer.startModules(XMPPServer.java:532)

at org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:400)

at org.jivesoftware.wildfire.XMPPServer.<init>(XMPPServer.java:148)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:93)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

2007.09.02 15:13:06 org.jivesoftware.wildfire.http.HttpBindManager.start(HttpBindManager.java:94) Error starting HTTP bind service

java.io.IOException: Function not implemented

at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)

at sun.nio.ch.EPollArrayWrapper.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)

at java.nio.channels.Selector.open(Unknown Source)

at org.mortbay.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java: 205)

at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:113)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.jav a:232)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.Server.doStart(Server.java:221)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.jivesoftware.wildfire.http.HttpBindManager.start(HttpBindManager.java:91)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.startHTTPBindListeners(Conn ectionManagerImpl.java:415)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.createSocket(ConnectionMana gerImpl.java:106)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.start(ConnectionManagerImpl .java:705)

at org.jivesoftware.wildfire.XMPPServer.startModules(XMPPServer.java:532)

at org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:400)

at org.jivesoftware.wildfire.XMPPServer.<init>(XMPPServer.java:148)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:93)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

2007.09.02 15:13:07 org.jivesoftware.wildfire.container.AdminConsolePlugin.startup(AdminConsolePlugi n.java:143) Could not start admin conosle server

java.io.IOException: Function not implemented

at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)

at sun.nio.ch.EPollArrayWrapper.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)

at java.nio.channels.Selector.open(Unknown Source)

at org.mortbay.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java: 205)

at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:113)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.jav a:232)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.Server.doStart(Server.java:221)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.jivesoftware.wildfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:140)

at org.jivesoftware.wildfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:175)

at org.jivesoftware.wildfire.container.PluginManager.loadPlugin(PluginManager.java :404)

at org.jivesoftware.wildfire.container.PluginManager.access$200(PluginManager.java :46)

at org.jivesoftware.wildfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:920)

at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)

at java.util.concurrent.FutureTask.runAndReset(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101 (Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodi c(Unknown Source)

at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknow n Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

from warn.log

2007.09.02 15:13:06 failed org.mortbay.jetty.nio.SelectChannelConnector$1@159d510

java.io.IOException: Function not implemented

at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)

at sun.nio.ch.EPollArrayWrapper.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)

at java.nio.channels.Selector.open(Unknown Source)

at org.mortbay.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java: 205)

at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:113)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.jav a:232)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.Server.doStart(Server.java:221)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.jivesoftware.wildfire.http.HttpBindManager.start(HttpBindManager.java:91)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.startHTTPBindListeners(Conn ectionManagerImpl.java:415)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.createSocket(ConnectionMana gerImpl.java:106)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.start(ConnectionManagerImpl .java:705)

at org.jivesoftware.wildfire.XMPPServer.startModules(XMPPServer.java:532)

at org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:400)

at org.jivesoftware.wildfire.XMPPServer.<init>(XMPPServer.java:148)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:93)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

2007.09.02 15:13:06 failed SelectChannelConnector @ 0.0.0.0:8080

java.io.IOException: Function not implemented

at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)

at sun.nio.ch.EPollArrayWrapper.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)

at java.nio.channels.Selector.open(Unknown Source)

at org.mortbay.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java: 205)

at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:113)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.jav a:232)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.Server.doStart(Server.java:221)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.jivesoftware.wildfire.http.HttpBindManager.start(HttpBindManager.java:91)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.startHTTPBindListeners(Conn ectionManagerImpl.java:415)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.createSocket(ConnectionMana gerImpl.java:106)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.start(ConnectionManagerImpl .java:705)

at org.jivesoftware.wildfire.XMPPServer.startModules(XMPPServer.java:532)

at org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:400)

at org.jivesoftware.wildfire.XMPPServer.<init>(XMPPServer.java:148)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:93)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

2007.09.02 15:13:06 failed Server@b31b77

java.io.IOException: Function not implemented

at sun.nio.ch.EPollArrayWrapper.epollCreate(Native Method)

at sun.nio.ch.EPollArrayWrapper.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorImpl.<init>(Unknown Source)

at sun.nio.ch.EPollSelectorProvider.openSelector(Unknown Source)

at java.nio.channels.Selector.open(Unknown Source)

at org.mortbay.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java: 205)

at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:113)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.jav a:232)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.mortbay.jetty.Server.doStart(Server.java:221)

at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)

at org.jivesoftware.wildfire.http.HttpBindManager.start(HttpBindManager.java:91)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.startHTTPBindListeners(Conn ectionManagerImpl.java:415)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.createSocket(ConnectionMana gerImpl.java:106)

at org.jivesoftware.wildfire.spi.ConnectionManagerImpl.start(ConnectionManagerImpl .java:705)

at org.jivesoftware.wildfire.XMPPServer.startModules(XMPPServer.java:532)

at org.jivesoftware.wildfire.XMPPServer.start(XMPPServer.java:400)

at org.jivesoftware.wildfire.XMPPServer.<init>(XMPPServer.java:148)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at org.jivesoftware.wildfire.starter.ServerStarter.start(ServerStarter.java:93)

at org.jivesoftware.wildfire.starter.ServerStarter.main(ServerStarter.java:49)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.Launcher.main(Unknown Source)

Thanks

I´ve checked and my kernell is 2.6.9-023stab044.4-enterprise

That I know epoll is supported from 2.6, but since this is a VPS…

Anyway I can check epoll support in this kernel ?

Thanks

Accordingly support from my VPS epoll is on my kernell

grep epoll

System.map-2.6.9-023stab044.4-enterprise

021ac8c0 T

sys_epoll_create

021ac930 T sys_epoll_ctl

021acb20 T

sys_epoll_wait

0256b1f0 r __ksymtab_sys_epoll_create

025734bb r

__kstrtab_sys_epoll_create

-bash-2.05b# nm -D /lib/libc.so.6 | grep

epoll

000d4f68 W epoll_create

000d4f68 W epoll_ctl

000d4f68 W

epoll_wait

So…Anybody knows why I´m getting this errors and can not start openfire or wildifre 3.2 ?

Thanks

Please I need some help so I can upgrade my wildfire. I have epoll support like I´ve it´s stated, but that problem happens.

I think this is a problem that interest developers because many people run openfire on vps…if this is a vps problema after all…

Please developers help…:frowning:

Hmm, I never saw that error before and cannot find anything in google. Are you using Java 5 or 6_02? Do you have the latest version of your OS and patches applied?

– Gato

When we tried to run Wildfire (3.1.1) on an VPS, it ran out of process resources, so we had to change to a dedicated server setup.

You should contact your VPS provider about the issue. Doesn’t hurt to ask.

Gato - Thanks for your reply, I´ve also googled a lot and didn´t find

anything. The one that got close was this

on the forums here. At the end I thought that it must be a SO problem, but then I´ve find out that my kernell had support for epoll. The SO itself is red hat and old, according to vsp admins and their advice was to migrate to a centOS4 machine…But I can´t tell if this will solve the problem. All I can tell is the problem arise with the upgrade from 3.1.1 to 3.2… From the logs and wildfire changelog I´d bet on the new connections managers…

op3racional - Thanks, but it was plenty of resources and version 3.1.1 is running almost a year from now.

Hola jcorreia,

Wildfire 3.1.1 was not using MINA (NIO library that enables the server to scale a lot more). NIO interacts with epoll when using linux delegating the responsibility of handling all the sockets traffic to the OS. That is basically why Openfire 3.2 fails to run in your OS.

Saludos,

– Gato