A client install of openfire failed recently, so I was going to simply update to the new version on a fresh ubuntu 12.04 VM.
I've installed openjdk-6-jre (I thought openjdk-7-jre was supossed to be supported, but the installer fails out saying that I don't have the proper version of java if 7 is installed):
hrcadmin@hrc-chat:~$ java -version
java version "1.6.0_30"
OpenJDK Runtime Environment (IcedTea6 1.13.1) (6b30-1.13.1-1ubuntu2~0.12.04.1)
OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode)
Here's what I get from dpkg -i :
hrcadmin@hrc-chat:~$ sudo dpkg -i openfire_3.9.1_all.deb
Selecting previously unselected package openfire.
(Reading database ... 108285 files and directories currently installed.)
Unpacking openfire (from openfire_3.9.1_all.deb) ...
Setting up openfire (3.9.1) ...
adduser: Warning: The home directory `/var/lib/openfire' does not belong to the user you are currently creating.
invoke-rc.d: initscript openfire, action "start" failed.
dpkg: error processing openfire (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead ...
Errors were encountered while processing:
openfire
If I chown -R openfire:openfire /var/lib/openfire then rerun dpkg I get:
hrcadmin@hrc-chat:~$ sudo dpkg -i openfire_3.9.1_all.deb
(Reading database ... 108664 files and directories currently installed.)
Preparing to replace openfire 3.9.1 (using openfire_3.9.1_all.deb) ...
invoke-rc.d: initscript openfire, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
invoke-rc.d: initscript openfire, action "stop" failed.
dpkg: error processing openfire_3.9.1_all.deb (--install):
subprocess new pre-removal script returned error exit status 1
invoke-rc.d: initscript openfire, action "start" failed.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openfire_3.9.1_all.deb
I'm at a loss here. I really love this project, but I'm completely stuck here.
Thanks.Peet