Hi, I am a novice XMPP developer who try to install and configure an Openfire server in a Debian distribution. I have installed it following this process:
**$**wget http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3.6.2_a ll.deb --output-document=openfire_3.6.2_all.deb
–09:29:32-- http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3.6.2_a ll.deb
=> `openfire_3.6.2_all.deb’
Resolving www.igniterealtime.org… 63.246.20.125
Connecting to www.igniterealtime.org|63.246.20.125|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 11,641,798 (11M) [application/octet-stream]
100%[====================================>] 11,641,798 739.80K/s ETA 00:00
09:29:49 (659.55 KB/s) - `openfire_3.6.2_all.deb’ saved [11641798/11641798]
$dpkg -i openfire_3.6.2_all.deb
Selecting previously deselected package openfire.
(Reading database … 37494 files and directories currently installed.)
Unpacking openfire (from openfire_3.6.2_all.deb) …
Setting up openfire (3.6.2) …
Starting openfire: openfire.
However, it doesn’t work. I think that it is a problem related with JVM, because of this:
$ java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
$ /etc/init.d/openfire stop
Stopping openfire: openfire.
$ java -version
java version "1.6.0_10"
Java™ SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot™ Client VM (build 11.0-b15, mixed mode)
I have found this document in the fourm, but I don’t found the bin/openfire document.These are the Openfire configuration files in the server:
$ apt-cache show openfire
Package: openfire
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 14228
Maintainer: Jive Software webmaster@jivesoftware.com
Architecture: all
Version: 3.6.2
Pre-Depends: sun-java5-jre | sun-java6-jre
Conffiles:
/etc/openfire/openfire.xml 7007ba8be6e6f127372e8075f13c179f
/etc/openfire/security/keystore d3466713ffcfb3d44dfd82ff0c10c514
/etc/openfire/security/truststore 9b470f3455839329c1a5c60d9df5c89c
/etc/openfire/security/client.truststore d3466713ffcfb3d44dfd82ff0c10c514
/etc/default/openfire 52e97268baf45bade1f2ee6591365f1c
/etc/init.d/openfire 5426f46d360d76f9c93f6badb0ed2295
/etc/openfire/openfire.xml 7007ba8be6e6f127372e8075f13c179f
/etc/openfire/security/keystore d3466713ffcfb3d44dfd82ff0c10c514
/etc/openfire/security/client.truststore d3466713ffcfb3d44dfd82ff0c10c514
/etc/openfire/security/truststore 9b470f3455839329c1a5c60d9df5c89c
/etc/sysconfig/openfire c20ea0586669faf6c0eb2d9f551abedb obsolete
Description: A high performance XMPP (Jabber) server.
Openfire is an instant messaging server that implements the XMPP
(Jabber) protocol. It features high performance, a robust
administration console, and a full plugin system. The server
is 100% Java.
Openfire is a professional Open Source project, led by Jive Software.
I have checked that admininstration console ports are rigth in /etc/openfire/openfire.xml
9090 9091and I have also changed some JVM parameters in /etc/sysconfig/openfire unsuccessfully.
If you wish to set any specific options to pass to the JVM, you can
set them with the following variable.
OPENFIRE_OPTS=" -Xmx1024m" <- Change Xmx, Xms and another parameters specified in this document.
Does anybody know what could be wrong?
Thanks in advance