/etc/init.d/openfire Issues

i have this issues when run “/etc/init.d/openfire” under debian 5

im-ec:/usr/src# /etc/init.d/openfire The directory /etc/lib does not exist.
im-ec:/usr/src#
im-ec:/usr/src# /etc/init.d/openfire status
The directory /etc/lib does not exist.
im-ec:/usr/src#
im-ec:/usr/src# /etc/init.d/openfire start
The directory /etc/lib does not exist.
im-ec:/usr/src#im-ec:/usr/src# /etc/init.d/openfire stop
The directory /etc/lib does not exist.
im-ec:/usr/src#

any idea ? i try out make /etc/init.d/openfore “Start at boot time” and when execute i get that´s msg

but when execute open from /opt/lampp/htdocs/openfire/bin/ everything ist fine

this ist /etc/init.d/openfire http://pastie.org/968412

Thanks