powered by Jive Software

Small warning when installing the 3.6.4 debian

root@forum1:~# dpkg -i openfire_3.6.4_all.deb

Selecting previously deselected package openfire.

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

Unpacking openfire (from openfire_3.6.4_all.deb) …

Setting up openfire (3.6.4) …

adduser: Warning: The home directory `/var/lib/openfire’ does not belong to the user you are currently creating.

Starting openfire: openfire.

doesn’t seem to be a big deal as /var/lib/openfire gets owned by the openfire user in the end.

I have the same error as @latchkey. This error appears when installing OpenFire 3.6.4 on Debian Lenny 5 :

ServerOne:/home/anzar# dpkg -i openfire_3.6.4_all.deb
Selecting previously deselected package openfire.
(Reading database … 55285 files and directories currently installed.)
Unpacking openfire (from openfire_3.6.4_all.deb) …
Setting up openfire (3.6.4) …
adduser: Warning: The home directory `/var/lib/openfire’ does not belong to the user you are currently creating.
update-rc.d: warning: /etc/init.d/openfire missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>

Starting openfire: openfire.

ServerOne:/home/anzar#

To solve half of the problem, I found a solution on this link (please read the comments too )

It is a patch to get rid of the message : warning: /etc/init.d/openfire missing LSB information

But I don’t know how to solve the problem of rights : “adduser: Warning: The home directory `/var/lib/openfire’ does not belong to the user you are currently creating.

May be i have to make /var/lib/openfire belonging to the user openfire ?

Any suggestion will be welcome

chown -R openfire.openfire /directory/name

that should change the owner ship to the openfire user and group recursivley

I have the same warning in Ubuntu 9.10 Server, so I apply the patch and change the permission in directory with chown, with this work for me!