This thread is archived
8 Replies Last post: Jul 6, 2007 10:59 AM by Bgs  
Nepenthe   4 posts since
May 14, 2007
Currently Being Moderated

May 14, 2007 6:49 PM

Slackware VPS

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?

 

Sabine Dinis Blochberger Gold 285 posts since
Oct 21, 2005
Currently Being Moderated
May 15, 2007 3:34 AM in response to: Nepenthe
Re: Slackware VPS

If  "java -version" works, try "which java" to see the path and put that in the script. For example, mine reads "JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/jre" (Debian).

 

If the server started and exited right after (what it looks like in your case), check the log files.

LG KeyContributor 4,984 posts since
Dec 13, 2005
Currently Being Moderated
May 16, 2007 4:02 PM in response to: Nepenthe
Re: Slackware VPS

Hi,

 

what''s the output of "java -version"? If it''s not a Sun JRE you may encounter some problems.

 

LG

LG KeyContributor 4,984 posts since
Dec 13, 2005
Currently Being Moderated
May 17, 2007 7:21 AM in response to: Nepenthe
Re: Slackware VPS

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

LG KeyContributor 4,984 posts since
Dec 13, 2005
Currently Being Moderated
May 18, 2007 2:19 PM in response to: Nepenthe
Re: Slackware VPS

Hi,

 

also I have no idea how to fix it.

A Slackware mailing list or  forum may be the much better place to ask this question.

 

LG

Bgs   1 posts since
Jul 6, 2007
Currently Being Moderated
Jul 6, 2007 10:59 AM in response to: LG
Re: Slackware VPS

Same error here. Got epoll in kernel, other software is using it.

 

Any other idea?

More Like This

  • Retrieving data ...