OpenFire 3.9.1 installation fails, cannot start daemon, version stuck at 3.8.2

I am having trouble upgrading from OpenFire 3.8.2 to 3.9.1 on Ubuntu 12.04. The installation seems to go well, but then I cannot start the openfire daemon, and the web console loads with version 3.8.2.

The following output occurs when I run the .deb installer:

root@chriscorlett:/tmp# sudo dpkg -i openfire_3.9.1_all.deb

(Reading database … 57013 files and directories currently installed.)

Preparing to replace openfire 3.9.1 (using openfire_3.9.1_all.deb) …

Shutting down openfire

Stopped.

Unpacking replacement openfire …

Setting up openfire (3.9.1) …

Starting openfire

Processing triggers for ureadahead …

nohup: appending output to `nohup.out’

ureadahead will be reprofiled on next reboot

root@chriscorlett:~# /etc/init.d/openfire status

The daemon is stopped.

I bounced the server, then started the openfire daemon again. But the web console still comes up showing that I’m running version 3.8.2. And the daemon never starts (even 12 hours later).

root@chriscorlett:~# /etc/init.d/openfire start

Starting openfire

root@chriscorlett:~# nohup: appending output to `nohup.out’

root@chriscorlett:~# /etc/init.d/openfire status

The daemon is stopped.

Any ideas?

Could you check the log files for anything interesting? They should be in /opt/openfire/logs

daryl

Thanks for responding.

Everything seems normal. Nothing in /opt/openfire/logs, except that stdoutt.log reports that I’m running 3.8.2:

Openfire 3.8.2 [Feb 13, 2014 8:10:35 PM]

Admin console listening at:

http://xxx.xxx.xxx.xxx:9090

https://xxx.xxx.xxx.xxx:9091

dpkg -l openfire reports that openfire 3.9.1 is installed, but the admin console page still comes up with 3.8.2.

/usr/share/openfire/logs/error.log does give messages, but they are several days old:

2014.02.09 12:22:47 org.jivesoftware.openfire.container.AdminConsolePlugin - Cou

ld not start admin conosle server

java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:174)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:77)

at org.eclipse.jetty.server.nio.SelectChannelConnector.open(SelectChanne

lConnector.java:172)

at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.

java:300)

at org.eclipse.jetty.server.nio.SelectChannelConnector.doStart(SelectCha

nnelConnector.java:249)

My java version is: 1.7.0_51

OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.12.04.2)

OpenJDK Client VM (build 24.45-b08, mixed mode, sharing)