I''m having trouble getting Openfire to run on a Slackware VPS.
I''m new to Slackware (and linux in general, for the most part) but here''s the score so far:
I created a user "jive" and added it to the group "jive" and gave it the home directory /opt/openfire.
I downloaded and unzipped Java from Java''s website. Trying to run openfire as "jive" with ''/opt/openfire start'' returns
-
No suitable Java Virtual Machine could be found on your system.
The version of the JVM must be at least 1.5.
Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.
You can also try to delete the JVM cache file /opt/openfire/.install4j
-
How do I tell what Java''s home directory is? As I didn''t know, I ran a few searches on the forum for people having similar problems, and someone suggested trying this from /opt/openfire/lib/:
-
java -server -jar /opt/openfire/lib/startup.jar
-
returns
-
.........
Admin console listening at http://127.0.0.1:9090
Openfire 3.3.1 May 14, 2007 5:37:27 PM
-
which looks like a successful start up.
However, as I only have console access to this box, it would be much nicer to configure it remotely via HTTP, and trying to connect to http://<VPSIP>:9090 doesn''t connect to the admin panel. In fact,
-
netstat -an|grep 9090
-
returns nothing.
Any ideas?
2007.05.15 16:49:21 org.jivesoftware.openfire.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.(Unknown Source)
at sun.nio.ch.EPollSelectorImpl.
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.openfire.container.AdminConsolePlugin.startup(AdminConsolePlug in.java:140)
at org.jivesoftware.openfire.container.AdminConsolePlugin.initializePlugin(AdminCo nsolePlugin.java:175)
at org.jivesoftware.openfire.container.PluginManager.loadPlugin(PluginManager.java :404)
at org.jivesoftware.openfire.container.PluginManager.access$200(PluginManager.java :46)
at org.jivesoftware.openfire.container.PluginManager$PluginMonitor.run(PluginManag er.java:916)
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)
jive@Jabber:~/openfire/logs$ java -version
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
-
I reinstalled java - properly, this time - and now bin/openfire start starts it fine, but I get the same error in error.log. java.io.IOException: Function not implemented.
Hi,
take a look at http://www.squid-cache.org/mail-archive/squid-users/200608/index.html#282 and http://www.squid-cache.org/mail-archive/squid-users/200608/0296.html - "Sounds to me that you have no support for epoll in your kernel ... unimplemented syscall, so your kernel does not have support for this syscall while your libc do"
LG